Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001288, 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.001358/0.001359, allocations: 196.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 58.67 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4491, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004535/0.4537, allocations: 2.091 MB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.4549, allocations: 430.7 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.4552, allocations: 4 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.4555, allocations: 23.73 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.4558, allocations: 27.86 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.4562, allocations: 91.88 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.4566, allocations: 256.4 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.4569, allocations: 156.5 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.4571, allocations: 79.56 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.4573, allocations: 91.48 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.4573, allocations: 12 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.4574, allocations: 16 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.4575, allocations: 39.78 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.4576, allocations: 103.4 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.458, allocations: 359.1 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.458, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.458, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.458, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 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.001232/0.4593, allocations: 0.5396 MB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4593, allocations: 12.03 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.4594, allocations: 32.55 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.4599, allocations: 264.3 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.46, allocations: 16.81 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.46, allocations: 20.31 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.4606, allocations: 238.3 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4606, allocations: 7.875 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.4606, allocations: 8 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.4606, allocations: 8 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.4611, allocations: 173 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.4626, allocations: 0.8521 MB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.4632, allocations: 174.8 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.4634, allocations: 100.7 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.4635, allocations: 4 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.4635, allocations: 34.56 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.4635, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007231/0.4642, allocations: 229.5 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.4643, allocations: 81.11 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.4646, allocations: 239.1 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4646, allocations: 25.7 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4648, allocations: 160.1 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.4648, allocations: 43.36 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.4649, allocations: 29.72 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.465, allocations: 338.8 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.4652, allocations: 72.75 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.4655, allocations: 105.1 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.4659, allocations: 155.3 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4659, allocations: 0 / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004773/0.4664, allocations: 217.4 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4664, allocations: 5.562 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4664, allocations: 0 / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4664, allocations: 7.938 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4666, allocations: 35.91 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4666, allocations: 4 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.4668, allocations: 27.83 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4668, allocations: 4 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002211/0.467, allocations: 168.1 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001554/0.4672, allocations: 89.12 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002611/0.4675, allocations: 142.8 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.4675, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003549/0.4678, allocations: 173.4 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.4679, allocations: 8 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.4679, allocations: 0 / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.4679, allocations: 0 / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.468, allocations: 39.95 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4681, allocations: 4 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4682, allocations: 19.89 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4682, allocations: 8 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001806/0.4684, allocations: 200.7 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.4684, allocations: 15.81 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.4685, allocations: 29.34 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4685, allocations: 0 / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4685, allocations: 4 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4685, allocations: 3.984 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.4689, allocations: 301.4 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4689, allocations: 0 / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4691, allocations: 27.97 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4691, allocations: 0 / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4691, allocations: 11.94 kB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4691, allocations: 0 / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4691, allocations: 0 / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.4698, allocations: 347.1 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4699, allocations: 96.94 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.47, allocations: 3.938 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.4701, allocations: 20.05 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.4702, allocations: 7.984 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4702, allocations: 4 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001665/0.4704, allocations: 172.7 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4704, allocations: 0 / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003697/0.4708, allocations: 63.69 kB / 1.077 GB, free: 0.6094 MB / 0.8262 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.000135/0.4709, allocations: 103.2 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.4715, allocations: 223.8 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4715, allocations: 0 / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.4717, allocations: 79.83 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.4722, allocations: 34.28 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.4731, allocations: 463.1 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4734, allocations: 0.7365 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.4735, allocations: 25.53 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.4736, allocations: 15.44 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.094e-06/0.4736, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.005371/0.479, allocations: 1.881 MB / 1.081 GB, free: 13.03 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)