Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001196, allocations: 180.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008609/0.0008608, allocations: 98.67 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.786e-05, allocations: 0 / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7482, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.9535, allocations: 139.9 MB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.9538, allocations: 88.48 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009376/0.9632, allocations: 3.596 MB / 1.114 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9632, allocations: 0 / 1.114 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.9633, allocations: 4 kB / 1.114 GB, free: 6.59 MB / 0.7136 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.0007065/0.964, allocations: 0.4897 MB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.964, allocations: 12.88 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.9641, allocations: 29.95 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.9645, allocations: 272.7 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.9645, allocations: 4 kB / 1.114 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.9646, allocations: 12 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002724/0.9648, allocations: 126.4 kB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.9652, allocations: 188.9 kB / 1.115 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9652, allocations: 0 / 1.115 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.9652, allocations: 4 kB / 1.115 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.9653, allocations: 4 kB / 1.115 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.9664, allocations: 0.7633 MB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.9668, allocations: 154.8 kB / 1.116 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.967, allocations: 72.94 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.967, allocations: 0 / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.9672, allocations: 95.33 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.9672, allocations: 0 / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002937/0.9675, allocations: 145.6 kB / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.9676, allocations: 81.11 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.9678, allocations: 182 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.9678, allocations: 30.64 kB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.9679, allocations: 152.2 kB / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.968, allocations: 43.3 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.968, allocations: 3.391 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.9682, allocations: 330.8 kB / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.9683, allocations: 44 kB / 1.117 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.9684, allocations: 75.42 kB / 1.117 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.234e-05/0.9685, allocations: 48.92 kB / 1.117 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9685, allocations: 3.984 kB / 1.117 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002318/0.9687, allocations: 150.8 kB / 1.117 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.9688, allocations: 190.5 kB / 1.117 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.9689, allocations: 0 / 1.117 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.9689, allocations: 4 kB / 1.117 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.9691, allocations: 43.16 kB / 1.117 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.9691, allocations: 0 / 1.117 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.9692, allocations: 31.97 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.9692, allocations: 0 / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.9693, allocations: 4 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001726/0.9694, allocations: 95.92 kB / 1.117 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.9695, allocations: 5.328 kB / 1.117 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/0.9695, allocations: 0 / 1.117 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.9696, allocations: 31.92 kB / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-06/0.9696, allocations: 0 / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.9697, allocations: 31.81 kB / 1.117 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.9697, allocations: 4 kB / 1.117 GB, free: 2.461 MB / 0.7136 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 () * 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.0001031/0.9699, allocations: 118.3 kB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001964/0.9701, allocations: 127.2 kB / 1.118 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.9701, allocations: 15.81 kB / 1.118 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.9702, allocations: 21.95 kB / 1.118 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.9702, allocations: 3.953 kB / 1.118 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.9702, allocations: 4 kB / 1.118 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9702, allocations: 4 kB / 1.118 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.9707, allocations: 482.9 kB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.9707, allocations: 0 / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.9709, allocations: 43.84 kB / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.971, allocations: 0 / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.971, allocations: 0 / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.971, allocations: 7.953 kB / 1.118 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.971, allocations: 0 / 1.118 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.9714, allocations: 299.5 kB / 1.118 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.9715, allocations: 100.9 kB / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.9715, allocations: 3.938 kB / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.9717, allocations: 15.98 kB / 1.119 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.9717, allocations: 26.12 kB / 1.119 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.9717, allocations: 4.062 kB / 1.119 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001457/0.9719, allocations: 151 kB / 1.119 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9719, allocations: 0 / 1.119 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003592/0.9723, allocations: 63.67 kB / 1.119 GB, free: 0.9219 MB / 0.7136 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 () * 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.0007863/0.9731, allocations: 0.8333 MB / 1.12 GB, free: 64 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.9734, allocations: 173.3 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9734, allocations: 0 / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.9735, allocations: 58.31 kB / 1.12 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.9739, allocations: 33.98 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.9747, allocations: 325.7 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.9752, allocations: 0.7522 MB / 1.121 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.9753, allocations: 23.95 kB / 1.121 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.9754, allocations: 71.41 kB / 1.121 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.9754, allocations: 4 kB / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.9985, allocations: 3.559 MB / 1.124 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.9988, allocations: 156.6 kB / 1.125 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.873, allocations: 3.938 kB / 1.125 GB, free: 10.91 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)