Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.821/1.821, allocations: 288.2 MB / 303.2 MB, free: 8.355 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.001972/0.001972, allocations: 172.5 kB / 371.8 MB, free: 10.3 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.311/2.311, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 97.14 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 11.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.332, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.403, allocations: 139.6 MB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/1.404, allocations: 89.72 kB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009308/1.413, allocations: 3.634 MB / 1.119 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.417e-06/1.413, allocations: 0 / 1.119 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.224e-05/1.413, allocations: 7.594 kB / 1.119 GB, free: 31.91 MB / 0.698 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.0008711/1.414, allocations: 0.5208 MB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.414, allocations: 11.7 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.789e-05/1.414, allocations: 62.16 kB / 1.12 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/1.414, allocations: 23.25 kB / 1.12 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/1.415, allocations: 268.8 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/1.415, allocations: 18.97 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/1.415, allocations: 22.94 kB / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/1.415, allocations: 243.2 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.415, allocations: 2.734 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/1.415, allocations: 10.38 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/1.415, allocations: 7.844 kB / 1.121 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/1.416, allocations: 192.9 kB / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/1.417, allocations: 0.8307 MB / 1.122 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/1.417, allocations: 223.7 kB / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/1.417, allocations: 4 kB / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/1.418, allocations: 137.5 kB / 1.122 GB, free: 30.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/1.418, allocations: 0 / 1.122 GB, free: 30.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006789/1.418, allocations: 281.7 kB / 1.122 GB, free: 30.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/1.419, allocations: 80.92 kB / 1.122 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/1.419, allocations: 229.1 kB / 1.123 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/1.419, allocations: 29.52 kB / 1.123 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.419, allocations: 147.7 kB / 1.123 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/1.419, allocations: 45.36 kB / 1.123 GB, free: 30.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/1.419, allocations: 3.938 kB / 1.123 GB, free: 30.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.419, allocations: 332 kB / 1.123 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.419, allocations: 74.33 kB / 1.123 GB, free: 29.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/1.42, allocations: 114.1 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/1.42, allocations: 74 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.42, allocations: 0 / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004334/1.42, allocations: 230 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.42, allocations: 185.8 kB / 1.124 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.42, allocations: 1.75 kB / 1.124 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.42, allocations: 0 / 1.124 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/1.421, allocations: 46.31 kB / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.421, allocations: 0 / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/1.421, allocations: 36.75 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/1.421, allocations: 7.719 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/1.421, allocations: 3.781 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002884/1.421, allocations: 144 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/1.421, allocations: 0 / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/1.421, allocations: 6.5 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/1.421, allocations: 33.8 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/1.421, allocations: 3.953 kB / 1.124 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1.421, allocations: 28.72 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/1.421, allocations: 11.81 kB / 1.124 GB, free: 29.59 MB / 0.698 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.0002179/1.422, allocations: 212 kB / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/1.422, allocations: 23.45 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/1.422, allocations: 27.83 kB / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.422, allocations: 2.906 kB / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/1.422, allocations: 7.828 kB / 1.124 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.422, allocations: 0 / 1.124 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/1.423, allocations: 0.5887 MB / 1.125 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.423, allocations: 7.906 kB / 1.125 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/1.423, allocations: 43.69 kB / 1.125 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.423, allocations: 3.906 kB / 1.125 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.423, allocations: 3.953 kB / 1.125 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.423, allocations: 0 / 1.125 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.423, allocations: 0 / 1.125 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/1.423, allocations: 403.8 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/1.424, allocations: 102.8 kB / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/1.424, allocations: 0 / 1.125 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.424, allocations: 24.09 kB / 1.125 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/1.424, allocations: 10.28 kB / 1.125 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/1.424, allocations: 0 / 1.125 GB, free: 28.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00018/1.424, allocations: 193.8 kB / 1.126 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.172e-06/1.424, allocations: 0 / 1.126 GB, free: 28.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000361/1.424, allocations: 76.55 kB / 1.126 GB, free: 28.68 MB / 0.698 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.001097/1.426, allocations: 0.936 MB / 1.127 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005816/1.426, allocations: 252.7 kB / 1.127 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.426, allocations: 0 / 1.127 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/1.426, allocations: 89.7 kB / 1.127 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/1.427, allocations: 47.45 kB / 1.127 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/1.429, allocations: 1.51 MB / 1.128 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/1.43, allocations: 0.7558 MB / 1.129 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001149/1.43, allocations: 20.02 kB / 1.129 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.43, allocations: 75.94 kB / 1.129 GB, free: 26.56 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/1.43, allocations: 0 / 1.129 GB, free: 26.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/1.448, allocations: 4.165 MB / 1.133 GB, free: 25.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.448, allocations: 201.1 kB / 1.134 GB, free: 25.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.923, allocations: 4 kB / 1.134 GB, free: 25.52 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)