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: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 252 MB / 267.9 MB, free: 10.92 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.001254/0.001254, allocations: 178.2 kB / 327.5 MB, free: 2.152 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.73/1.73, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0009018/0.0009019, allocations: 90.25 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004136, allocations: 13.88 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.3703, allocations: 136.4 MB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3705, allocations: 83.94 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02212/0.3927, allocations: 9.593 MB / 1.044 GB, free: 13.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3927, allocations: 0 / 1.044 GB, free: 13.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.897e-05/0.3928, allocations: 12 kB / 1.044 GB, free: 13.44 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.001454/0.3942, allocations: 0.8025 MB / 1.045 GB, free: 12.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3943, allocations: 12.03 kB / 1.045 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.3945, allocations: 68.09 kB / 1.045 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.3951, allocations: 445.7 kB / 1.045 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.3952, allocations: 33.38 kB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.3953, allocations: 48.38 kB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009663/0.3963, allocations: 0.5262 MB / 1.046 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3963, allocations: 192 / 1.046 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.3963, allocations: 27.94 kB / 1.046 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3964, allocations: 8 kB / 1.046 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009972/0.3974, allocations: 435.7 kB / 1.046 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.4001, allocations: 1.93 MB / 1.048 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.4011, allocations: 439.2 kB / 1.048 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.4015, allocations: 218.3 kB / 1.049 GB, free: 8.277 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.4016, allocations: 7.984 kB / 1.049 GB, free: 8.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.4016, allocations: 34.5 kB / 1.049 GB, free: 8.227 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.4016, allocations: 3.938 kB / 1.049 GB, free: 8.223 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.001211/0.4028, allocations: 0.5411 MB / 1.049 GB, free: 7.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.403, allocations: 110.8 kB / 1.049 GB, free: 7.543 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.4036, allocations: 494.1 kB / 1.05 GB, free: 7.047 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.4037, allocations: 33.7 kB / 1.05 GB, free: 7.008 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.4039, allocations: 272.2 kB / 1.05 GB, free: 6.738 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.752e-05/0.404, allocations: 114.3 kB / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.404, allocations: 8 kB / 1.05 GB, free: 6.617 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4042, allocations: 358.8 kB / 1.051 GB, free: 6.258 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.4046, allocations: 156.6 kB / 1.051 GB, free: 6.102 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.405, allocations: 215.9 kB / 1.051 GB, free: 5.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.4057, allocations: 353.9 kB / 1.051 GB, free: 5.516 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4057, allocations: 0 / 1.051 GB, free: 5.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008946/0.4066, allocations: 448.5 kB / 1.052 GB, free: 5.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.4067, allocations: 118.6 kB / 1.052 GB, free: 4.941 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4067, allocations: 0 / 1.052 GB, free: 4.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4067, allocations: 4 kB / 1.052 GB, free: 4.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.4071, allocations: 83.89 kB / 1.052 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.4071, allocations: 0 / 1.052 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.4074, allocations: 67.56 kB / 1.052 GB, free: 4.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.4074, allocations: 15.98 kB / 1.052 GB, free: 4.773 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.4074, allocations: 8 kB / 1.052 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005617/0.408, allocations: 311.3 kB / 1.052 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.408, allocations: 0 / 1.052 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/0.408, allocations: 8.062 kB / 1.052 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.4083, allocations: 71.84 kB / 1.052 GB, free: 4.383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4083, allocations: 4 kB / 1.052 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.4085, allocations: 51.66 kB / 1.052 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.4086, allocations: 15.94 kB / 1.052 GB, free: 4.312 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.0002733/0.4088, allocations: 257.7 kB / 1.053 GB, free: 4.051 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.4089, allocations: 51.34 kB / 1.053 GB, free: 4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008413/0.4098, allocations: 438.3 kB / 1.053 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4098, allocations: 4 kB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4098, allocations: 4 kB / 1.053 GB, free: 3.559 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4098, allocations: 3.984 kB / 1.053 GB, free: 3.555 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4113, allocations: 1.051 MB / 1.054 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4113, allocations: 3.938 kB / 1.054 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.4116, allocations: 71.95 kB / 1.054 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4116, allocations: 0 / 1.054 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.4117, allocations: 11.98 kB / 1.054 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4117, allocations: 7.938 kB / 1.054 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4117, allocations: 0 / 1.054 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4129, allocations: 0.7242 MB / 1.055 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.413, allocations: 132.5 kB / 1.055 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.413, allocations: 8 kB / 1.055 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.4133, allocations: 48.02 kB / 1.055 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.4134, allocations: 23.91 kB / 1.055 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.4134, allocations: 8 kB / 1.055 GB, free: 1.359 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004041/0.4138, allocations: 350.9 kB / 1.056 GB, free: 1.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4138, allocations: 0 / 1.056 GB, free: 1.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000499/0.4143, allocations: 159.4 kB / 1.056 GB, free: 0.8633 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.0001738/0.4145, allocations: 119.1 kB / 1.056 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.4156, allocations: 0.5243 MB / 1.056 GB, free: 220 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4156, allocations: 4 kB / 1.056 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.416, allocations: 192 kB / 1.056 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3743/0.7903, allocations: 107.9 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.7919, allocations: 1.013 MB / 1.058 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.7922, allocations: 0.8464 MB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.7925, allocations: 58.66 kB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.7926, allocations: 37.78 kB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.7926, allocations: 0 / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of Templates: time 0.009276/0.8019, allocations: 4.64 MB / 1.063 GB, free: 146.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)