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.0011/0.0011, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001157/0.001157, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.569/1.569, allocations: 252 MB / 0.5102 GB, free: 4.801 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.0006044/0.0006046, allocations: 16 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6716, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002094/0.6738, allocations: 1.503 MB / 0.7296 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.6741, allocations: 115.6 kB / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.6742, allocations: 0 / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.467e-05/0.6743, allocations: 11.86 kB / 0.7297 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.6744, allocations: 47.61 kB / 0.7297 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.6745, allocations: 27.97 kB / 0.7298 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.6748, allocations: 155.2 kB / 0.7299 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.675, allocations: 21.09 kB / 0.7299 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.6751, allocations: 47.8 kB / 0.73 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.6752, allocations: 63.73 kB / 0.73 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.6752, allocations: 8 kB / 0.7301 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.6753, allocations: 4 kB / 0.7301 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.6753, allocations: 15.92 kB / 0.7301 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.6753, allocations: 53.64 kB / 0.7301 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.6754, allocations: 85.75 kB / 0.7302 GB, free: 9.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.6754, allocations: 0 / 0.7302 GB, free: 9.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6755, allocations: 0 / 0.7302 GB, free: 9.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6755, allocations: 0 / 0.7302 GB, free: 9.27 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.0007064/0.6762, allocations: 446.8 kB / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.6762, allocations: 8.031 kB / 0.7306 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.6763, allocations: 15.81 kB / 0.7307 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.6765, allocations: 206.7 kB / 0.7309 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.6765, allocations: 8 kB / 0.7309 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.6765, allocations: 7.938 kB / 0.7309 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.6768, allocations: 127.3 kB / 0.731 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6768, allocations: 0 / 0.731 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6768, allocations: 0 / 0.731 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6769, allocations: 4 kB / 0.731 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.6771, allocations: 115.8 kB / 0.7311 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/0.6779, allocations: 480.6 kB / 0.7316 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.6783, allocations: 137.2 kB / 0.7317 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.6785, allocations: 69.78 kB / 0.7318 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.6785, allocations: 0 / 0.7318 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.6785, allocations: 42.48 kB / 0.7318 GB, free: 7.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.6785, allocations: 4 kB / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000587/0.6791, allocations: 201.5 kB / 0.732 GB, free: 7.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.6792, allocations: 81.05 kB / 0.7321 GB, free: 7.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.6795, allocations: 164.4 kB / 0.7322 GB, free: 6.977 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6795, allocations: 25.7 kB / 0.7323 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.6796, allocations: 112.2 kB / 0.7324 GB, free: 6.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.6796, allocations: 35.61 kB / 0.7324 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.6796, allocations: 0 / 0.7324 GB, free: 6.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6798, allocations: 330.8 kB / 0.7327 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.6799, allocations: 43.97 kB / 0.7328 GB, free: 6.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.68, allocations: 65.69 kB / 0.7328 GB, free: 6.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.6802, allocations: 55.97 kB / 0.7329 GB, free: 6.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6802, allocations: 0 / 0.7329 GB, free: 6.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003226/0.6805, allocations: 161.8 kB / 0.733 GB, free: 6.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6806, allocations: 4 kB / 0.733 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.6806, allocations: 0 / 0.733 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6806, allocations: 4 kB / 0.733 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.6807, allocations: 31.92 kB / 0.7331 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.6808, allocations: 0 / 0.7331 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.6809, allocations: 27.83 kB / 0.7331 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.6809, allocations: 3.938 kB / 0.7331 GB, free: 6.059 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.681, allocations: 117.8 kB / 0.7332 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.6811, allocations: 15.81 kB / 0.7332 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.6815, allocations: 174.7 kB / 0.7334 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6815, allocations: 0 / 0.7334 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6815, allocations: 15.88 kB / 0.7334 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6815, allocations: 0 / 0.7334 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.6819, allocations: 213.6 kB / 0.7336 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6819, allocations: 4 kB / 0.7336 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.682, allocations: 24.17 kB / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6821, allocations: 4 kB / 0.7336 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.6821, allocations: 3.938 kB / 0.7336 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6821, allocations: 0 / 0.7336 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6821, allocations: 0 / 0.7336 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.6825, allocations: 334.5 kB / 0.734 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.6825, allocations: 85.02 kB / 0.734 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.6826, allocations: 4 kB / 0.734 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.6827, allocations: 23.92 kB / 0.7341 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.6828, allocations: 7.984 kB / 0.7341 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.6828, allocations: 3.938 kB / 0.7341 GB, free: 4.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.873e-05/0.6829, allocations: 136.2 kB / 0.7342 GB, free: 4.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6829, allocations: 4 kB / 0.7342 GB, free: 4.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002766/0.6832, allocations: 28 kB / 0.7342 GB, free: 4.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002016/0.6834, allocations: 99.25 kB / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.6837, allocations: 120.1 kB / 0.7344 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6838, allocations: 0 / 0.7344 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.6839, allocations: 60.09 kB / 0.7345 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.6844, allocations: 39.25 kB / 0.7345 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.6848, allocations: 260 kB / 0.7348 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.6851, allocations: 0.7125 MB / 0.7355 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.169e-05/0.6852, allocations: 12.64 kB / 0.7355 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.6853, allocations: 19.44 kB / 0.7355 GB, free: 3.414 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.6853, allocations: 0 / 0.7355 GB, free: 3.414 MB / 0.545 GB Notification: Performance of Templates: time 0.004869/0.6901, allocations: 1.841 MB / 0.7373 GB, free: 1.629 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: