Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.001403/0.001403, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001727/0.001727, allocations: 167.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.417/1.417, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.17/1.17, allocations: 154.6 MB / 413.8 MB, free: 5.242 MB / 382.1 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 178] 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.262e-06, allocations: 3.984 kB / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.516e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003178/0.003214, allocations: 1.779 MB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.003502, allocations: 118.4 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.003577, allocations: 3.938 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.421e-05/0.003671, allocations: 17.22 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.308e-05/0.003764, allocations: 53.62 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.003888, allocations: 31.95 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.004125, allocations: 183 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004227, allocations: 21.28 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.004356, allocations: 83.8 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.004466, allocations: 51.89 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.004497, allocations: 8 kB / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.004526, allocations: 12 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.00456, allocations: 23.89 kB / 0.6208 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.004624, allocations: 43.92 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.004809, allocations: 131.6 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.004814, allocations: 4 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004815, allocations: 0 / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.004818, allocations: 0 / 0.621 GB, free: 2.055 MB / 0.5294 GB 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.000767/0.005585, allocations: 385.5 kB / 0.6214 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.005622, allocations: 8.031 kB / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.005668, allocations: 12.89 kB / 0.6214 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.005918, allocations: 158.4 kB / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.005931, allocations: 4.375 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.005952, allocations: 12.31 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.006264, allocations: 126.2 kB / 0.6217 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006274, allocations: 192 / 0.6217 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.00629, allocations: 4.375 kB / 0.6217 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.006296, allocations: 4.375 kB / 0.6217 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.006604, allocations: 91.88 kB / 0.6218 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.007296, allocations: 392.4 kB / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.007686, allocations: 133.2 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.007851, allocations: 53.78 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.00788, allocations: 4 kB / 0.6223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.007906, allocations: 30.56 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.007907, allocations: 0 / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006198/0.008527, allocations: 189.4 kB / 0.6226 GB, free: 348 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.008583, allocations: 85.09 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.008749, allocations: 157.4 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.008769, allocations: 29.7 kB / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.008866, allocations: 108.1 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.008901, allocations: 31.81 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.008954, allocations: 25.7 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.009109, allocations: 318.8 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.009271, allocations: 47.97 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.009424, allocations: 61.62 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.009718, allocations: 97.67 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00972, allocations: 0 / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003818/0.0101, allocations: 157.7 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.01011, allocations: 4 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01012, allocations: 4.062 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01013, allocations: 4 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01029, allocations: 19.98 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01029, allocations: 4 kB / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.01041, allocations: 11.92 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01042, allocations: 4 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 0.0001145/0.01053, allocations: 126.3 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.01059, allocations: 23.84 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.01103, allocations: 150.8 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01103, allocations: 4.188 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01103, allocations: 0 / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01104, allocations: 7.875 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.01128, allocations: 145.2 kB / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01128, allocations: 3.984 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01144, allocations: 27.92 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.01144, allocations: 4.234 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01146, allocations: 4 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01146, allocations: 0 / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01146, allocations: 0 / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.0119, allocations: 306.7 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.01192, allocations: 23.77 kB / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.01195, allocations: 8 kB / 0.6245 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.01214, allocations: 15.92 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.01219, allocations: 4 kB / 0.6245 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.0122, allocations: 7.984 kB / 0.6245 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001098/0.01231, allocations: 124.2 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01231, allocations: 0 / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002825/0.01259, allocations: 24 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001155/0.01271, allocations: 103.2 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.01309, allocations: 95.94 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01309, allocations: 0 / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.01326, allocations: 56.22 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.01367, allocations: 44.06 kB / 0.6249 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.0142, allocations: 234 kB / 0.6252 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01431, allocations: 89.31 kB / 0.6252 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.675e-05/0.01437, allocations: 16.48 kB / 0.6253 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.01443, allocations: 12.5 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.01443, allocations: 0 / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Templates: time 0.005462/0.01989, allocations: 2.11 MB / 0.6273 GB, free: 11.35 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.630734026432037] Failed to read output from testmodel.py, exit status != 0: 0.027974989265203476 0.042957133 0.034803008 Calling exit ...