Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 115.5 kB / 17.09 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 193.8 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 65.16 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1503, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002817/0.1532, allocations: 1.808 MB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002999/0.1535, allocations: 123.6 kB / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.1536, allocations: 0 / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1537, allocations: 15.8 kB / 0.6346 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.1538, allocations: 55.55 kB / 0.6346 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.1539, allocations: 31.95 kB / 0.6347 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1542, allocations: 171.1 kB / 0.6348 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1543, allocations: 25.12 kB / 0.6349 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.1544, allocations: 47.84 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1545, allocations: 83.61 kB / 0.635 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1545, allocations: 8 kB / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.1546, allocations: 8 kB / 0.635 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.1546, allocations: 23.92 kB / 0.635 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.1547, allocations: 67.66 kB / 0.6351 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1549, allocations: 127.6 kB / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1549, allocations: 3.938 kB / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1549, allocations: 0 / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1549, allocations: 0 / 0.6352 GB, free: 1.824 MB / 478.1 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.0007787/0.1557, allocations: 446.8 kB / 0.6356 GB, free: 1.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1557, allocations: 12.03 kB / 0.6357 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1558, allocations: 16.83 kB / 0.6357 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.156, allocations: 215.4 kB / 0.6359 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1561, allocations: 4.375 kB / 0.6359 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1561, allocations: 8.375 kB / 0.6359 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.1564, allocations: 115.8 kB / 0.636 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1564, allocations: 4.125 kB / 0.636 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1564, allocations: 19.92 kB / 0.636 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1564, allocations: 0 / 0.636 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.1567, allocations: 87.94 kB / 0.6361 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.1575, allocations: 480.7 kB / 0.6366 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.1578, allocations: 129.2 kB / 0.6367 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.158, allocations: 57.78 kB / 0.6367 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.158, allocations: 4 kB / 0.6367 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.158, allocations: 30.56 kB / 0.6368 GB, free: 44 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1581, allocations: 0 / 0.6368 GB, free: 44 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.000613/0.1587, allocations: 185.3 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1587, allocations: 81.11 kB / 0.637 GB, free: 15.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1589, allocations: 178.9 kB / 0.6372 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1589, allocations: 25.7 kB / 0.6372 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.159, allocations: 108.1 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.159, allocations: 31.55 kB / 0.6374 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.1591, allocations: 21.72 kB / 0.6374 GB, free: 15.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1592, allocations: 326.8 kB / 0.6377 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1594, allocations: 39.97 kB / 0.6377 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1595, allocations: 73.55 kB / 0.6378 GB, free: 14.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.1598, allocations: 97.67 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1598, allocations: 0 / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003473/0.1602, allocations: 149.4 kB / 0.638 GB, free: 14.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1602, allocations: 5.719 kB / 0.638 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1602, allocations: 4 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1602, allocations: 0 / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1604, allocations: 28.28 kB / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1604, allocations: 4 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1605, allocations: 11.89 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1605, allocations: 11.94 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB 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.0001059/0.1606, allocations: 125.8 kB / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.1607, allocations: 11.91 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.1611, allocations: 150.5 kB / 0.6384 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1611, allocations: 4 kB / 0.6384 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1611, allocations: 0 / 0.6384 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1612, allocations: 3.984 kB / 0.6384 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.1614, allocations: 233.5 kB / 0.6386 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1615, allocations: 0 / 0.6386 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1616, allocations: 19.98 kB / 0.6386 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1616, allocations: 0 / 0.6386 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1616, allocations: 0 / 0.6386 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1616, allocations: 4 kB / 0.6386 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1616, allocations: 0 / 0.6386 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.162, allocations: 314.5 kB / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.1621, allocations: 88.92 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1621, allocations: 8 kB / 0.639 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.1623, allocations: 7.984 kB / 0.639 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.1624, allocations: 8.219 kB / 0.639 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1624, allocations: 11.94 kB / 0.639 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.918e-05/0.1625, allocations: 124.2 kB / 0.6392 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1625, allocations: 0 / 0.6392 GB, free: 13.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1628, allocations: 28 kB / 0.6392 GB, free: 13.39 MB / 494.1 MB 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.0001136/0.1629, allocations: 103.2 kB / 0.6393 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.1633, allocations: 112.1 kB / 0.6394 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1634, allocations: 0 / 0.6394 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.1636, allocations: 55.97 kB / 0.6394 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1641, allocations: 40.34 kB / 0.6395 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.1647, allocations: 253.3 kB / 0.6397 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1649, allocations: 0.7084 MB / 0.6404 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.165, allocations: 15.44 kB / 0.6404 GB, free: 12.04 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.165, allocations: 3.938 kB / 0.6404 GB, free: 12.03 MB / 494.1 MB Notification: Performance of Templates: time 0.003327/0.1684, allocations: 1.77 MB / 0.6422 GB, free: 10.29 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)