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.001211/0.001211, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.00147/0.001471, allocations: 177.3 kB / 15.94 MB, free: 228 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.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3745/0.3745, allocations: 54.98 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.000841/0.0008411, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3616, allocations: 60.72 MB / 457.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.001665/0.3633, allocations: 1.438 MB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002648/0.3636, allocations: 135.2 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.3637, allocations: 0 / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.3638, allocations: 10.97 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3639, allocations: 54.75 kB / 458.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.7e-05/0.364, allocations: 28.05 kB / 459 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3642, allocations: 117.8 kB / 459.1 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3643, allocations: 27.89 kB / 459.1 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.3644, allocations: 42.09 kB / 459.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.3645, allocations: 63.52 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3645, allocations: 3.062 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.3645, allocations: 6.844 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.3645, allocations: 22.88 kB / 459.2 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.3646, allocations: 44.05 kB / 459.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.053e-05/0.3647, allocations: 79.8 kB / 459.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.3647, allocations: 0.5625 kB / 459.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3647, allocations: 0.9688 kB / 459.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.3647, allocations: 0 / 459.4 MB, free: 37.91 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.0006175/0.3653, allocations: 446.3 kB / 459.8 MB, free: 37.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3653, allocations: 8.812 kB / 459.8 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.3654, allocations: 13.66 kB / 459.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3656, allocations: 216.5 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3656, allocations: 7.469 kB / 460 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3656, allocations: 7.172 kB / 460 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.3659, allocations: 124.7 kB / 460.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3659, allocations: 0.8125 kB / 460.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3659, allocations: 2.812 kB / 460.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.366, allocations: 0.5625 kB / 460.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.3663, allocations: 113.3 kB / 460.3 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.3669, allocations: 473.5 kB / 460.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.3672, allocations: 142.5 kB / 460.9 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3673, allocations: 5.344 kB / 460.9 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.3673, allocations: 30.56 kB / 460.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3673, allocations: 0 / 460.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005669/0.3679, allocations: 209 kB / 461.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.3679, allocations: 80.55 kB / 461.2 MB, free: 36.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.368, allocations: 166.3 kB / 461.4 MB, free: 36.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.368, allocations: 30.14 kB / 461.4 MB, free: 36.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.3681, allocations: 108.2 kB / 461.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3681, allocations: 29.53 kB / 461.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.3681, allocations: 3.375 kB / 461.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.3682, allocations: 324.6 kB / 461.8 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3683, allocations: 56.86 kB / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3685, allocations: 62.78 kB / 462 MB, free: 36.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.3686, allocations: 55.67 kB / 462 MB, free: 36.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3687, allocations: 0 / 462 MB, free: 36.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003127/0.369, allocations: 165.3 kB / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.369, allocations: 5.625 kB / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.369, allocations: 0 / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.369, allocations: 0 / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3692, allocations: 29.08 kB / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3692, allocations: 1.031 kB / 462.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3693, allocations: 28.56 kB / 462.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3693, allocations: 2.719 kB / 462.2 MB, free: 36.05 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.843e-05/0.3694, allocations: 119.7 kB / 462.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.3695, allocations: 20.67 kB / 462.4 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.3698, allocations: 175.2 kB / 462.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3699, allocations: 2.5 kB / 462.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3699, allocations: 0 / 462.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3699, allocations: 3.984 kB / 462.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3701, allocations: 220.5 kB / 462.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3701, allocations: 0 / 462.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3703, allocations: 27.92 kB / 462.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3703, allocations: 3.594 kB / 462.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3703, allocations: 7.391 kB / 462.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3703, allocations: 5.938 kB / 462.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3703, allocations: 0 / 462.8 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3706, allocations: 338.1 kB / 463.1 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.3707, allocations: 84.52 kB / 463.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3707, allocations: 3.953 kB / 463.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.3709, allocations: 24 kB / 463.3 MB, free: 35.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3709, allocations: 8.234 kB / 463.3 MB, free: 35.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.371, allocations: 2.656 kB / 463.3 MB, free: 35.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.15e-05/0.371, allocations: 129.9 kB / 463.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.371, allocations: 0 / 463.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3713, allocations: 23.97 kB / 463.4 MB, free: 35.26 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 7.473e-05/0.3714, allocations: 105.4 kB / 463.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3717, allocations: 112.2 kB / 463.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3717, allocations: 3.938 kB / 463.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3719, allocations: 64.12 kB / 463.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3722, allocations: 37.97 kB / 463.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.3727, allocations: 261 kB / 464 MB, free: 34.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3728, allocations: 0.712 MB / 464.7 MB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.764e-05/0.3729, allocations: 16.19 kB / 464.7 MB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.373, allocations: 16.36 kB / 464.7 MB, free: 34.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.373, allocations: 0 / 464.7 MB, free: 34.27 MB / 382.1 MB Notification: Performance of Templates: time 0.003963/0.3769, allocations: 1.826 MB / 466.6 MB, free: 34.18 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: