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.803/1.803, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001928/0.001929, allocations: 183.9 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.001159/0.00116, allocations: 96.22 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005491/0.0005493, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3552, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.451, allocations: 140.6 MB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.452, allocations: 90.05 kB / 1.126 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008664/1.46, allocations: 3.624 MB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.081e-06/1.461, allocations: 4 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.656e-05/1.461, allocations: 5.641 kB / 1.129 GB, free: 31.92 MB / 0.7292 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.00073/1.461, allocations: 0.5327 MB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.461, allocations: 12.02 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/1.461, allocations: 57.5 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/1.462, allocations: 26.28 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/1.462, allocations: 262 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/1.462, allocations: 20.44 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/1.462, allocations: 20.14 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/1.462, allocations: 251.7 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.462, allocations: 1.312 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.462, allocations: 12 kB / 1.131 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/1.462, allocations: 4 kB / 1.131 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/1.463, allocations: 201 kB / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.464, allocations: 0.8242 MB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/1.464, allocations: 221 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/1.464, allocations: 0.6094 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/1.465, allocations: 137.1 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/1.465, allocations: 0 / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0006241/1.465, allocations: 288.3 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.466, allocations: 77.11 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/1.466, allocations: 232.7 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/1.466, allocations: 29.7 kB / 1.132 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/1.466, allocations: 151.8 kB / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.466, allocations: 50.81 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/1.466, allocations: 0 / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/1.466, allocations: 337.6 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/1.466, allocations: 73.98 kB / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/1.466, allocations: 108.7 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/1.467, allocations: 75.73 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.467, allocations: 32 / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003951/1.467, allocations: 230.3 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/1.467, allocations: 190 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.467, allocations: 0 / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.467, allocations: 1.125 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.467, allocations: 39.45 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.467, allocations: 5.016 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.467, allocations: 38.44 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/1.467, allocations: 4 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.467, allocations: 4 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002745/1.468, allocations: 142.7 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-06/1.468, allocations: 0.625 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-06/1.468, allocations: 0 / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.468, allocations: 34.92 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.468, allocations: 7.953 kB / 1.134 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.468, allocations: 31.48 kB / 1.134 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.468, allocations: 6.094 kB / 1.134 GB, free: 27.48 MB / 0.7292 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 () * Number of clocked 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.0001372/1.468, allocations: 213.1 kB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/1.468, allocations: 15.81 kB / 1.134 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/1.468, allocations: 29.31 kB / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.468, allocations: 0 / 1.134 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.468, allocations: 3.953 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.468, allocations: 4.562 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/1.469, allocations: 0.5919 MB / 1.135 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.469, allocations: 0 / 1.135 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/1.469, allocations: 44.3 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.469, allocations: 1.75 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/1.469, allocations: 3.953 kB / 1.135 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.469, allocations: 3.938 kB / 1.135 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.469, allocations: 0 / 1.135 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/1.47, allocations: 410.9 kB / 1.135 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/1.47, allocations: 95.11 kB / 1.135 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.47, allocations: 5.109 kB / 1.135 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.47, allocations: 24.64 kB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/1.47, allocations: 7.984 kB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/1.47, allocations: 8.062 kB / 1.135 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001644/1.47, allocations: 186.3 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.47, allocations: 0 / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003321/1.471, allocations: 72.2 kB / 1.136 GB, free: 25.84 MB / 0.7292 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 () * Number of clocked 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.0008734/1.472, allocations: 0.9393 MB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005726/1.472, allocations: 254.9 kB / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.472, allocations: 0 / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/1.472, allocations: 91.2 kB / 1.137 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/1.473, allocations: 40.75 kB / 1.137 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/1.475, allocations: 1.527 MB / 1.138 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/1.475, allocations: 0.7513 MB / 1.139 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001153/1.475, allocations: 20.98 kB / 1.139 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/1.475, allocations: 72.58 kB / 1.139 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/1.476, allocations: 0 / 1.139 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/1.493, allocations: 4.159 MB / 1.143 GB, free: 19.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.493, allocations: 196.8 kB / 1.143 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.906, allocations: 8 kB / 1.143 GB, free: 19.74 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)