Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 56.09 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5529, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002565/0.5555, allocations: 2.035 MB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006121/0.5562, allocations: 447.6 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.5563, allocations: 11.91 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.5564, allocations: 38.56 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.5565, allocations: 37.78 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.5567, allocations: 95.33 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.557, allocations: 286.6 kB / 0.9526 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.5572, allocations: 158.4 kB / 0.9527 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.5573, allocations: 100.7 kB / 0.9528 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.5574, allocations: 106.1 kB / 0.9529 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.5574, allocations: 33.53 kB / 0.953 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.5575, allocations: 32.06 kB / 0.953 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.5575, allocations: 62.19 kB / 0.9531 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.5576, allocations: 127.9 kB / 0.9532 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.5578, allocations: 374 kB / 0.9535 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5578, allocations: 1.25 kB / 0.9535 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5578, allocations: 4 kB / 0.9536 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.5578, allocations: 0 / 0.9536 GB, free: 6.191 MB / 0.7169 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.0006677/0.5585, allocations: 0.534 MB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.5585, allocations: 10 kB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.5586, allocations: 57.62 kB / 0.9541 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.5586, allocations: 25 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.5589, allocations: 278.1 kB / 0.9544 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5589, allocations: 15.97 kB / 0.9544 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.5589, allocations: 22.25 kB / 0.9545 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.5593, allocations: 234.9 kB / 0.9547 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5594, allocations: 1.438 kB / 0.9547 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.5594, allocations: 5.438 kB / 0.9547 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5594, allocations: 9.188 kB / 0.9547 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.5598, allocations: 176.9 kB / 0.9549 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.5607, allocations: 0.8506 MB / 0.9557 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.5611, allocations: 188.5 kB / 0.9559 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.5613, allocations: 90.88 kB / 0.956 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.5613, allocations: 1.375 kB / 0.956 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.5614, allocations: 32.06 kB / 0.956 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.5614, allocations: 5.406 kB / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000561/0.5619, allocations: 225.6 kB / 0.9562 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.562, allocations: 82.89 kB / 0.9563 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5621, allocations: 227.1 kB / 0.9565 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5622, allocations: 31.27 kB / 0.9565 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.5622, allocations: 156.3 kB / 0.9567 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.5623, allocations: 44.2 kB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.5623, allocations: 30.19 kB / 0.9568 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.5624, allocations: 330.6 kB / 0.9571 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.5625, allocations: 70.25 kB / 0.9571 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.5627, allocations: 118.5 kB / 0.9573 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.563, allocations: 159.9 kB / 0.9574 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.563, allocations: 0 / 0.9574 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003987/0.5634, allocations: 204.2 kB / 0.9576 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5635, allocations: 5.5 kB / 0.9576 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5635, allocations: 5.312 kB / 0.9576 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5635, allocations: 1.375 kB / 0.9576 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5637, allocations: 42.12 kB / 0.9577 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5637, allocations: 2.75 kB / 0.9577 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.5638, allocations: 32.19 kB / 0.9577 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5638, allocations: 4.125 kB / 0.9577 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001677/0.564, allocations: 154.5 kB / 0.9578 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001326/0.5642, allocations: 99.52 kB / 0.9579 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002367/0.5644, allocations: 138 kB / 0.9581 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.5644, allocations: 1.344 kB / 0.9581 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003132/0.5647, allocations: 185.9 kB / 0.9583 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.5647, allocations: 5.062 kB / 0.9583 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.5647, allocations: 1.312 kB / 0.9583 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-06/0.5648, allocations: 5.281 kB / 0.9583 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5649, allocations: 32.08 kB / 0.9583 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.5649, allocations: 1.062 kB / 0.9583 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.565, allocations: 23.03 kB / 0.9583 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.565, allocations: 16.42 kB / 0.9583 GB, free: 2.348 MB / 0.7169 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 6.14e-05/0.5651, allocations: 187.7 kB / 0.9585 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.5651, allocations: 19.53 kB / 0.9585 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.5652, allocations: 26.83 kB / 0.9586 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5652, allocations: 1.094 kB / 0.9586 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5652, allocations: 1.094 kB / 0.9586 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5652, allocations: 0 / 0.9586 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.5655, allocations: 300.6 kB / 0.9588 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5655, allocations: 3.938 kB / 0.9588 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.5656, allocations: 37.56 kB / 0.9589 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5656, allocations: 1.062 kB / 0.9589 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5657, allocations: 5.031 kB / 0.9589 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5657, allocations: 3.938 kB / 0.9589 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5657, allocations: 1.094 kB / 0.9589 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.5662, allocations: 346 kB / 0.9592 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.5663, allocations: 98.47 kB / 0.9593 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.5663, allocations: 13.09 kB / 0.9593 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.5665, allocations: 11.86 kB / 0.9593 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.5665, allocations: 7.422 kB / 0.9593 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5665, allocations: 6.625 kB / 0.9594 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001276/0.5666, allocations: 178.4 kB / 0.9595 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5667, allocations: 0 / 0.9595 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003462/0.567, allocations: 68.19 kB / 0.9596 GB, free: 1.273 MB / 0.7169 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.000693/0.5677, allocations: 0.8763 MB / 0.9604 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005193/0.5682, allocations: 231.2 kB / 0.9607 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5682, allocations: 1.656 kB / 0.9607 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.5684, allocations: 75.36 kB / 0.9607 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.5688, allocations: 34.36 kB / 0.9608 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5716, allocations: 2.291 MB / 0.963 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5719, allocations: 0.738 MB / 0.9637 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.637e-05/0.572, allocations: 16.23 kB / 0.9637 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5721, allocations: 65.09 kB / 0.9638 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5721, allocations: 0 / 0.9638 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4758/1.048, allocations: 4.079 MB / 0.9678 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/8.131, allocations: 5.438 kB / 0.9678 GB, free: 11.76 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)