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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 180 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6867/0.6867, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 403.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 114.8 kB / 484.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 47.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1679, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002975/0.1709, allocations: 1.885 MB / 0.642 GB, free: 4.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.1712, allocations: 123.6 kB / 0.6421 GB, free: 4.777 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1713, allocations: 0 / 0.6421 GB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1715, allocations: 7.922 kB / 0.6421 GB, free: 4.77 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.1716, allocations: 55.55 kB / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.1717, allocations: 31.97 kB / 0.6422 GB, free: 4.684 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1719, allocations: 163.1 kB / 0.6424 GB, free: 4.523 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.172, allocations: 21.12 kB / 0.6424 GB, free: 4.504 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.1721, allocations: 51.84 kB / 0.6424 GB, free: 4.453 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.1722, allocations: 67.69 kB / 0.6425 GB, free: 4.387 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1723, allocations: 7.938 kB / 0.6425 GB, free: 4.379 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.741e-05/0.1723, allocations: 8 kB / 0.6425 GB, free: 4.371 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.1723, allocations: 19.91 kB / 0.6425 GB, free: 4.352 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.1724, allocations: 63.66 kB / 0.6426 GB, free: 4.289 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1725, allocations: 111.9 kB / 0.6427 GB, free: 4.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1726, allocations: 4 kB / 0.6427 GB, free: 4.176 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1726, allocations: 0 / 0.6427 GB, free: 4.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1726, allocations: 0 / 0.6427 GB, free: 4.176 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.0007537/0.1733, allocations: 450.8 kB / 0.6431 GB, free: 3.684 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1734, allocations: 8.031 kB / 0.6431 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1734, allocations: 16.75 kB / 0.6432 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1737, allocations: 204 kB / 0.6433 GB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1737, allocations: 8.375 kB / 0.6434 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1737, allocations: 4.375 kB / 0.6434 GB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.174, allocations: 127.8 kB / 0.6435 GB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.174, allocations: 192 / 0.6435 GB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.174, allocations: 7.938 kB / 0.6435 GB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.174, allocations: 0 / 0.6435 GB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.1743, allocations: 91.92 kB / 0.6436 GB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.175, allocations: 476.6 kB / 0.644 GB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.1754, allocations: 145.1 kB / 0.6442 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1755, allocations: 57.78 kB / 0.6442 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1756, allocations: 0 / 0.6442 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1756, allocations: 38.56 kB / 0.6443 GB, free: 2.387 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.1756, allocations: 0 / 0.6443 GB, free: 2.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005652/0.1762, allocations: 177.5 kB / 0.6444 GB, free: 2.207 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.1763, allocations: 81.05 kB / 0.6445 GB, free: 2.109 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1764, allocations: 175.6 kB / 0.6447 GB, free: 1.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1765, allocations: 29.64 kB / 0.6447 GB, free: 1.895 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.1765, allocations: 116 kB / 0.6448 GB, free: 1.777 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.1766, allocations: 31.55 kB / 0.6448 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.1766, allocations: 25.7 kB / 0.6449 GB, free: 1.715 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1768, allocations: 326.8 kB / 0.6452 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1769, allocations: 43.97 kB / 0.6452 GB, free: 1.344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1771, allocations: 53.94 kB / 0.6453 GB, free: 1.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1774, allocations: 109.7 kB / 0.6454 GB, free: 1.172 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1774, allocations: 4 kB / 0.6454 GB, free: 1.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003723/0.1777, allocations: 141.5 kB / 0.6455 GB, free: 1.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1778, allocations: 4 kB / 0.6455 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1778, allocations: 0 / 0.6455 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1778, allocations: 0 / 0.6455 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.178, allocations: 31.92 kB / 0.6456 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.178, allocations: 0 / 0.6456 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1781, allocations: 11.89 kB / 0.6456 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1781, allocations: 11.94 kB / 0.6456 GB, free: 0.9648 MB / 442.7 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 8.395e-05/0.1782, allocations: 115.8 kB / 0.6457 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.1783, allocations: 15.81 kB / 0.6457 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.1787, allocations: 162.5 kB / 0.6459 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1787, allocations: 0 / 0.6459 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1787, allocations: 0 / 0.6459 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1787, allocations: 0 / 0.6459 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.179, allocations: 225.5 kB / 0.6461 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.179, allocations: 192 / 0.6461 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.1791, allocations: 27.97 kB / 0.6461 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1792, allocations: 0 / 0.6461 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1792, allocations: 8 kB / 0.6461 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1792, allocations: 3.938 kB / 0.6461 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1792, allocations: 3.938 kB / 0.6461 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008094/0.18, allocations: 0.9341 MB / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1801, allocations: 85.02 kB / 0.6471 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1801, allocations: 7.938 kB / 0.6471 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1803, allocations: 7.984 kB / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.1803, allocations: 7.984 kB / 0.6471 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1804, allocations: 4 kB / 0.6471 GB, free: 15.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.187e-05/0.1804, allocations: 127.5 kB / 0.6473 GB, free: 15.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1805, allocations: 4 kB / 0.6473 GB, free: 15.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.1808, allocations: 35.91 kB / 0.6473 GB, free: 15.06 MB / 458.7 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 9.29e-05/0.1809, allocations: 99.19 kB / 0.6474 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.1813, allocations: 99.88 kB / 0.6475 GB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1813, allocations: 0 / 0.6475 GB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1815, allocations: 59.95 kB / 0.6475 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1819, allocations: 34.03 kB / 0.6476 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.1826, allocations: 400 kB / 0.648 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1828, allocations: 0.7087 MB / 0.6486 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.1829, allocations: 12.58 kB / 0.6487 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.183, allocations: 15.44 kB / 0.6487 GB, free: 13.56 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.183, allocations: 4.094 kB / 0.6487 GB, free: 13.56 MB / 458.7 MB Notification: Performance of Templates: time 0.004463/0.1875, allocations: 1.972 MB / 0.6506 GB, free: 11.63 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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)