Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004636/0.004636, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001096/0.001096, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4413/0.4413, allocations: 54.95 MB / 324.9 MB, free: 15.97 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 66.42 kB / 456.2 MB, free: 38.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1593, allocations: 59.59 MB / 0.5037 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.00312/0.1625, allocations: 1.809 MB / 0.5054 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.1628, allocations: 117.8 kB / 0.5056 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.1629, allocations: 1.312 kB / 0.5056 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1631, allocations: 17.17 kB / 0.5056 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.1632, allocations: 49.53 kB / 0.5056 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.1633, allocations: 32.02 kB / 0.5057 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.1636, allocations: 168.1 kB / 0.5058 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1637, allocations: 28.83 kB / 0.5058 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.1638, allocations: 62.06 kB / 0.5059 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1639, allocations: 65.12 kB / 0.506 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.164, allocations: 9.562 kB / 0.506 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.833e-05/0.164, allocations: 8.906 kB / 0.506 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.164, allocations: 22.83 kB / 0.506 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.1641, allocations: 68.28 kB / 0.5061 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1643, allocations: 134.9 kB / 0.5062 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1643, allocations: 0 / 0.5062 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1643, allocations: 1.406 kB / 0.5062 GB, free: 7.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1643, allocations: 0 / 0.5062 GB, free: 7.992 MB / 382.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.0007799/0.1651, allocations: 445.1 kB / 0.5066 GB, free: 7.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1652, allocations: 8.812 kB / 0.5066 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1652, allocations: 19.5 kB / 0.5067 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1655, allocations: 209.4 kB / 0.5068 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1655, allocations: 7.031 kB / 0.5069 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1655, allocations: 9.453 kB / 0.5069 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1658, allocations: 120.9 kB / 0.507 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1658, allocations: 192 / 0.507 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1658, allocations: 9.188 kB / 0.507 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1658, allocations: 1.438 kB / 0.507 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.1661, allocations: 95.98 kB / 0.5071 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.1668, allocations: 485.1 kB / 0.5075 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.1672, allocations: 122.9 kB / 0.5077 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1674, allocations: 58.16 kB / 0.5077 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1674, allocations: 9.312 kB / 0.5077 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1674, allocations: 43.75 kB / 0.5078 GB, free: 6.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1674, allocations: 0 / 0.5078 GB, free: 6.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005512/0.168, allocations: 178 kB / 0.5079 GB, free: 6.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.168, allocations: 86.62 kB / 0.508 GB, free: 6.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1682, allocations: 177.4 kB / 0.5082 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1682, allocations: 25.7 kB / 0.5082 GB, free: 6.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.1683, allocations: 104.1 kB / 0.5083 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1683, allocations: 31.55 kB / 0.5083 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.1684, allocations: 21.72 kB / 0.5084 GB, free: 5.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.1685, allocations: 326.8 kB / 0.5087 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1686, allocations: 40.03 kB / 0.5087 GB, free: 5.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1688, allocations: 65.69 kB / 0.5088 GB, free: 5.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.169, allocations: 105.6 kB / 0.5089 GB, free: 5.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.169, allocations: 0 / 0.5089 GB, free: 5.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002849/0.1693, allocations: 149.4 kB / 0.509 GB, free: 5.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1693, allocations: 4 kB / 0.509 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1694, allocations: 4 kB / 0.509 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1694, allocations: 0 / 0.509 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1695, allocations: 19.98 kB / 0.509 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1695, allocations: 0 / 0.509 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1696, allocations: 19.83 kB / 0.5091 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1697, allocations: 11.94 kB / 0.5091 GB, free: 5.223 MB / 382.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 6.689e-05/0.1697, allocations: 121.8 kB / 0.5092 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.1698, allocations: 11.91 kB / 0.5092 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.1701, allocations: 150.5 kB / 0.5093 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1702, allocations: 4 kB / 0.5094 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1702, allocations: 0 / 0.5094 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1702, allocations: 192 / 0.5094 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1704, allocations: 241.5 kB / 0.5096 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1704, allocations: 0 / 0.5096 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1706, allocations: 23.92 kB / 0.5096 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1706, allocations: 0 / 0.5096 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1706, allocations: 4 kB / 0.5096 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1706, allocations: 4 kB / 0.5096 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1706, allocations: 0 / 0.5096 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.1709, allocations: 310.9 kB / 0.5099 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.171, allocations: 104.8 kB / 0.51 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.171, allocations: 4 kB / 0.51 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1712, allocations: 11.97 kB / 0.51 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.1712, allocations: 8 kB / 0.51 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1712, allocations: 7.938 kB / 0.51 GB, free: 4.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.1713, allocations: 127.2 kB / 0.5102 GB, free: 4.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1713, allocations: 0 / 0.5102 GB, free: 4.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1716, allocations: 28 kB / 0.5102 GB, free: 3.98 MB / 382.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 9.409e-05/0.1717, allocations: 95.25 kB / 0.5103 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.172, allocations: 103.9 kB / 0.5104 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.172, allocations: 0 / 0.5104 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1721, allocations: 59.91 kB / 0.5104 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1726, allocations: 40.33 kB / 0.5105 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.173, allocations: 227.6 kB / 0.5107 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.1732, allocations: 0.7122 MB / 0.5114 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.1732, allocations: 16.59 kB / 0.5114 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1733, allocations: 11.44 kB / 0.5114 GB, free: 2.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1733, allocations: 0 / 0.5114 GB, free: 2.66 MB / 382.1 MB Notification: Performance of Templates: time 0.005378/0.1787, allocations: 2.118 MB / 0.5135 GB, free: 0.5898 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)