Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.841/1.841, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 187.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.814/1.814, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 101.3 kB / 0.7808 GB, free: 43.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005692/0.0005693, allocations: 12 kB / 0.9088 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9554/0.956, allocations: 120.3 MB / 1.026 GB, free: 56 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2293/1.185, allocations: 142.9 MB / 1.166 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/1.186, allocations: 98.56 kB / 1.166 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009259/1.195, allocations: 3.643 MB / 1.169 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.997e-06/1.195, allocations: 0 / 1.169 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.862e-05/1.195, allocations: 4 kB / 1.169 GB, free: 11.66 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009439/1.196, allocations: 0.5184 MB / 1.17 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.196, allocations: 12.03 kB / 1.17 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/1.196, allocations: 28.56 kB / 1.17 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/1.197, allocations: 272.8 kB / 1.17 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/1.197, allocations: 16.75 kB / 1.17 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/1.197, allocations: 20.38 kB / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/1.197, allocations: 250 kB / 1.171 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.197, allocations: 7.938 kB / 1.171 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/1.198, allocations: 8 kB / 1.171 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.198, allocations: 4 kB / 1.171 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/1.198, allocations: 202.2 kB / 1.171 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/1.2, allocations: 0.8299 MB / 1.172 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/1.2, allocations: 224.3 kB / 1.172 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/1.2, allocations: 108.8 kB / 1.172 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.2, allocations: 0 / 1.172 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/1.201, allocations: 135.3 kB / 1.172 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.404e-06/1.201, allocations: 0 / 1.172 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0007102/1.201, allocations: 280 kB / 1.172 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/1.202, allocations: 81.09 kB / 1.172 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/1.202, allocations: 264.9 kB / 1.173 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/1.202, allocations: 25.7 kB / 1.173 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.202, allocations: 144.3 kB / 1.173 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/1.202, allocations: 51.2 kB / 1.173 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/1.202, allocations: 0 / 1.173 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.202, allocations: 334.8 kB / 1.173 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/1.202, allocations: 75.91 kB / 1.173 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/1.203, allocations: 107.4 kB / 1.173 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/1.203, allocations: 171.4 kB / 1.173 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.203, allocations: 0 / 1.173 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004663/1.204, allocations: 221.3 kB / 1.174 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/1.204, allocations: 109.8 kB / 1.174 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/1.204, allocations: 0 / 1.174 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.204, allocations: 0 / 1.174 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/1.204, allocations: 35.98 kB / 1.174 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/1.204, allocations: 11.92 kB / 1.174 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.204, allocations: 35.83 kB / 1.174 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/1.204, allocations: 4 kB / 1.174 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.204, allocations: 4 kB / 1.174 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003203/1.204, allocations: 152.3 kB / 1.174 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/1.204, allocations: 0 / 1.174 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/1.204, allocations: 0 / 1.174 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.205, allocations: 35.92 kB / 1.174 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.205, allocations: 7.875 kB / 1.174 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/1.205, allocations: 31.86 kB / 1.174 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/1.205, allocations: 4 kB / 1.174 GB, free: 6.656 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001851/1.205, allocations: 213.7 kB / 1.174 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/1.205, allocations: 23.72 kB / 1.174 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/1.205, allocations: 25.83 kB / 1.174 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/1.205, allocations: 7.875 kB / 1.174 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.205, allocations: 4 kB / 1.174 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.205, allocations: 0 / 1.174 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/1.206, allocations: 0.5804 MB / 1.175 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.206, allocations: 0 / 1.175 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.206, allocations: 43.97 kB / 1.175 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.206, allocations: 7.875 kB / 1.175 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/1.206, allocations: 0 / 1.175 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.206, allocations: 0 / 1.175 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.206, allocations: 4 kB / 1.175 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/1.207, allocations: 407.1 kB / 1.175 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/1.207, allocations: 100.8 kB / 1.175 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/1.207, allocations: 4 kB / 1.175 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/1.207, allocations: 23.97 kB / 1.176 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/1.207, allocations: 4 kB / 1.176 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.207, allocations: 12.05 kB / 1.176 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002125/1.207, allocations: 184.5 kB / 1.176 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.207, allocations: 0 / 1.176 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003954/1.208, allocations: 71.69 kB / 1.176 GB, free: 4.867 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0002339/1.208, allocations: 109.8 kB / 1.176 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007198/1.209, allocations: 254.1 kB / 1.176 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.209, allocations: 128 / 1.176 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/1.209, allocations: 91.89 kB / 1.176 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/1.21, allocations: 29.17 kB / 1.176 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.211, allocations: 493.1 kB / 1.177 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/1.211, allocations: 0.7443 MB / 1.177 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000138/1.211, allocations: 25.94 kB / 1.177 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/1.211, allocations: 19.44 kB / 1.177 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/1.211, allocations: 3.938 kB / 1.177 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.006825/1.218, allocations: 1.967 MB / 1.179 GB, free: 1.168 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)