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.001067/0.001067, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001271/0.001272, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4494/0.4494, allocations: 55.01 MB / 325.4 MB, free: 0.6953 MB / 254.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.0006494/0.0006496, allocations: 16 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.478, allocations: 60.72 MB / 457.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.001943/0.48, allocations: 1.491 MB / 458.9 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.4804, allocations: 124.2 kB / 459 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.4805, allocations: 2.969 kB / 459 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.4806, allocations: 8.391 kB / 459 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.4807, allocations: 42.05 kB / 459 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.4808, allocations: 27.56 kB / 459.1 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.481, allocations: 156.1 kB / 459.2 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4811, allocations: 23.25 kB / 459.2 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.4812, allocations: 46.38 kB / 459.3 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4813, allocations: 60.98 kB / 459.3 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.4813, allocations: 2.938 kB / 459.3 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.4814, allocations: 5.688 kB / 459.3 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.4814, allocations: 17.64 kB / 459.4 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.4814, allocations: 50.77 kB / 459.4 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.4816, allocations: 82.53 kB / 459.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4816, allocations: 0 / 459.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4816, allocations: 3 kB / 459.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.4816, allocations: 0 / 459.5 MB, free: 38.5 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.0006923/0.4823, allocations: 448.3 kB / 459.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4823, allocations: 9.5 kB / 459.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.4824, allocations: 15.88 kB / 460 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.4826, allocations: 203.7 kB / 460.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4826, allocations: 4.438 kB / 460.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4826, allocations: 9.531 kB / 460.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.4829, allocations: 125 kB / 460.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4829, allocations: 0 / 460.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.483, allocations: 8.109 kB / 460.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.483, allocations: 0 / 460.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.4832, allocations: 111.2 kB / 460.4 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.4838, allocations: 476.6 kB / 460.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.4842, allocations: 141.6 kB / 461 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.4843, allocations: 70.5 kB / 461.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.4844, allocations: 3.188 kB / 461.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.4844, allocations: 35.75 kB / 461.1 MB, free: 37.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.4844, allocations: 0.625 kB / 461.1 MB, free: 37.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005052/0.4849, allocations: 215.5 kB / 461.3 MB, free: 37.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.4849, allocations: 78.02 kB / 461.4 MB, free: 37.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.4851, allocations: 167.6 kB / 461.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.4851, allocations: 30.55 kB / 461.6 MB, free: 37.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.4852, allocations: 104.8 kB / 461.7 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.4852, allocations: 32.53 kB / 461.7 MB, free: 37.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.4852, allocations: 3.375 kB / 461.7 MB, free: 37.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.4853, allocations: 322 kB / 462 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4854, allocations: 50.78 kB / 462.1 MB, free: 36.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.4855, allocations: 69.56 kB / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.4857, allocations: 52.3 kB / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4857, allocations: 0 / 462.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002922/0.486, allocations: 161.9 kB / 462.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.486, allocations: 6.938 kB / 462.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.486, allocations: 0.8125 kB / 462.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.486, allocations: 3.141 kB / 462.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4862, allocations: 28.8 kB / 462.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.4862, allocations: 0 / 462.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4863, allocations: 27.14 kB / 462.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4863, allocations: 0 / 462.4 MB, free: 36.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.4864, allocations: 118.1 kB / 462.6 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.4865, allocations: 23.48 kB / 462.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.4869, allocations: 171.8 kB / 462.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4869, allocations: 2.812 kB / 462.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4869, allocations: 0 / 462.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4869, allocations: 1.312 kB / 462.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4871, allocations: 218.7 kB / 463 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4872, allocations: 0.875 kB / 463 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.4873, allocations: 32.77 kB / 463 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4873, allocations: 3.031 kB / 463 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4873, allocations: 7.906 kB / 463 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4873, allocations: 0 / 463 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4873, allocations: 2.969 kB / 463 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.4877, allocations: 327.2 kB / 463.3 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.4878, allocations: 87.27 kB / 463.4 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.4878, allocations: 5.531 kB / 463.4 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.488, allocations: 26.97 kB / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.488, allocations: 8.484 kB / 463.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.4881, allocations: 2.656 kB / 463.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.123e-05/0.4881, allocations: 121.7 kB / 463.6 MB, free: 35.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4882, allocations: 0 / 463.6 MB, free: 35.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.4884, allocations: 33.91 kB / 463.6 MB, free: 35.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.4886, allocations: 97.44 kB / 463.7 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.4889, allocations: 120.8 kB / 463.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4889, allocations: 0 / 463.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.4891, allocations: 66.55 kB / 463.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.4896, allocations: 39.7 kB / 463.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.4902, allocations: 257.4 kB / 464.2 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.4904, allocations: 0.708 MB / 464.9 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.4905, allocations: 10.66 kB / 464.9 MB, free: 34.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.4905, allocations: 19.31 kB / 464.9 MB, free: 34.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4905, allocations: 0 / 464.9 MB, free: 34.86 MB / 382.1 MB Notification: Performance of Templates: time 0.004386/0.4949, allocations: 1.837 MB / 466.8 MB, free: 34.77 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: