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.001796/0.001796, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002448/0.002448, allocations: 193.7 kB / 16.25 MB, free: 6.633 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.642/1.642, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.765/1.765, allocations: 251.7 MB / 0.5089 GB, free: 3.316 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.001956/0.001956, allocations: 59.91 kB / 0.6217 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8664, allocations: 104.7 MB / 0.724 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005396/0.8719, allocations: 1.892 MB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006/0.8725, allocations: 123.5 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.8727, allocations: 0 / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.873, allocations: 7.922 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.8732, allocations: 47.62 kB / 0.726 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.8735, allocations: 27.97 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.8738, allocations: 175.1 kB / 0.7262 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.874, allocations: 25.11 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.8742, allocations: 51.86 kB / 0.7263 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.8743, allocations: 75.67 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.8744, allocations: 8 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.518e-05/0.8744, allocations: 12 kB / 0.7264 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.8744, allocations: 19.91 kB / 0.7264 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.8746, allocations: 63.67 kB / 0.7264 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.8748, allocations: 129.5 kB / 0.7266 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.8748, allocations: 0 / 0.7266 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.076e-06/0.8748, allocations: 4 kB / 0.7266 GB, free: 10.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.8748, allocations: 3.984 kB / 0.7266 GB, free: 10.48 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.001042/0.8759, allocations: 450.8 kB / 0.727 GB, free: 9.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.876, allocations: 8.031 kB / 0.727 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/0.876, allocations: 16.75 kB / 0.727 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.8764, allocations: 212 kB / 0.7272 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.8764, allocations: 8.375 kB / 0.7272 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.8765, allocations: 8.375 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.8768, allocations: 115.8 kB / 0.7273 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.8769, allocations: 192 / 0.7273 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.8769, allocations: 7.938 kB / 0.7274 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8769, allocations: 0 / 0.7274 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.8772, allocations: 95.94 kB / 0.7274 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.8783, allocations: 476.5 kB / 0.7279 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.8787, allocations: 133.2 kB / 0.728 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.8789, allocations: 61.78 kB / 0.7281 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.8789, allocations: 0 / 0.7281 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.879, allocations: 34.56 kB / 0.7281 GB, free: 8.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.879, allocations: 4 kB / 0.7281 GB, free: 8.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006356/0.8796, allocations: 181.6 kB / 0.7283 GB, free: 8.512 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.8797, allocations: 81.11 kB / 0.7284 GB, free: 8.414 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.8799, allocations: 164.4 kB / 0.7285 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.8799, allocations: 33.7 kB / 0.7286 GB, free: 8.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.88, allocations: 104 kB / 0.7287 GB, free: 8.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.8801, allocations: 35.48 kB / 0.7287 GB, free: 8.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.8802, allocations: 29.72 kB / 0.7287 GB, free: 8.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8803, allocations: 326.8 kB / 0.729 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.8805, allocations: 39.91 kB / 0.7291 GB, free: 7.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.8807, allocations: 65.67 kB / 0.7291 GB, free: 7.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.8809, allocations: 101.9 kB / 0.7292 GB, free: 7.488 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8809, allocations: 0 / 0.7292 GB, free: 7.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003496/0.8813, allocations: 145.4 kB / 0.7294 GB, free: 7.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.8813, allocations: 4 kB / 0.7294 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8814, allocations: 8 kB / 0.7294 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.8814, allocations: 7.922 kB / 0.7294 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.8815, allocations: 23.98 kB / 0.7294 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.8816, allocations: 4 kB / 0.7294 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.8817, allocations: 11.92 kB / 0.7294 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.8817, allocations: 7.938 kB / 0.7294 GB, free: 7.273 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.0001361/0.8819, allocations: 121.8 kB / 0.7296 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.882, allocations: 19.81 kB / 0.7296 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.8824, allocations: 150.5 kB / 0.7297 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.8824, allocations: 7.984 kB / 0.7297 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8824, allocations: 0 / 0.7297 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8824, allocations: 0 / 0.7297 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.8828, allocations: 221.6 kB / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8828, allocations: 0 / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.883, allocations: 27.98 kB / 0.73 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.883, allocations: 0 / 0.73 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.883, allocations: 0 / 0.73 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.883, allocations: 4.188 kB / 0.73 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.883, allocations: 0 / 0.73 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.8835, allocations: 322.5 kB / 0.7303 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.8835, allocations: 88.95 kB / 0.7304 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.8836, allocations: 4.281 kB / 0.7304 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.8838, allocations: 11.98 kB / 0.7304 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.8838, allocations: 7.984 kB / 0.7304 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.8839, allocations: 11.88 kB / 0.7304 GB, free: 6.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001263/0.884, allocations: 136.2 kB / 0.7305 GB, free: 6.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.884, allocations: 0 / 0.7305 GB, free: 6.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003047/0.8843, allocations: 28 kB / 0.7305 GB, free: 6.039 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.0001711/0.8845, allocations: 103.2 kB / 0.7306 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.8849, allocations: 103.9 kB / 0.7307 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8849, allocations: 0 / 0.7307 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.8851, allocations: 55.91 kB / 0.7308 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.8856, allocations: 40.34 kB / 0.7308 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.8863, allocations: 259.4 kB / 0.7311 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.8867, allocations: 0.7045 MB / 0.7318 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.8868, allocations: 20.7 kB / 0.7318 GB, free: 4.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.8868, allocations: 15.44 kB / 0.7318 GB, free: 4.68 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.8868, allocations: 0 / 0.7318 GB, free: 4.68 MB / 0.545 GB Notification: Performance of Templates: time 0.006173/0.893, allocations: 2.024 MB / 0.7338 GB, free: 2.711 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)