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.009754/0.009753, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001435/0.001436, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.664/1.664, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5265/0.5265, allocations: 95.47 MB / 365.4 MB, free: 12.16 MB / 318.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.001664/0.001664, allocations: 67.91 kB / 0.5036 GB, free: 11.9 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.443, allocations: 69.1 MB / 0.5711 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.003244/0.4463, allocations: 1.811 MB / 0.5728 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.4467, allocations: 119.6 kB / 0.5729 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.4468, allocations: 3.938 kB / 0.5729 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.447, allocations: 15.84 kB / 0.573 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.4471, allocations: 47.58 kB / 0.573 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.4473, allocations: 31.95 kB / 0.573 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.4476, allocations: 179 kB / 0.5732 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.4478, allocations: 28.62 kB / 0.5732 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.4479, allocations: 51.84 kB / 0.5733 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.448, allocations: 71.69 kB / 0.5734 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.4481, allocations: 8 kB / 0.5734 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.303e-05/0.4481, allocations: 12 kB / 0.5734 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.4482, allocations: 23.92 kB / 0.5734 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.4483, allocations: 63.72 kB / 0.5735 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.4485, allocations: 133.8 kB / 0.5736 GB, free: 1.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4486, allocations: 0 / 0.5736 GB, free: 1.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4486, allocations: 0 / 0.5736 GB, free: 1.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4486, allocations: 4 kB / 0.5736 GB, free: 1.551 MB / 430.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.0009989/0.4496, allocations: 450.9 kB / 0.574 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4496, allocations: 11.98 kB / 0.574 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.4497, allocations: 16.75 kB / 0.574 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.45, allocations: 212 kB / 0.5742 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.45, allocations: 384 / 0.5742 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.4501, allocations: 12.31 kB / 0.5743 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.4504, allocations: 119.4 kB / 0.5744 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4504, allocations: 192 / 0.5744 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.4504, allocations: 7.938 kB / 0.5744 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4504, allocations: 7.984 kB / 0.5744 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.4507, allocations: 87.88 kB / 0.5745 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/0.4515, allocations: 480.6 kB / 0.5749 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.4518, allocations: 129.2 kB / 0.5751 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.452, allocations: 61.78 kB / 0.5751 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.4521, allocations: 7.984 kB / 0.5751 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.4521, allocations: 30.56 kB / 0.5751 GB, free: 15.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.4521, allocations: 3.938 kB / 0.5752 GB, free: 15.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006241/0.4527, allocations: 181.6 kB / 0.5753 GB, free: 15.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.4528, allocations: 85.05 kB / 0.5754 GB, free: 15.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.453, allocations: 170.4 kB / 0.5756 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.453, allocations: 25.7 kB / 0.5756 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.4531, allocations: 112 kB / 0.5757 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.4531, allocations: 31.55 kB / 0.5757 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.4532, allocations: 17.72 kB / 0.5757 GB, free: 15.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4533, allocations: 326.8 kB / 0.5761 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.4534, allocations: 48.03 kB / 0.5761 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4536, allocations: 57.69 kB / 0.5762 GB, free: 14.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.4539, allocations: 109.6 kB / 0.5763 GB, free: 14.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4539, allocations: 0 / 0.5763 GB, free: 14.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003268/0.4542, allocations: 145.5 kB / 0.5764 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4542, allocations: 4 kB / 0.5764 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4542, allocations: 0 / 0.5764 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4543, allocations: 0 / 0.5764 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4544, allocations: 27.92 kB / 0.5764 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4544, allocations: 3.984 kB / 0.5764 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4545, allocations: 11.94 kB / 0.5764 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4546, allocations: 11.88 kB / 0.5765 GB, free: 14.34 MB / 446.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 0.0001045/0.4547, allocations: 123.5 kB / 0.5766 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.4547, allocations: 15.81 kB / 0.5766 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.4552, allocations: 154.5 kB / 0.5767 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4552, allocations: 0 / 0.5767 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4552, allocations: 4 kB / 0.5767 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4552, allocations: 192 / 0.5767 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.4555, allocations: 233.6 kB / 0.577 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4555, allocations: 0 / 0.577 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.4556, allocations: 19.98 kB / 0.577 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4557, allocations: 4 kB / 0.577 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4557, allocations: 0 / 0.577 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4557, allocations: 3.938 kB / 0.577 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4557, allocations: 0 / 0.577 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.4561, allocations: 322.6 kB / 0.5773 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.4562, allocations: 92.94 kB / 0.5774 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4562, allocations: 4 kB / 0.5774 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.4564, allocations: 7.984 kB / 0.5774 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.4564, allocations: 4 kB / 0.5774 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.4564, allocations: 15.94 kB / 0.5774 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.493e-05/0.4565, allocations: 128.2 kB / 0.5775 GB, free: 13.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4565, allocations: 0 / 0.5775 GB, free: 13.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.4568, allocations: 31.91 kB / 0.5776 GB, free: 13.1 MB / 446.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.564e-05/0.4569, allocations: 95.25 kB / 0.5777 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.4573, allocations: 99.88 kB / 0.5778 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4573, allocations: 4 kB / 0.5778 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.4575, allocations: 59.89 kB / 0.5778 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.4579, allocations: 39.64 kB / 0.5779 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.4584, allocations: 220 kB / 0.5781 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4588, allocations: 0.7046 MB / 0.5788 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.382e-05/0.4589, allocations: 20.58 kB / 0.5788 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.4589, allocations: 15.44 kB / 0.5788 GB, free: 11.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4589, allocations: 0 / 0.5788 GB, free: 11.79 MB / 446.1 MB Notification: Performance of Templates: time 0.005788/0.4647, allocations: 2.097 MB / 0.5808 GB, free: 9.738 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (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)