Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.985/3.985, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.002718/0.002717, allocations: 176.5 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.087/4.087, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001661/0.001661, allocations: 94.11 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007946/0.0007948, allocations: 9.156 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3696, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/0.7301, allocations: 136.1 MB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005413/0.7307, allocations: 91.94 kB / 1.033 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06017/0.7909, allocations: 9.57 MB / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.913e-06/0.791, allocations: 4 kB / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001037/0.7911, allocations: 19.94 kB / 1.042 GB, free: 15.53 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.003534/0.7947, allocations: 0.8064 MB / 1.043 GB, free: 14.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/0.7948, allocations: 16.03 kB / 1.043 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/0.7952, allocations: 68.09 kB / 1.043 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.7968, allocations: 430.1 kB / 1.043 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.7969, allocations: 33.38 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.7971, allocations: 44.38 kB / 1.043 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.7997, allocations: 0.5263 MB / 1.044 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.7998, allocations: 192 / 1.044 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.8, allocations: 23.94 kB / 1.044 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.8, allocations: 12 kB / 1.044 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.8028, allocations: 431.7 kB / 1.044 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006808/0.8096, allocations: 1.93 MB / 1.046 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.8124, allocations: 440.2 kB / 1.047 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.8137, allocations: 214.8 kB / 1.047 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.8138, allocations: 4 kB / 1.047 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.8139, allocations: 42.5 kB / 1.047 GB, free: 10.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 5.76e-06/0.8139, allocations: 0 / 1.047 GB, free: 10.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.003375/0.8173, allocations: 0.5365 MB / 1.047 GB, free: 9.789 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.8175, allocations: 106.8 kB / 1.047 GB, free: 9.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.8191, allocations: 0.4903 MB / 1.048 GB, free: 9.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.8193, allocations: 29.7 kB / 1.048 GB, free: 9.121 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.8198, allocations: 268.2 kB / 1.048 GB, free: 8.855 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.8201, allocations: 114.3 kB / 1.048 GB, free: 8.742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.8202, allocations: 15.94 kB / 1.048 GB, free: 8.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003172/0.8205, allocations: 358.8 kB / 1.049 GB, free: 8.367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.8216, allocations: 156.6 kB / 1.049 GB, free: 8.211 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.8228, allocations: 215.9 kB / 1.049 GB, free: 7.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.8239, allocations: 167.7 kB / 1.049 GB, free: 7.816 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.8239, allocations: 7.938 kB / 1.049 GB, free: 7.809 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002598/0.8265, allocations: 452.3 kB / 1.05 GB, free: 7.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.8268, allocations: 110.7 kB / 1.05 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.8268, allocations: 4 kB / 1.05 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.8268, allocations: 3.984 kB / 1.05 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.8279, allocations: 79.89 kB / 1.05 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/0.828, allocations: 4 kB / 1.05 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/0.8289, allocations: 71.56 kB / 1.05 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.829, allocations: 11.98 kB / 1.05 GB, free: 7.066 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.8291, allocations: 5.562 kB / 1.05 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001763/0.8308, allocations: 315.7 kB / 1.05 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8309, allocations: 0 / 1.05 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.8309, allocations: 0 / 1.05 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.8318, allocations: 75.84 kB / 1.05 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.8319, allocations: 12.06 kB / 1.05 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.8327, allocations: 51.66 kB / 1.05 GB, free: 6.617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.8328, allocations: 8 kB / 1.05 GB, free: 6.609 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.0007097/0.8335, allocations: 254.1 kB / 1.051 GB, free: 6.352 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.8338, allocations: 51.34 kB / 1.051 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.8363, allocations: 446.3 kB / 1.051 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.8364, allocations: 4 kB / 1.051 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.8364, allocations: 0 / 1.051 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.8364, allocations: 3.984 kB / 1.051 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004642/0.8411, allocations: 1.044 MB / 1.052 GB, free: 4.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.8412, allocations: 4 kB / 1.052 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.8422, allocations: 79.98 kB / 1.052 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/0.8423, allocations: 0 / 1.052 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.8424, allocations: 11.98 kB / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.8424, allocations: 0 / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.8424, allocations: 7.938 kB / 1.052 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.8461, allocations: 0.728 MB / 1.053 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.8465, allocations: 140.4 kB / 1.053 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.8467, allocations: 11.94 kB / 1.053 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.8476, allocations: 40.03 kB / 1.053 GB, free: 3.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.8477, allocations: 23.97 kB / 1.053 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.8478, allocations: 11.98 kB / 1.053 GB, free: 3.645 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001085/0.8489, allocations: 346.9 kB / 1.053 GB, free: 3.309 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.15e-06/0.849, allocations: 0 / 1.053 GB, free: 3.309 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001577/0.8505, allocations: 155.4 kB / 1.054 GB, free: 3.156 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.00033/0.8509, allocations: 115.2 kB / 1.054 GB, free: 3.035 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.8541, allocations: 0.5348 MB / 1.054 GB, free: 2.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.8542, allocations: 4.125 kB / 1.054 GB, free: 2.496 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.8554, allocations: 191.8 kB / 1.054 GB, free: 2.309 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.8573, allocations: 112.1 kB / 1.054 GB, free: 2.203 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.8616, allocations: 1.016 MB / 1.055 GB, free: 1.141 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009527/0.8626, allocations: 0.8393 MB / 1.056 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007591/0.8634, allocations: 64.14 kB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.8637, allocations: 35.44 kB / 1.056 GB, free: 176 kB / 0.698 GB Notification: Performance of SimCode: time 2.635e-06/0.8638, allocations: 0 / 1.056 GB, free: 176 kB / 0.698 GB Notification: Performance of Templates: time 0.9559/1.82, allocations: 4.583 MB / 1.061 GB, free: 148.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)