Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.112/1.112, allocations: 177.1 MB / 203.8 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8458/0.8458, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.463e-05, allocations: 4.844 kB / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002711/0.002736, allocations: 1.576 MB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003935, allocations: 1.263 MB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.003996, allocations: 4 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.004191, allocations: 22.2 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.004382, allocations: 39.83 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.004531, allocations: 61.3 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004711, allocations: 149.2 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.004832, allocations: 38.59 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.00495, allocations: 100.4 kB / 483.3 MB, free: 3.688 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.005063, allocations: 54 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.005094, allocations: 12 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.144e-05/0.005155, allocations: 20 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.005215, allocations: 51.88 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.005264, allocations: 52.44 kB / 483.5 MB, free: 3.504 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.005468, allocations: 182.5 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00547, allocations: 0 / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005471, allocations: 3.938 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.005475, allocations: 0 / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004436/0.005918, allocations: 391.6 kB / 484 MB, free: 2.922 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005952, allocations: 8.031 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.005999, allocations: 16.92 kB / 484 MB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.006208, allocations: 190.2 kB / 484.2 MB, free: 2.684 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.006331, allocations: 215.4 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.006352, allocations: 8.375 kB / 484.4 MB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.006541, allocations: 188.4 kB / 484.6 MB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.00655, allocations: 4.188 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.006566, allocations: 10.25 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.006593, allocations: 8.609 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.006618, allocations: 12 kB / 484.7 MB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.00709, allocations: 283.4 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.00714, allocations: 27.17 kB / 485 MB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.00716, allocations: 9.703 kB / 485 MB, free: 1.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.007184, allocations: 11.98 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.007206, allocations: 32.22 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.007208, allocations: 0 / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001413/0.007349, allocations: 65.59 kB / 485.1 MB, free: 1.711 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.007374, allocations: 51.41 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.007499, allocations: 183.7 kB / 485.3 MB, free: 1.453 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.007522, allocations: 30.61 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.007574, allocations: 121.9 kB / 485.5 MB, free: 1.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.007592, allocations: 20.8 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.00763, allocations: 33.69 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.007717, allocations: 326.8 kB / 485.8 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.007734, allocations: 13.3 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.007788, allocations: 78.23 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.007885, allocations: 113.8 kB / 486 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.00789, allocations: 7.938 kB / 486 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001164/0.008006, allocations: 95.78 kB / 486.1 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.008021, allocations: 9.719 kB / 486.1 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.008027, allocations: 4.812 kB / 486.1 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.008042, allocations: 4 kB / 486.2 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.008117, allocations: 25.39 kB / 486.2 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.008122, allocations: 4 kB / 486.2 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.008164, allocations: 15.89 kB / 486.2 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.008174, allocations: 7.984 kB / 486.2 MB, free: 480 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/0.008255, allocations: 129.2 kB / 486.3 MB, free: 340 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.00828, allocations: 8.594 kB / 486.3 MB, free: 332 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.008403, allocations: 91.48 kB / 486.4 MB, free: 228 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.008406, allocations: 5.438 kB / 486.4 MB, free: 224 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008408, allocations: 0 / 486.4 MB, free: 224 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008411, allocations: 0 / 486.4 MB, free: 224 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.008535, allocations: 97.84 kB / 486.5 MB, free: 108 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008537, allocations: 0.9375 kB / 486.5 MB, free: 108 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.008567, allocations: 15.98 kB / 486.5 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.008571, allocations: 6.047 kB / 486.6 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.008575, allocations: 0 / 486.6 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.008577, allocations: 3.938 kB / 486.6 MB, free: 84 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008578, allocations: 0.8438 kB / 486.6 MB, free: 84 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.008691, allocations: 155.5 kB / 486.7 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.008709, allocations: 24.36 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.008719, allocations: 0 / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.008814, allocations: 12.53 kB / 486.7 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.008829, allocations: 9.953 kB / 486.8 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.008845, allocations: 7.984 kB / 486.8 MB, free: 15.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.008897, allocations: 63.67 kB / 486.8 MB, free: 15.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008897, allocations: 0 / 486.8 MB, free: 15.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.009088, allocations: 31.94 kB / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.00928, allocations: 101.5 kB / 487 MB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.722e-05/0.009377, allocations: 52.33 kB / 487 MB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.009383, allocations: 4 kB / 487 MB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.0094, allocations: 16.84 kB / 487 MB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.009588, allocations: 27.81 kB / 487.1 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.009984, allocations: 266.4 kB / 487.3 MB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.01003, allocations: 75.86 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.728e-05/0.01012, allocations: 35.19 kB / 487.4 MB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.01032, allocations: 103.2 kB / 487.5 MB, free: 15.06 MB / 458.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01032, allocations: 0 / 487.5 MB, free: 15.06 MB / 458.7 MB Notification: Performance of Templates: time 0.004823/0.01514, allocations: 2.721 MB / 490.2 MB, free: 12.55 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.826717942021787]