Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.662/2.662, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001564/0.001564, allocations: 184.9 kB / 360.6 MB, free: 7.301 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.034/2.034, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001127/0.001127, allocations: 103.8 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.451e-05, allocations: 0 / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8664, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/1.117, allocations: 141 MB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/1.117, allocations: 86.56 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03803/1.155, allocations: 8.831 MB / 1.11 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/1.155, allocations: 0 / 1.11 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.773e-05/1.155, allocations: 12 kB / 1.11 GB, free: 6.727 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002149/1.157, allocations: 0.7868 MB / 1.111 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.158, allocations: 12.03 kB / 1.111 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/1.158, allocations: 72.36 kB / 1.111 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/1.159, allocations: 446.8 kB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/1.159, allocations: 16 kB / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.159, allocations: 32 kB / 1.111 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001069/1.16, allocations: 330.8 kB / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.162, allocations: 445.1 kB / 1.112 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/1.162, allocations: 6 kB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/1.162, allocations: 0 / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/1.162, allocations: 18.62 kB / 1.112 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/1.166, allocations: 1.652 MB / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/1.168, allocations: 474.8 kB / 1.114 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/1.169, allocations: 158.4 kB / 1.114 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/1.169, allocations: 8 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005655/1.169, allocations: 229.9 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 3.326e-06/1.169, allocations: 0 / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0009687/1.17, allocations: 305.9 kB / 1.115 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.171, allocations: 162.2 kB / 1.115 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/1.171, allocations: 345.2 kB / 1.115 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.171, allocations: 29.7 kB / 1.115 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/1.172, allocations: 300.6 kB / 1.115 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/1.172, allocations: 114.3 kB / 1.116 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/1.172, allocations: 0 / 1.116 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.172, allocations: 354.8 kB / 1.116 GB, free: 276 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/1.173, allocations: 104 kB / 1.116 GB, free: 172 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/1.173, allocations: 196.9 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/1.173, allocations: 122.9 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.173, allocations: 0 / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009865/1.174, allocations: 346.1 kB / 1.117 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00021/1.175, allocations: 361.1 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.175, allocations: 4 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.175, allocations: 0 / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/1.176, allocations: 95.81 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.176, allocations: 0 / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/1.176, allocations: 75.64 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/1.176, allocations: 17.14 kB / 1.117 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.176, allocations: 4 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007556/1.177, allocations: 248.5 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.177, allocations: 0 / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.177, allocations: 7.953 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/1.178, allocations: 76 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.178, allocations: 7.984 kB / 1.117 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/1.178, allocations: 43.81 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/1.179, allocations: 17.12 kB / 1.118 GB, free: 14.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002175/1.179, allocations: 120.7 kB / 1.118 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008797/1.18, allocations: 308.9 kB / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.18, allocations: 47.39 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009649/1.181, allocations: 326.2 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.181, allocations: 4 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.181, allocations: 5.672 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.181, allocations: 0 / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/1.183, allocations: 0.9747 MB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/1.183, allocations: 3.953 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/1.184, allocations: 81.27 kB / 1.119 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.184, allocations: 4 kB / 1.119 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/1.184, allocations: 7.922 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.184, allocations: 8.031 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.184, allocations: 0 / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/1.185, allocations: 0.5794 MB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.185, allocations: 124.6 kB / 1.12 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/1.186, allocations: 0 / 1.12 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005545/1.186, allocations: 52.02 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.186, allocations: 27.95 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/1.186, allocations: 10.06 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005013/1.187, allocations: 271 kB / 1.12 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.52e-07/1.187, allocations: 4 kB / 1.12 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009391/1.188, allocations: 175 kB / 1.121 GB, free: 11.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001828/1.19, allocations: 1.206 MB / 1.122 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001289/1.191, allocations: 454 kB / 1.122 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.191, allocations: 0 / 1.122 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00045/1.192, allocations: 151.8 kB / 1.122 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/1.192, allocations: 86.27 kB / 1.122 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/1.195, allocations: 0.7123 MB / 1.123 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.196, allocations: 0.8825 MB / 1.124 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006786/1.196, allocations: 73.22 kB / 1.124 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/1.197, allocations: 191.4 kB / 1.124 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of SimCode: time 1.563e-06/1.197, allocations: 0 / 1.124 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06091/1.258, allocations: 8.744 MB / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/1.258, allocations: 145.9 kB / 1.133 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/4.267, allocations: 0 / 1.133 GB, free: 14.73 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)