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.473/1.473, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 183.8 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009033/0.0009032, allocations: 92.25 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 8.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2545, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.4438, allocations: 136.3 MB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4441, allocations: 79.95 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02367/0.4678, allocations: 9.573 MB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4678, allocations: 0 / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.175e-05/0.4679, allocations: 16 kB / 1.043 GB, free: 13.67 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001707/0.4696, allocations: 0.8101 MB / 1.044 GB, free: 12.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.4697, allocations: 8.031 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.4699, allocations: 90.52 kB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.4701, allocations: 67.16 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.4708, allocations: 432.7 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.4709, allocations: 37 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.991e-05/0.4709, allocations: 40 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.472, allocations: 0.5179 MB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.472, allocations: 0 / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.472, allocations: 20 kB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4721, allocations: 16 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.473, allocations: 423.7 kB / 1.045 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.4759, allocations: 1.938 MB / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.4769, allocations: 447.8 kB / 1.047 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.4769, allocations: 4 kB / 1.047 GB, free: 8.637 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.477, allocations: 42.52 kB / 1.047 GB, free: 8.586 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.477, allocations: 4 kB / 1.047 GB, free: 8.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.001298/0.4783, allocations: 0.537 MB / 1.048 GB, free: 8.039 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.4784, allocations: 110.8 kB / 1.048 GB, free: 7.906 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.479, allocations: 441.3 kB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.479, allocations: 37.7 kB / 1.049 GB, free: 7.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.4793, allocations: 264.2 kB / 1.049 GB, free: 7.164 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.4794, allocations: 114.3 kB / 1.049 GB, free: 7.051 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.4794, allocations: 8 kB / 1.049 GB, free: 7.043 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4796, allocations: 366.7 kB / 1.049 GB, free: 6.676 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.48, allocations: 152.6 kB / 1.049 GB, free: 6.523 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.4804, allocations: 219.9 kB / 1.05 GB, free: 6.289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.4808, allocations: 168 kB / 1.05 GB, free: 6.125 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4808, allocations: 0 / 1.05 GB, free: 6.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009406/0.4817, allocations: 448.2 kB / 1.05 GB, free: 5.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.4819, allocations: 279 kB / 1.05 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4819, allocations: 0 / 1.05 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.482, allocations: 11.92 kB / 1.05 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.4823, allocations: 87.89 kB / 1.051 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.4824, allocations: 3.938 kB / 1.051 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.4827, allocations: 67.56 kB / 1.051 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.4828, allocations: 11.98 kB / 1.051 GB, free: 5.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4828, allocations: 8 kB / 1.051 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006358/0.4834, allocations: 315.3 kB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.4834, allocations: 64 / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.4835, allocations: 8 kB / 1.051 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.4837, allocations: 63.91 kB / 1.051 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4838, allocations: 4 kB / 1.051 GB, free: 4.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.484, allocations: 55.66 kB / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.4841, allocations: 12 kB / 1.051 GB, free: 4.75 MB / 0.698 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 () * Number of clocked 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.0003434/0.4844, allocations: 258.1 kB / 1.051 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.4845, allocations: 55.3 kB / 1.051 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009595/0.4855, allocations: 434.4 kB / 1.052 GB, free: 4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4855, allocations: 8 kB / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4855, allocations: 0 / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.4855, allocations: 3.984 kB / 1.052 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.4871, allocations: 1.043 MB / 1.053 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4871, allocations: 0 / 1.053 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.4875, allocations: 79.89 kB / 1.053 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.4875, allocations: 7.938 kB / 1.053 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.4875, allocations: 7.984 kB / 1.053 GB, free: 2.785 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4875, allocations: 4 kB / 1.053 GB, free: 2.781 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.4875, allocations: 3.984 kB / 1.053 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4889, allocations: 0.7607 MB / 1.054 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4891, allocations: 136.6 kB / 1.054 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.4891, allocations: 4 kB / 1.054 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.4895, allocations: 47.95 kB / 1.054 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.4895, allocations: 23.92 kB / 1.054 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4896, allocations: 16 kB / 1.054 GB, free: 1.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004573/0.49, allocations: 346.9 kB / 1.054 GB, free: 1.395 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4901, allocations: 0 / 1.054 GB, free: 1.395 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006356/0.4907, allocations: 159.4 kB / 1.054 GB, free: 1.238 MB / 0.698 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 () * Number of clocked 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.557/1.048, allocations: 1.521 MB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.049, allocations: 0.5255 MB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.049, allocations: 0 / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/1.049, allocations: 189.3 kB / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/1.05, allocations: 108.8 kB / 1.057 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/1.055, allocations: 3.235 MB / 1.06 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.055, allocations: 0.8578 MB / 1.061 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002858/1.056, allocations: 56 kB / 1.061 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/1.056, allocations: 190 kB / 1.061 GB, free: 145.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/1.056, allocations: 0 / 1.061 GB, free: 145.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/1.087, allocations: 9.276 MB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/1.088, allocations: 196.8 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.497, allocations: 0 / 1.07 GB, free: 145 MB / 0.698 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)