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.001443/0.001443, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.735/1.735, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4067/0.4067, allocations: 54.95 MB / 324.7 MB, free: 15.94 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.00163/0.00163, allocations: 63.91 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1455, allocations: 59.61 MB / 454.9 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.2572/0.4027, allocations: 1.81 MB / 456.7 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002893/0.403, allocations: 113.8 kB / 456.8 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.617e-05/0.4031, allocations: 4 kB / 456.8 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.4032, allocations: 17.89 kB / 456.9 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.4033, allocations: 47.55 kB / 456.9 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.4035, allocations: 31.48 kB / 456.9 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.4037, allocations: 172.6 kB / 457.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.4038, allocations: 29.09 kB / 457.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.4039, allocations: 57 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.404, allocations: 64.28 kB / 457.3 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.404, allocations: 11.88 kB / 457.3 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.644e-05/0.404, allocations: 10.81 kB / 457.3 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.4041, allocations: 27.23 kB / 457.3 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.4041, allocations: 65.78 kB / 457.4 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.4043, allocations: 122.7 kB / 457.5 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4043, allocations: 0 / 457.5 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4043, allocations: 0 / 457.5 MB, free: 38.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.4043, allocations: 0 / 457.5 MB, free: 38.84 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.0006581/0.405, allocations: 457.6 kB / 457.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.405, allocations: 9.312 kB / 457.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.4051, allocations: 18.25 kB / 458 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4052, allocations: 204 kB / 458.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4052, allocations: 3.625 kB / 458.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.4053, allocations: 10.97 kB / 458.2 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.4055, allocations: 115.6 kB / 458.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4056, allocations: 4.266 kB / 458.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4056, allocations: 4.594 kB / 458.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4056, allocations: 3.281 kB / 458.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.4059, allocations: 95.75 kB / 458.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.4064, allocations: 478.5 kB / 458.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.4068, allocations: 129 kB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.4069, allocations: 65.48 kB / 459 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.407, allocations: 2.906 kB / 459 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.407, allocations: 32.31 kB / 459.1 MB, free: 37.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.407, allocations: 2.875 kB / 459.1 MB, free: 37.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00053/0.4075, allocations: 180.8 kB / 459.3 MB, free: 37.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4076, allocations: 78.61 kB / 459.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4077, allocations: 175 kB / 459.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.4077, allocations: 28.27 kB / 459.5 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.4078, allocations: 107.6 kB / 459.6 MB, free: 37.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.4078, allocations: 32.19 kB / 459.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.4079, allocations: 20 kB / 459.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.4079, allocations: 328.2 kB / 460 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4081, allocations: 44.42 kB / 460.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4082, allocations: 64.25 kB / 460.1 MB, free: 37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.4085, allocations: 101.7 kB / 460.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4085, allocations: 3.734 kB / 460.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002972/0.4088, allocations: 151.9 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4088, allocations: 6.5 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4088, allocations: 0 / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4088, allocations: 2.531 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.409, allocations: 22.73 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.409, allocations: 3.531 kB / 460.4 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4091, allocations: 16.8 kB / 460.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4091, allocations: 6.188 kB / 460.4 MB, free: 36.94 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.159e-05/0.4092, allocations: 123.8 kB / 460.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.4092, allocations: 15.97 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.4096, allocations: 152.7 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4096, allocations: 2.844 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4096, allocations: 0.5312 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4096, allocations: 0 / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4099, allocations: 228.2 kB / 460.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4099, allocations: 7.406 kB / 460.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.41, allocations: 21.88 kB / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.41, allocations: 0 / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.41, allocations: 0 / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.41, allocations: 3.25 kB / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4101, allocations: 0.5469 kB / 461 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.4104, allocations: 323.5 kB / 461.3 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.4104, allocations: 89.08 kB / 461.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.4104, allocations: 2.844 kB / 461.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.4106, allocations: 13.25 kB / 461.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.4107, allocations: 10.31 kB / 461.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4107, allocations: 6.906 kB / 461.4 MB, free: 36.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.502e-05/0.4107, allocations: 126.5 kB / 461.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4108, allocations: 0 / 461.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.411, allocations: 27.94 kB / 461.6 MB, free: 36.19 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 7.024e-05/0.4111, allocations: 93.88 kB / 461.6 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.4114, allocations: 113.5 kB / 461.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4114, allocations: 0 / 461.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.4116, allocations: 64.23 kB / 461.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.412, allocations: 35.64 kB / 461.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.4125, allocations: 233.2 kB / 462.1 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.4126, allocations: 0.7092 MB / 462.8 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.4127, allocations: 10.73 kB / 462.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.4127, allocations: 16.25 kB / 462.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4127, allocations: 1.781 kB / 462.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of Templates: time 0.00489/0.4176, allocations: 2.104 MB / 464.9 MB, free: 35.13 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)