Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 182.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009669/0.0009668, allocations: 94.47 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.612e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2087, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7056/0.9143, allocations: 136.3 MB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.9146, allocations: 87.56 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0236/0.9382, allocations: 9.529 MB / 1.034 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9383, allocations: 4 kB / 1.034 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.385e-05/0.9383, allocations: 11.94 kB / 1.034 GB, free: 6.488 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001245/0.9396, allocations: 0.7327 MB / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9396, allocations: 8.031 kB / 1.035 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.9398, allocations: 85.27 kB / 1.035 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.9399, allocations: 67.16 kB / 1.035 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.9406, allocations: 434.2 kB / 1.036 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.9407, allocations: 30 kB / 1.036 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.9407, allocations: 53.62 kB / 1.036 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.9415, allocations: 471.1 kB / 1.036 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.9415, allocations: 3.938 kB / 1.036 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.9416, allocations: 18.06 kB / 1.036 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.9416, allocations: 12 kB / 1.036 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.9422, allocations: 324.5 kB / 1.036 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.9446, allocations: 1.936 MB / 1.038 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.9452, allocations: 340.2 kB / 1.039 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.9455, allocations: 157.5 kB / 1.039 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.9455, allocations: 15.88 kB / 1.039 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.9456, allocations: 37.98 kB / 1.039 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.9456, allocations: 7.938 kB / 1.039 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0005322/0.9461, allocations: 300 kB / 1.039 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.9462, allocations: 106.8 kB / 1.039 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.9467, allocations: 435 kB / 1.04 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.9467, allocations: 33.52 kB / 1.04 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.9469, allocations: 264 kB / 1.04 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.947, allocations: 120.2 kB / 1.04 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.947, allocations: 2.812 kB / 1.04 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9472, allocations: 364 kB / 1.04 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.9474, allocations: 104.7 kB / 1.041 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.9476, allocations: 165.3 kB / 1.041 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.9478, allocations: 114.3 kB / 1.041 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9478, allocations: 4 kB / 1.041 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005342/0.9484, allocations: 350.8 kB / 1.041 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.9485, allocations: 273.9 kB / 1.041 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9485, allocations: 8.047 kB / 1.041 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9485, allocations: 4 kB / 1.041 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.9489, allocations: 79.89 kB / 1.042 GB, free: 452 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.9489, allocations: 4 kB / 1.042 GB, free: 448 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.9492, allocations: 74.25 kB / 1.042 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.9493, allocations: 15.17 kB / 1.042 GB, free: 368 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.9493, allocations: 9.359 kB / 1.042 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003997/0.9497, allocations: 258.2 kB / 1.042 GB, free: 196 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/0.9497, allocations: 3.938 kB / 1.042 GB, free: 192 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.9497, allocations: 4 kB / 1.042 GB, free: 188 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.95, allocations: 70.53 kB / 1.042 GB, free: 120 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.95, allocations: 4 kB / 1.042 GB, free: 116 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.9503, allocations: 53.91 kB / 1.042 GB, free: 68 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.9503, allocations: 10.81 kB / 1.042 GB, free: 60 kB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001343/0.9505, allocations: 118.7 kB / 1.042 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.9505, allocations: 59.3 kB / 1.042 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.9511, allocations: 336 kB / 1.042 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9511, allocations: 4 kB / 1.043 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9511, allocations: 0 / 1.043 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.9511, allocations: 3.984 kB / 1.043 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.9523, allocations: 0.9397 MB / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.9523, allocations: 4.094 kB / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.9527, allocations: 79.08 kB / 1.044 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.9527, allocations: 7.938 kB / 1.044 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.9528, allocations: 10.86 kB / 1.044 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.9528, allocations: 4 kB / 1.044 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9528, allocations: 0 / 1.044 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008007/0.9536, allocations: 0.623 MB / 1.044 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.9537, allocations: 135.3 kB / 1.044 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.9538, allocations: 11.19 kB / 1.044 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.9541, allocations: 38.91 kB / 1.044 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.9542, allocations: 27.67 kB / 1.044 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.9542, allocations: 11.5 kB / 1.044 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003911/0.9546, allocations: 346.2 kB / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9546, allocations: 0 / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000491/0.9551, allocations: 153.6 kB / 1.045 GB, free: 13.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001143/0.9562, allocations: 1.373 MB / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000672/0.9569, allocations: 426 kB / 1.047 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9569, allocations: 0 / 1.047 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.9572, allocations: 152.1 kB / 1.047 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.9577, allocations: 107.2 kB / 1.047 GB, free: 12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.9594, allocations: 0.7086 MB / 1.048 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.96, allocations: 0.8558 MB / 1.048 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004601/0.9605, allocations: 78.11 kB / 1.048 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.9608, allocations: 181.2 kB / 1.049 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/0.9608, allocations: 0 / 1.049 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.9859, allocations: 9.848 MB / 1.058 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.9861, allocations: 168.8 kB / 1.058 GB, free: 440 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/3.187, allocations: 0 / 1.058 GB, free: 440 kB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)