Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001645/0.001646, allocations: 197 kB / 16.14 MB, free: 6.711 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.795/1.795, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.686/1.686, allocations: 251.7 MB / 0.5088 GB, free: 3.348 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.92 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.839, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003254/0.8423, allocations: 1.888 MB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.8427, allocations: 119.6 kB / 0.7258 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.8428, allocations: 7.938 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.8429, allocations: 7.922 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.843, allocations: 43.62 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.8432, allocations: 35.95 kB / 0.7259 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.8434, allocations: 163.1 kB / 0.726 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.8435, allocations: 21.11 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.8436, allocations: 51.8 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.8437, allocations: 63.75 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.8437, allocations: 8 kB / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.8438, allocations: 4 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.8438, allocations: 27.89 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.8439, allocations: 55.67 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.8441, allocations: 121.5 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.8441, allocations: 4 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8441, allocations: 7.922 kB / 0.7264 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.8441, allocations: 0 / 0.7264 GB, free: 10.54 MB / 0.545 GB 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.000816/0.8449, allocations: 442.9 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.845, allocations: 16.03 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.845, allocations: 16.75 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.8453, allocations: 208 kB / 0.727 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.8453, allocations: 384 / 0.727 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.8453, allocations: 8.375 kB / 0.727 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.8456, allocations: 119.8 kB / 0.7271 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8456, allocations: 192 / 0.7271 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.8457, allocations: 7.938 kB / 0.7271 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.8457, allocations: 8 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.846, allocations: 91.92 kB / 0.7272 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.8467, allocations: 480.5 kB / 0.7277 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.8471, allocations: 121.2 kB / 0.7278 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.8473, allocations: 61.78 kB / 0.7279 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.8473, allocations: 8 kB / 0.7279 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.8473, allocations: 34.5 kB / 0.7279 GB, free: 8.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.8473, allocations: 0 / 0.7279 GB, free: 8.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005738/0.8479, allocations: 181.4 kB / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.848, allocations: 81.11 kB / 0.7282 GB, free: 8.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.8481, allocations: 164.4 kB / 0.7283 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.8482, allocations: 33.7 kB / 0.7283 GB, free: 8.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.8482, allocations: 108 kB / 0.7285 GB, free: 8.168 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.8483, allocations: 35.61 kB / 0.7285 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.8483, allocations: 21.72 kB / 0.7285 GB, free: 8.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8485, allocations: 326.8 kB / 0.7288 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.8486, allocations: 51.91 kB / 0.7289 GB, free: 7.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.8488, allocations: 61.61 kB / 0.7289 GB, free: 7.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.8491, allocations: 101.7 kB / 0.729 GB, free: 7.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8491, allocations: 0 / 0.729 GB, free: 7.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003403/0.8494, allocations: 153.7 kB / 0.7292 GB, free: 7.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8494, allocations: 4 kB / 0.7292 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8494, allocations: 192 / 0.7292 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.8495, allocations: 7.984 kB / 0.7292 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.8496, allocations: 19.98 kB / 0.7292 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8496, allocations: 0 / 0.7292 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.8498, allocations: 19.91 kB / 0.7292 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.8498, allocations: 3.938 kB / 0.7292 GB, free: 7.344 MB / 0.545 GB 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.000111/0.8499, allocations: 129.8 kB / 0.7293 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.85, allocations: 11.81 kB / 0.7294 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.8504, allocations: 154.5 kB / 0.7295 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.8504, allocations: 3.984 kB / 0.7295 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8504, allocations: 0 / 0.7295 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8504, allocations: 8 kB / 0.7295 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.8507, allocations: 217.5 kB / 0.7297 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.8507, allocations: 0 / 0.7297 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.8509, allocations: 19.98 kB / 0.7297 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8509, allocations: 4 kB / 0.7297 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.8509, allocations: 0 / 0.7297 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8509, allocations: 0 / 0.7297 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8509, allocations: 0 / 0.7297 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.8513, allocations: 326.6 kB / 0.7301 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.8514, allocations: 88.95 kB / 0.7301 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.8514, allocations: 4 kB / 0.7301 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.8516, allocations: 11.98 kB / 0.7302 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.8517, allocations: 7.984 kB / 0.7302 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.8517, allocations: 3.938 kB / 0.7302 GB, free: 6.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.975e-05/0.8518, allocations: 140.2 kB / 0.7303 GB, free: 6.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.543e-06/0.8518, allocations: 0 / 0.7303 GB, free: 6.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000271/0.8521, allocations: 31.94 kB / 0.7303 GB, free: 6.109 MB / 0.545 GB 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 0.0001277/0.8522, allocations: 95.25 kB / 0.7304 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.8525, allocations: 112.1 kB / 0.7305 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8526, allocations: 4 kB / 0.7305 GB, free: 5.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.8527, allocations: 55.91 kB / 0.7306 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.8532, allocations: 27.98 kB / 0.7306 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.8538, allocations: 265.2 kB / 0.7309 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.8541, allocations: 0.7048 MB / 0.7316 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.77e-05/0.8542, allocations: 8.797 kB / 0.7316 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.8542, allocations: 23.52 kB / 0.7316 GB, free: 4.754 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.8542, allocations: 3.938 kB / 0.7316 GB, free: 4.75 MB / 0.545 GB Notification: Performance of Templates: time 0.004753/0.859, allocations: 1.927 MB / 0.7335 GB, free: 2.875 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)