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.726/1.726, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001226/0.001226, allocations: 181.7 kB / 371.6 MB, free: 3.371 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.875/1.875, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.001094/0.001094, allocations: 90.36 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.587e-05/4.6e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3129, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.338, allocations: 140.5 MB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/1.338, allocations: 94.08 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007834/1.346, allocations: 3.618 MB / 1.121 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.923e-06/1.346, allocations: 0 / 1.121 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.465e-05/1.346, allocations: 4 kB / 1.121 GB, free: 41.59 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.0006015/1.347, allocations: 0.4886 MB / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.347, allocations: 8.031 kB / 1.121 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/1.347, allocations: 53.23 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/1.347, allocations: 29.34 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/1.347, allocations: 274.8 kB / 1.122 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/1.347, allocations: 18.83 kB / 1.122 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/1.347, allocations: 19.52 kB / 1.122 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/1.347, allocations: 215.2 kB / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.347, allocations: 0 / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/1.348, allocations: 10.7 kB / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.348, allocations: 4 kB / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/1.348, allocations: 141.4 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/1.349, allocations: 0.8203 MB / 1.123 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/1.349, allocations: 164.7 kB / 1.123 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/1.349, allocations: 81.3 kB / 1.123 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/1.349, allocations: 0 / 1.123 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/1.349, allocations: 108.5 kB / 1.123 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/1.349, allocations: 0 / 1.123 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002716/1.35, allocations: 146.3 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.35, allocations: 81.11 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/1.35, allocations: 221.5 kB / 1.124 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/1.35, allocations: 33.64 kB / 1.124 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/1.35, allocations: 156.6 kB / 1.124 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/1.35, allocations: 42.59 kB / 1.124 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-06/1.35, allocations: 0 / 1.124 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/1.35, allocations: 333 kB / 1.124 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/1.35, allocations: 47.5 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/1.35, allocations: 74.28 kB / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/1.351, allocations: 59.2 kB / 1.124 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.351, allocations: 0 / 1.124 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002288/1.351, allocations: 163.8 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/1.351, allocations: 185.6 kB / 1.125 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.351, allocations: 0 / 1.125 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.351, allocations: 4.031 kB / 1.125 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/1.351, allocations: 43.34 kB / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.351, allocations: 0 / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.351, allocations: 29.42 kB / 1.125 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/1.351, allocations: 7.938 kB / 1.125 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/1.351, allocations: 10.95 kB / 1.125 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001676/1.351, allocations: 109.4 kB / 1.125 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/1.351, allocations: 0.9375 kB / 1.125 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/1.351, allocations: 0 / 1.125 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/1.352, allocations: 38.92 kB / 1.125 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/1.352, allocations: 4 kB / 1.125 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/1.352, allocations: 23.91 kB / 1.125 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.352, allocations: 8.031 kB / 1.125 GB, free: 38.23 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 () * 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 7.28e-05/1.352, allocations: 117.9 kB / 1.125 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/1.352, allocations: 15.81 kB / 1.125 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/1.352, allocations: 24.88 kB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.352, allocations: 4 kB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.352, allocations: 4.703 kB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.352, allocations: 3.281 kB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/1.352, allocations: 0.5273 MB / 1.126 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.352, allocations: 7.516 kB / 1.126 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/1.353, allocations: 31.19 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.353, allocations: 4.609 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.353, allocations: 3.953 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.353, allocations: 0.7031 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.353, allocations: 0.6562 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/1.353, allocations: 326.8 kB / 1.126 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/1.353, allocations: 100.8 kB / 1.126 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/1.353, allocations: 4 kB / 1.126 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/1.353, allocations: 23.25 kB / 1.126 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/1.353, allocations: 7.469 kB / 1.126 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/1.353, allocations: 8.438 kB / 1.126 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001497/1.354, allocations: 190.5 kB / 1.126 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.354, allocations: 4.062 kB / 1.126 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003105/1.354, allocations: 67.56 kB / 1.126 GB, free: 37.05 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 () * 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.0005356/1.354, allocations: 0.8451 MB / 1.127 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002947/1.355, allocations: 185.4 kB / 1.127 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.355, allocations: 4.188 kB / 1.127 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/1.355, allocations: 55.12 kB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/1.355, allocations: 37.56 kB / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/1.356, allocations: 341 kB / 1.128 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/1.356, allocations: 0.7515 MB / 1.128 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001416/1.356, allocations: 30.78 kB / 1.128 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.356, allocations: 72.84 kB / 1.129 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.356, allocations: 0 / 1.129 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/1.374, allocations: 4.405 MB / 1.133 GB, free: 32.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.374, allocations: 172.9 kB / 1.133 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/3.491, allocations: 0 / 1.133 GB, free: 32.3 MB / 0.7448 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)