Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 107.3 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 292.3 MB / 0.5495 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1688, allocations: 114.5 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003729/0.1726, allocations: 3.222 MB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2722/0.4448, allocations: 0.8327 MB / 0.788 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.4452, allocations: 12.62 kB / 0.788 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.4455, allocations: 102.2 kB / 0.7881 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.4457, allocations: 95.77 kB / 0.7882 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.4461, allocations: 257.1 kB / 0.7885 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.4465, allocations: 0.7406 MB / 0.7892 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.4469, allocations: 409.2 kB / 0.7896 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.4471, allocations: 269.6 kB / 0.7898 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4473, allocations: 297.7 kB / 0.7901 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.866e-05/0.4474, allocations: 84.97 kB / 0.7902 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.4475, allocations: 90 kB / 0.7903 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.4476, allocations: 161.6 kB / 0.7904 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.4477, allocations: 330.8 kB / 0.7908 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.4482, allocations: 0.9815 MB / 0.7917 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.4482, allocations: 0 / 0.7917 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4482, allocations: 0 / 0.7917 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.4483, allocations: 0 / 0.7917 GB, free: 45.47 MB / 0.6544 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.001111/0.4494, allocations: 0.9584 MB / 0.7927 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.524e-05/0.4494, allocations: 7.875 kB / 0.7927 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.4495, allocations: 77.88 kB / 0.7927 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.4499, allocations: 484.5 kB / 0.7932 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.45, allocations: 39.41 kB / 0.7932 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.45, allocations: 56.78 kB / 0.7933 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.4508, allocations: 0.548 MB / 0.7938 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4508, allocations: 3.938 kB / 0.7938 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.4508, allocations: 23.52 kB / 0.7939 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.4508, allocations: 10.34 kB / 0.7939 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.4515, allocations: 431.2 kB / 0.7943 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4533, allocations: 1.838 MB / 0.7961 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.4543, allocations: 481.6 kB / 0.7965 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.4547, allocations: 206.2 kB / 0.7967 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.4547, allocations: 8.891 kB / 0.7967 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.4547, allocations: 41.22 kB / 0.7968 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.4547, allocations: 0 / 0.7968 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.0008726/0.4556, allocations: 0.4905 MB / 0.7973 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.4556, allocations: 108.1 kB / 0.7974 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.4561, allocations: 0.5129 MB / 0.7979 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4561, allocations: 32.45 kB / 0.7979 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4563, allocations: 312.9 kB / 0.7982 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.4563, allocations: 106 kB / 0.7983 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.4564, allocations: 73.58 kB / 0.7984 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.4565, allocations: 365.5 kB / 0.7987 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.4568, allocations: 156.2 kB / 0.7989 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.4571, allocations: 255 kB / 0.7991 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.4576, allocations: 348.9 kB / 0.7994 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4577, allocations: 0 / 0.7994 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006868/0.4583, allocations: 465.1 kB / 0.7999 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4584, allocations: 12.16 kB / 0.7999 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4584, allocations: 2.281 kB / 0.7999 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4584, allocations: 7.406 kB / 0.7999 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.4587, allocations: 81.81 kB / 0.8 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4587, allocations: 7.859 kB / 0.8 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.459, allocations: 72.8 kB / 0.8001 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.459, allocations: 15.94 kB / 0.8001 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003049/0.4593, allocations: 269.3 kB / 0.8003 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002351/0.4596, allocations: 218.3 kB / 0.8005 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004085/0.46, allocations: 314.6 kB / 0.8008 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.46, allocations: 0 / 0.8008 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0005715/0.4606, allocations: 400.9 kB / 0.8012 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.4606, allocations: 6.828 kB / 0.8012 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.4606, allocations: 1.312 kB / 0.8012 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.4606, allocations: 11.84 kB / 0.8012 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4609, allocations: 76.08 kB / 0.8013 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4609, allocations: 5.5 kB / 0.8013 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4611, allocations: 54.47 kB / 0.8014 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.4612, allocations: 16.19 kB / 0.8014 GB, free: 40.76 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,vavBoxCon.hysWitHol.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.4612, allocations: 205.1 kB / 0.8016 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.4613, allocations: 64.5 kB / 0.8016 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.462, allocations: 391.7 kB / 0.802 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.462, allocations: 4.016 kB / 0.802 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.462, allocations: 0 / 0.802 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.4621, allocations: 1.734 kB / 0.802 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.4626, allocations: 0.5672 MB / 0.8026 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4626, allocations: 0.75 kB / 0.8026 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.4629, allocations: 67.34 kB / 0.8026 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4629, allocations: 5.781 kB / 0.8026 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4629, allocations: 7.312 kB / 0.8026 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4629, allocations: 2.219 kB / 0.8026 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4629, allocations: 1.281 kB / 0.8026 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/0.4639, allocations: 0.6453 MB / 0.8033 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.464, allocations: 134.5 kB / 0.8034 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.464, allocations: 11.44 kB / 0.8034 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.4643, allocations: 40.5 kB / 0.8035 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.4644, allocations: 25.09 kB / 0.8035 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4644, allocations: 8.406 kB / 0.8035 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003564/0.4647, allocations: 369.5 kB / 0.8038 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4648, allocations: 0 / 0.8038 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004729/0.4652, allocations: 174.8 kB / 0.804 GB, free: 39.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.473e-05/0.4653, allocations: 114.2 kB / 0.8041 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009821/0.4663, allocations: 0.5207 MB / 0.8046 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4663, allocations: 0.6562 kB / 0.8046 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.4666, allocations: 169.2 kB / 0.8048 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.4672, allocations: 98.36 kB / 0.8049 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.4684, allocations: 0.8877 MB / 0.8057 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4687, allocations: 0.8616 MB / 0.8066 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.4689, allocations: 62.67 kB / 0.8066 GB, free: 37.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.469, allocations: 39.69 kB / 0.8067 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.469, allocations: 1.5 kB / 0.8067 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.009239/0.4783, allocations: 5.111 MB / 0.8117 GB, free: 37.51 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)