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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007607/0.0007607, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.00472/0.004721, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5501, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001697/0.5519, allocations: 1.728 MB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000568/0.5525, allocations: 419.3 kB / 0.9573 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.5526, allocations: 11.94 kB / 0.9573 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.5527, allocations: 26 kB / 0.9573 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.5528, allocations: 31.19 kB / 0.9573 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.553, allocations: 82.3 kB / 0.9574 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.5532, allocations: 264.3 kB / 0.9577 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.5534, allocations: 153.3 kB / 0.9578 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.5535, allocations: 59.5 kB / 0.9579 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.5536, allocations: 71.66 kB / 0.9579 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.5536, allocations: 7.156 kB / 0.9579 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.5536, allocations: 5.375 kB / 0.9579 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.5537, allocations: 27.05 kB / 0.958 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.5537, allocations: 124.4 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.5539, allocations: 340.4 kB / 0.9584 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.554, allocations: 3.938 kB / 0.9584 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.554, allocations: 5.219 kB / 0.9584 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.554, allocations: 0 / 0.9584 GB, free: 5.078 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.0006203/0.5546, allocations: 0.5052 MB / 0.9589 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5546, allocations: 9.562 kB / 0.9589 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.5547, allocations: 54.14 kB / 0.959 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.5547, allocations: 28.72 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.555, allocations: 273.8 kB / 0.9593 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.555, allocations: 16.69 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.555, allocations: 17.62 kB / 0.9593 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.5555, allocations: 256.3 kB / 0.9595 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.5555, allocations: 0 / 0.9595 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.5555, allocations: 5.906 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5555, allocations: 6.125 kB / 0.9596 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.556, allocations: 190.4 kB / 0.9597 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008898/0.5569, allocations: 0.8649 MB / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.5573, allocations: 192.4 kB / 0.9608 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.5575, allocations: 107.8 kB / 0.9609 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.5576, allocations: 1.375 kB / 0.9609 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.5576, allocations: 35.88 kB / 0.9609 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5576, allocations: 0 / 0.9609 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006158/0.5582, allocations: 253 kB / 0.9611 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.5583, allocations: 82.34 kB / 0.9612 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.5585, allocations: 235.2 kB / 0.9614 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.5585, allocations: 26.67 kB / 0.9615 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.5586, allocations: 153.3 kB / 0.9616 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.5586, allocations: 43.62 kB / 0.9617 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.5586, allocations: 22.17 kB / 0.9617 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.5587, allocations: 327 kB / 0.962 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.5589, allocations: 77.3 kB / 0.9621 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.5591, allocations: 127 kB / 0.9622 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.5594, allocations: 173.5 kB / 0.9623 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5594, allocations: 0 / 0.9623 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004466/0.5599, allocations: 233 kB / 0.9626 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.5599, allocations: 118 kB / 0.9627 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.56, allocations: 1 kB / 0.9627 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.56, allocations: 2.438 kB / 0.9627 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.5601, allocations: 42.47 kB / 0.9627 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5601, allocations: 2.062 kB / 0.9627 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.5603, allocations: 37.83 kB / 0.9628 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5603, allocations: 4.469 kB / 0.9628 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.5603, allocations: 4.094 kB / 0.9628 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002995/0.5606, allocations: 152.1 kB / 0.9629 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.5606, allocations: 4.938 kB / 0.9629 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-06/0.5606, allocations: 2 kB / 0.9629 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5608, allocations: 34.55 kB / 0.963 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.5608, allocations: 5.094 kB / 0.963 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.5609, allocations: 30.3 kB / 0.963 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.5609, allocations: 3.656 kB / 0.963 GB, free: 1.484 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 9.731e-05/0.561, allocations: 226 kB / 0.9632 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.5611, allocations: 19.97 kB / 0.9632 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.5611, allocations: 18.19 kB / 0.9632 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5611, allocations: 9.953 kB / 0.9633 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5611, allocations: 0 / 0.9633 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5611, allocations: 1.094 kB / 0.9633 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.5614, allocations: 299.6 kB / 0.9635 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5614, allocations: 1.469 kB / 0.9635 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5615, allocations: 36.94 kB / 0.9636 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5615, allocations: 1.375 kB / 0.9636 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5616, allocations: 4 kB / 0.9636 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5616, allocations: 5.5 kB / 0.9636 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5616, allocations: 0 / 0.9636 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.5622, allocations: 380.9 kB / 0.964 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.5622, allocations: 101.7 kB / 0.9641 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.5622, allocations: 1.344 kB / 0.9641 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.5624, allocations: 24.39 kB / 0.9641 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.5624, allocations: 7.672 kB / 0.9641 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.5625, allocations: 3.656 kB / 0.9641 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001243/0.5626, allocations: 177.8 kB / 0.9643 GB, free: 416 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5626, allocations: 0 / 0.9643 GB, free: 416 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003404/0.5629, allocations: 65.19 kB / 0.9643 GB, free: 396 kB / 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.0008461/0.5638, allocations: 0.9052 MB / 0.9652 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005656/0.5644, allocations: 243.8 kB / 0.9654 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5644, allocations: 1.5 kB / 0.9654 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.5646, allocations: 80.92 kB / 0.9655 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.565, allocations: 38.77 kB / 0.9656 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.5681, allocations: 2.417 MB / 0.9679 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5684, allocations: 0.7375 MB / 0.9686 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.091e-05/0.5685, allocations: 24.22 kB / 0.9687 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.5686, allocations: 65.25 kB / 0.9687 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.5686, allocations: 0 / 0.9687 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4741/1.043, allocations: 3.742 MB / 0.9724 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.043, allocations: 220.2 kB / 0.9726 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.807, allocations: 0 / 0.9726 GB, free: 10.82 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)