Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001135/0.001135, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01084/0.01084, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.711/1.711, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5741/0.5741, allocations: 95.62 MB / 366.4 MB, free: 10.23 MB / 302.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: Buildings requested package Modelica of version 3.2.1. 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.0005975/0.0005974, allocations: 16 kB / 447.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4097, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.001765/0.4115, allocations: 1.519 MB / 0.5071 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.4119, allocations: 119.6 kB / 0.5073 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.412, allocations: 0 / 0.5073 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.4121, allocations: 11.86 kB / 0.5073 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.4122, allocations: 43.62 kB / 0.5073 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.4124, allocations: 27.97 kB / 0.5073 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.4126, allocations: 167.1 kB / 0.5075 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.4127, allocations: 33.03 kB / 0.5075 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.4128, allocations: 39.86 kB / 0.5076 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.4129, allocations: 67.75 kB / 0.5076 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.413, allocations: 4 kB / 0.5076 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.413, allocations: 7.938 kB / 0.5076 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.413, allocations: 15.92 kB / 0.5077 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.4131, allocations: 81.44 kB / 0.5077 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.4132, allocations: 125.5 kB / 0.5079 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4132, allocations: 0 / 0.5079 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4132, allocations: 0 / 0.5079 GB, free: 14.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4133, allocations: 0 / 0.5079 GB, free: 14.07 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.0006437/0.4139, allocations: 439 kB / 0.5083 GB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4139, allocations: 15.98 kB / 0.5083 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.414, allocations: 12.75 kB / 0.5083 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.4142, allocations: 208 kB / 0.5085 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4142, allocations: 8.375 kB / 0.5085 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.4142, allocations: 4.375 kB / 0.5085 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.4145, allocations: 131.9 kB / 0.5086 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4145, allocations: 192 / 0.5086 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4145, allocations: 7.938 kB / 0.5086 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4146, allocations: 3.938 kB / 0.5086 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.4149, allocations: 115.9 kB / 0.5088 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.4155, allocations: 484.6 kB / 0.5092 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.4158, allocations: 133.2 kB / 0.5093 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.416, allocations: 65.78 kB / 0.5094 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.416, allocations: 7.938 kB / 0.5094 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.4161, allocations: 34.56 kB / 0.5095 GB, free: 12.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.325e-06/0.4161, allocations: 4 kB / 0.5095 GB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005455/0.4166, allocations: 205.4 kB / 0.5097 GB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.4167, allocations: 81.09 kB / 0.5097 GB, free: 11.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4168, allocations: 162.9 kB / 0.5099 GB, free: 11.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4168, allocations: 29.7 kB / 0.5099 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.4169, allocations: 112 kB / 0.51 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.4169, allocations: 31.55 kB / 0.51 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.4169, allocations: 13.72 kB / 0.5101 GB, free: 11.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.417, allocations: 326.8 kB / 0.5104 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4171, allocations: 55.97 kB / 0.5104 GB, free: 11.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4173, allocations: 61.69 kB / 0.5105 GB, free: 11.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.4175, allocations: 117.6 kB / 0.5106 GB, free: 11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4176, allocations: 4 kB / 0.5106 GB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003214/0.4179, allocations: 157.8 kB / 0.5108 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.4179, allocations: 4 kB / 0.5108 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4179, allocations: 0 / 0.5108 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4179, allocations: 4.062 kB / 0.5108 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4181, allocations: 35.98 kB / 0.5108 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4181, allocations: 0 / 0.5108 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.4182, allocations: 23.83 kB / 0.5108 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.4182, allocations: 3.938 kB / 0.5108 GB, free: 10.77 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 7.239e-05/0.4183, allocations: 121.8 kB / 0.5109 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.4184, allocations: 15.81 kB / 0.511 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.4188, allocations: 174.5 kB / 0.5111 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4188, allocations: 4 kB / 0.5111 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4188, allocations: 4 kB / 0.5111 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4188, allocations: 0 / 0.5111 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.419, allocations: 221.6 kB / 0.5113 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4191, allocations: 4.188 kB / 0.5113 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4192, allocations: 31.91 kB / 0.5114 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4192, allocations: 3.938 kB / 0.5114 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4192, allocations: 0 / 0.5114 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4192, allocations: 0 / 0.5114 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4192, allocations: 4 kB / 0.5114 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.4196, allocations: 330.7 kB / 0.5117 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.4196, allocations: 92.94 kB / 0.5118 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4197, allocations: 4 kB / 0.5118 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4198, allocations: 19.92 kB / 0.5118 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.4199, allocations: 7.984 kB / 0.5118 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-06/0.4199, allocations: 3.938 kB / 0.5118 GB, free: 9.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.42, allocations: 137 kB / 0.5119 GB, free: 9.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.42, allocations: 4 kB / 0.512 GB, free: 9.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.4203, allocations: 24 kB / 0.512 GB, free: 9.488 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 8.304e-05/0.4204, allocations: 99.25 kB / 0.5121 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.4207, allocations: 115.9 kB / 0.5122 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4207, allocations: 4 kB / 0.5122 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4209, allocations: 63.91 kB / 0.5122 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.4214, allocations: 40 kB / 0.5123 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.4218, allocations: 276.4 kB / 0.5125 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.422, allocations: 0.7009 MB / 0.5132 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.4221, allocations: 12.66 kB / 0.5132 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.4221, allocations: 11.44 kB / 0.5133 GB, free: 8.113 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4221, allocations: 0 / 0.5133 GB, free: 8.113 MB / 382.1 MB Notification: Performance of Templates: time 0.004225/0.4264, allocations: 1.916 MB / 0.5151 GB, free: 6.246 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1) Environment - environmentSimulation: