Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.978/1.978, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001082/0.001082, allocations: 176.9 kB / 371.6 MB, free: 3.41 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.711/1.711, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001006/0.001006, allocations: 93.06 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.909e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2758, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9123/1.188, allocations: 142.8 MB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.188, allocations: 79.11 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02073/1.209, allocations: 8.9 MB / 1.128 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.234e-06/1.209, allocations: 0 / 1.128 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.095e-05/1.209, allocations: 19.94 kB / 1.128 GB, free: 37.41 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001032/1.21, allocations: 0.7772 MB / 1.129 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.21, allocations: 12.03 kB / 1.129 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.193e-05/1.21, allocations: 93.02 kB / 1.129 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/1.211, allocations: 72.88 kB / 1.129 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/1.211, allocations: 444.7 kB / 1.129 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/1.211, allocations: 40.77 kB / 1.13 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/1.211, allocations: 53.06 kB / 1.13 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/1.212, allocations: 0.5065 MB / 1.13 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.212, allocations: 0 / 1.13 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/1.212, allocations: 20.88 kB / 1.13 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.212, allocations: 20 kB / 1.13 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/1.213, allocations: 364.4 kB / 1.13 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/1.215, allocations: 1.779 MB / 1.132 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/1.216, allocations: 499 kB / 1.133 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/1.216, allocations: 177.2 kB / 1.133 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/1.216, allocations: 7.422 kB / 1.133 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/1.217, allocations: 239.1 kB / 1.133 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 2.836e-06/1.217, allocations: 0 / 1.133 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0005386/1.217, allocations: 336.6 kB / 1.133 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/1.217, allocations: 158.8 kB / 1.134 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/1.218, allocations: 472.7 kB / 1.134 GB, free: 33.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/1.218, allocations: 32.92 kB / 1.134 GB, free: 33.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/1.218, allocations: 298.4 kB / 1.134 GB, free: 33.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/1.218, allocations: 112.7 kB / 1.134 GB, free: 33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/1.218, allocations: 14.28 kB / 1.134 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/1.218, allocations: 367.1 kB / 1.135 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.218, allocations: 111.6 kB / 1.135 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/1.218, allocations: 190.6 kB / 1.135 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/1.219, allocations: 134.7 kB / 1.135 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.219, allocations: 0 / 1.135 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005089/1.219, allocations: 376.7 kB / 1.136 GB, free: 32.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.726e-05/1.219, allocations: 363 kB / 1.136 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.219, allocations: 1.125 kB / 1.136 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.219, allocations: 8.078 kB / 1.136 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/1.22, allocations: 89.2 kB / 1.136 GB, free: 31.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.22, allocations: 7.469 kB / 1.136 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/1.22, allocations: 88.64 kB / 1.136 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/1.22, allocations: 11.94 kB / 1.136 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/1.22, allocations: 4 kB / 1.136 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003959/1.221, allocations: 289.6 kB / 1.136 GB, free: 31.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.221, allocations: 7.953 kB / 1.136 GB, free: 31.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/1.221, allocations: 0 / 1.136 GB, free: 31.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/1.221, allocations: 78.83 kB / 1.136 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/1.221, allocations: 7.938 kB / 1.136 GB, free: 31.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/1.221, allocations: 72.83 kB / 1.137 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/1.221, allocations: 11.25 kB / 1.137 GB, free: 31.29 MB / 0.7448 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 9.919e-05/1.221, allocations: 128.5 kB / 1.137 GB, free: 31.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/1.221, allocations: 51.34 kB / 1.137 GB, free: 31.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/1.222, allocations: 375.9 kB / 1.137 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.222, allocations: 4 kB / 1.137 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.222, allocations: 0 / 1.137 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.222, allocations: 3.516 kB / 1.137 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/1.223, allocations: 1.078 MB / 1.138 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.223, allocations: 4.031 kB / 1.138 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/1.223, allocations: 86.05 kB / 1.138 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.223, allocations: 4 kB / 1.138 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/1.223, allocations: 3.312 kB / 1.138 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.223, allocations: 6.25 kB / 1.138 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.223, allocations: 3.938 kB / 1.138 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/1.224, allocations: 0.6277 MB / 1.139 GB, free: 29.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/1.224, allocations: 145.3 kB / 1.139 GB, free: 29.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/1.224, allocations: 11.06 kB / 1.139 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/1.225, allocations: 50.41 kB / 1.139 GB, free: 29.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/1.225, allocations: 29.36 kB / 1.139 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/1.225, allocations: 11.81 kB / 1.139 GB, free: 29.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000399/1.225, allocations: 376.3 kB / 1.139 GB, free: 29.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.225, allocations: 0 / 1.139 GB, free: 29.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005025/1.226, allocations: 169.7 kB / 1.14 GB, free: 29.07 MB / 0.7448 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.0009926/1.227, allocations: 1.263 MB / 1.141 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007009/1.227, allocations: 477.7 kB / 1.141 GB, free: 27.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.227, allocations: 4.125 kB / 1.141 GB, free: 27.69 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/1.228, allocations: 158.1 kB / 1.141 GB, free: 27.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/1.228, allocations: 87.75 kB / 1.142 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/1.229, allocations: 0.7597 MB / 1.142 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.23, allocations: 0.8756 MB / 1.143 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003738/1.23, allocations: 85.12 kB / 1.143 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/1.23, allocations: 200.7 kB / 1.143 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/1.23, allocations: 0 / 1.143 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/1.257, allocations: 10.62 MB / 1.154 GB, free: 19.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/1.257, allocations: 162 kB / 1.154 GB, free: 19.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.58, allocations: 8 kB / 1.154 GB, free: 19.52 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)