Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001331/0.001331, allocations: 174.2 kB / 371.8 MB, free: 10.27 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.162/2.162, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001187/0.001187, allocations: 89.58 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 14.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.385, allocations: 141.9 MB / 1.118 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.386, allocations: 78.94 kB / 1.118 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0221/1.408, allocations: 8.908 MB / 1.127 GB, free: 30.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/1.408, allocations: 0 / 1.127 GB, free: 30.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.541e-05/1.408, allocations: 11.69 kB / 1.127 GB, free: 30.8 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001553/1.41, allocations: 0.8876 MB / 1.128 GB, free: 30.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.41, allocations: 15.64 kB / 1.128 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/1.41, allocations: 89.92 kB / 1.128 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/1.41, allocations: 73.88 kB / 1.128 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/1.411, allocations: 451.8 kB / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/1.411, allocations: 37 kB / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/1.411, allocations: 53.75 kB / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/1.412, allocations: 0.5665 MB / 1.129 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.412, allocations: 0 / 1.129 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/1.412, allocations: 27.11 kB / 1.129 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/1.412, allocations: 17.41 kB / 1.129 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/1.413, allocations: 466.8 kB / 1.129 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/1.415, allocations: 1.778 MB / 1.131 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/1.417, allocations: 0.5854 MB / 1.132 GB, free: 28.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/1.417, allocations: 4.5 kB / 1.132 GB, free: 28.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/1.417, allocations: 296.5 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.895e-06/1.417, allocations: 4 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001256/1.419, allocations: 0.5833 MB / 1.133 GB, free: 28.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/1.419, allocations: 158.1 kB / 1.133 GB, free: 27.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/1.419, allocations: 478.5 kB / 1.133 GB, free: 27.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.419, allocations: 36.42 kB / 1.133 GB, free: 27.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/1.42, allocations: 292.7 kB / 1.134 GB, free: 27.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/1.42, allocations: 116.1 kB / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/1.42, allocations: 17.53 kB / 1.134 GB, free: 27.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.42, allocations: 364.5 kB / 1.134 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/1.42, allocations: 164.8 kB / 1.134 GB, free: 27.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/1.421, allocations: 254.5 kB / 1.134 GB, free: 27.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/1.421, allocations: 174.9 kB / 1.135 GB, free: 27.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.421, allocations: 3.906 kB / 1.135 GB, free: 27.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008863/1.422, allocations: 488.4 kB / 1.135 GB, free: 26.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/1.422, allocations: 370 kB / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.422, allocations: 0 / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.422, allocations: 3.875 kB / 1.135 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/1.423, allocations: 84.52 kB / 1.135 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.423, allocations: 7.969 kB / 1.135 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/1.423, allocations: 88.55 kB / 1.136 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/1.423, allocations: 19.3 kB / 1.136 GB, free: 26.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/1.423, allocations: 3.812 kB / 1.136 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005978/1.424, allocations: 329.2 kB / 1.136 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/1.424, allocations: 0 / 1.136 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/1.424, allocations: 3.906 kB / 1.136 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/1.424, allocations: 89.41 kB / 1.136 GB, free: 26.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/1.424, allocations: 3.844 kB / 1.136 GB, free: 26.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/1.424, allocations: 63.56 kB / 1.136 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/1.424, allocations: 19.47 kB / 1.136 GB, free: 26.39 MB / 0.698 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 () * Number of clocked 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.0003963/1.425, allocations: 266.1 kB / 1.136 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/1.425, allocations: 58.34 kB / 1.136 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009311/1.426, allocations: 462.6 kB / 1.137 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.426, allocations: 11.8 kB / 1.137 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.426, allocations: 0 / 1.137 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.426, allocations: 0 / 1.137 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.427, allocations: 1.167 MB / 1.138 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.427, allocations: 4.031 kB / 1.138 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/1.428, allocations: 81.02 kB / 1.138 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.428, allocations: 7.938 kB / 1.138 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/1.428, allocations: 10.59 kB / 1.138 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.428, allocations: 11.77 kB / 1.138 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.428, allocations: 0 / 1.138 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.429, allocations: 0.77 MB / 1.139 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/1.429, allocations: 146 kB / 1.139 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/1.429, allocations: 7.375 kB / 1.139 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/1.43, allocations: 54.11 kB / 1.139 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/1.43, allocations: 30.42 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/1.43, allocations: 11.5 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004356/1.43, allocations: 378.4 kB / 1.139 GB, free: 24.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/1.43, allocations: 0 / 1.139 GB, free: 24.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005824/1.431, allocations: 181.3 kB / 1.14 GB, free: 24.82 MB / 0.698 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) * Number of clocked states: 0 () * 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.001633/1.432, allocations: 1.404 MB / 1.141 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001137/1.434, allocations: 0.5668 MB / 1.142 GB, free: 23.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.434, allocations: 8 kB / 1.142 GB, free: 23.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/1.434, allocations: 202.3 kB / 1.142 GB, free: 23.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/1.434, allocations: 96.25 kB / 1.142 GB, free: 23.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/1.44, allocations: 3.682 MB / 1.145 GB, free: 21.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/1.44, allocations: 0.8766 MB / 1.146 GB, free: 21.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002994/1.44, allocations: 59.25 kB / 1.146 GB, free: 21.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.441, allocations: 210.5 kB / 1.147 GB, free: 21.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/1.441, allocations: 0 / 1.147 GB, free: 21.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/1.469, allocations: 10.01 MB / 1.156 GB, free: 16.37 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.469, allocations: 203.9 kB / 1.156 GB, free: 16.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/4.322, allocations: 2.672 kB / 1.156 GB, free: 16.12 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)