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.001098/0.001098, 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.009687/0.009686, allocations: 170 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 2.047/2.047, 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 7.0.3-maint.7.0.x/package.mo): time 1.771/1.771, allocations: 252 MB / 0.5105 GB, free: 4.605 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.0006436/0.0006436, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7434, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002206/0.7456, allocations: 1.53 MB / 0.7302 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002844/0.746, allocations: 123.6 kB / 0.7303 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.7461, allocations: 0 / 0.7303 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.7462, allocations: 11.92 kB / 0.7303 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.7463, allocations: 47.61 kB / 0.7304 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.7464, allocations: 31.97 kB / 0.7304 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.7466, allocations: 159.1 kB / 0.7306 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.7468, allocations: 29.09 kB / 0.7306 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.7469, allocations: 51.78 kB / 0.7306 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.747, allocations: 55.77 kB / 0.7307 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.747, allocations: 8 kB / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.747, allocations: 4 kB / 0.7307 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.7471, allocations: 27.84 kB / 0.7307 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.7472, allocations: 89.3 kB / 0.7308 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.7473, allocations: 121.5 kB / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7473, allocations: 0 / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7474, allocations: 0 / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7474, allocations: 0 / 0.7309 GB, free: 8.973 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.0007576/0.7481, allocations: 443 kB / 0.7314 GB, free: 8.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.7482, allocations: 12.03 kB / 0.7314 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.7482, allocations: 12.75 kB / 0.7314 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.7485, allocations: 212 kB / 0.7316 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.7485, allocations: 4.375 kB / 0.7316 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.7485, allocations: 8.375 kB / 0.7316 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.7489, allocations: 127.8 kB / 0.7317 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7489, allocations: 192 / 0.7317 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.7489, allocations: 11.94 kB / 0.7317 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7489, allocations: 0 / 0.7317 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.7492, allocations: 103.9 kB / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.75, allocations: 484.5 kB / 0.7323 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.7504, allocations: 129.2 kB / 0.7324 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.7506, allocations: 73.78 kB / 0.7325 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.7506, allocations: 4 kB / 0.7325 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.7507, allocations: 30.56 kB / 0.7325 GB, free: 7.164 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.7507, allocations: 0 / 0.7325 GB, free: 7.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006229/0.7513, allocations: 209.4 kB / 0.7327 GB, free: 6.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.7514, allocations: 77.11 kB / 0.7328 GB, free: 6.859 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.7516, allocations: 164.4 kB / 0.7329 GB, free: 6.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.7516, allocations: 33.7 kB / 0.733 GB, free: 6.652 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.7517, allocations: 108.1 kB / 0.7331 GB, free: 6.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.7517, allocations: 35.48 kB / 0.7331 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.7517, allocations: 13.72 kB / 0.7331 GB, free: 6.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7519, allocations: 326.8 kB / 0.7334 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.752, allocations: 55.97 kB / 0.7335 GB, free: 6.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.7522, allocations: 65.67 kB / 0.7336 GB, free: 6.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.7525, allocations: 117.9 kB / 0.7337 GB, free: 5.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7525, allocations: 0 / 0.7337 GB, free: 5.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000374/0.7529, allocations: 165.4 kB / 0.7338 GB, free: 5.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7529, allocations: 4.188 kB / 0.7338 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.7529, allocations: 3.938 kB / 0.7338 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.753, allocations: 7.938 kB / 0.7338 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.7531, allocations: 31.97 kB / 0.7339 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7531, allocations: 3.938 kB / 0.7339 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.7533, allocations: 15.94 kB / 0.7339 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.7533, allocations: 11.92 kB / 0.7339 GB, free: 5.668 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 9.697e-05/0.7534, allocations: 117.8 kB / 0.734 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.7535, allocations: 15.81 kB / 0.734 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.7539, allocations: 174.7 kB / 0.7342 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7539, allocations: 4 kB / 0.7342 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.7539, allocations: 4 kB / 0.7342 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.7539, allocations: 3.984 kB / 0.7342 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.7543, allocations: 217.5 kB / 0.7344 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7543, allocations: 4 kB / 0.7344 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.7544, allocations: 19.98 kB / 0.7344 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7544, allocations: 4 kB / 0.7344 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.7544, allocations: 0 / 0.7344 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7545, allocations: 0 / 0.7344 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7545, allocations: 4 kB / 0.7344 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.7549, allocations: 334.5 kB / 0.7348 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.755, allocations: 93.14 kB / 0.7349 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.755, allocations: 8 kB / 0.7349 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.7552, allocations: 11.98 kB / 0.7349 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.7553, allocations: 11.92 kB / 0.7349 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.7553, allocations: 7.938 kB / 0.7349 GB, free: 4.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001076/0.7554, allocations: 132.2 kB / 0.735 GB, free: 4.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7554, allocations: 4 kB / 0.735 GB, free: 4.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002827/0.7557, allocations: 28 kB / 0.735 GB, free: 4.398 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.000126/0.7558, allocations: 95.25 kB / 0.7351 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.7562, allocations: 119.9 kB / 0.7353 GB, free: 4.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7562, allocations: 0 / 0.7353 GB, free: 4.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.7564, allocations: 67.89 kB / 0.7353 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.7569, allocations: 40.95 kB / 0.7354 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.7575, allocations: 272 kB / 0.7356 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.7578, allocations: 0.7048 MB / 0.7363 GB, free: 3.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.934e-05/0.7579, allocations: 12.64 kB / 0.7363 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.7579, allocations: 15.44 kB / 0.7363 GB, free: 3.016 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.7579, allocations: 0 / 0.7363 GB, free: 3.016 MB / 0.545 GB Notification: Performance of Templates: time 0.004892/0.7628, allocations: 1.912 MB / 0.7382 GB, free: 1.16 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: