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.001111/0.001111, allocations: 106.3 kB / 16.36 MB, free: 6.414 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.001092/0.001092, allocations: 195.5 kB / 17.3 MB, free: 5.789 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001451/0.001451, allocations: 71.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.201, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.3439/0.5449, allocations: 3.206 MB / 0.7879 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.5467, allocations: 0.8372 MB / 0.7887 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.5469, allocations: 15.56 kB / 0.7887 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.5472, allocations: 98.08 kB / 0.7888 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.5474, allocations: 98.7 kB / 0.7889 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.5478, allocations: 256.2 kB / 0.7892 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.5483, allocations: 0.7405 MB / 0.7899 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.5488, allocations: 411.6 kB / 0.7903 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.549, allocations: 267.6 kB / 0.7905 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.5492, allocations: 293.6 kB / 0.7908 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.713e-05/0.5493, allocations: 87.58 kB / 0.7909 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.5494, allocations: 86.72 kB / 0.791 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.5495, allocations: 171.3 kB / 0.7912 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.5497, allocations: 329.6 kB / 0.7915 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.5502, allocations: 0.9751 MB / 0.7924 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5502, allocations: 4.438 kB / 0.7924 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5502, allocations: 0 / 0.7924 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.5503, allocations: 0 / 0.7924 GB, free: 45.97 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.001272/0.5515, allocations: 0.9477 MB / 0.7934 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5516, allocations: 10.56 kB / 0.7934 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.5517, allocations: 77.5 kB / 0.7934 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.5522, allocations: 495.2 kB / 0.7939 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.5523, allocations: 40.44 kB / 0.7939 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.5523, allocations: 59.16 kB / 0.794 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008553/0.5532, allocations: 0.5432 MB / 0.7945 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5532, allocations: 5.359 kB / 0.7945 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.5533, allocations: 26.97 kB / 0.7946 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.5533, allocations: 13.91 kB / 0.7946 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.5541, allocations: 425 kB / 0.795 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.5561, allocations: 1.839 MB / 0.7968 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.5573, allocations: 487.7 kB / 0.7972 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.5577, allocations: 207.9 kB / 0.7974 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.5577, allocations: 5.469 kB / 0.7974 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5578, allocations: 41.53 kB / 0.7975 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.5578, allocations: 0 / 0.7975 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.001046/0.5588, allocations: 499.5 kB / 0.798 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.5589, allocations: 105.2 kB / 0.7981 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.5594, allocations: 0.5164 MB / 0.7986 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.5594, allocations: 33.23 kB / 0.7986 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.5596, allocations: 311.6 kB / 0.7989 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.5596, allocations: 104.6 kB / 0.799 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.5597, allocations: 77.72 kB / 0.7991 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.5598, allocations: 360 kB / 0.7994 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.5602, allocations: 151.9 kB / 0.7996 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.5605, allocations: 251.1 kB / 0.7998 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.5611, allocations: 360.7 kB / 0.8001 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5611, allocations: 0 / 0.8001 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008288/0.562, allocations: 464.1 kB / 0.8006 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.562, allocations: 8.5 kB / 0.8006 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.562, allocations: 3.516 kB / 0.8006 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.562, allocations: 4.469 kB / 0.8006 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.5624, allocations: 82.44 kB / 0.8007 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5624, allocations: 4.125 kB / 0.8007 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.5627, allocations: 81.72 kB / 0.8008 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.5627, allocations: 14.83 kB / 0.8008 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003495/0.5631, allocations: 262.9 kB / 0.801 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002676/0.5634, allocations: 222.7 kB / 0.8012 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000467/0.5638, allocations: 318.5 kB / 0.8015 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.5638, allocations: 0 / 0.8015 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006454/0.5645, allocations: 407.7 kB / 0.8019 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.5645, allocations: 5.328 kB / 0.8019 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.5645, allocations: 3.75 kB / 0.8019 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.5645, allocations: 6.312 kB / 0.8019 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.5648, allocations: 75.78 kB / 0.802 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5648, allocations: 4.344 kB / 0.802 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.5651, allocations: 55.16 kB / 0.8021 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.5651, allocations: 18.69 kB / 0.8021 GB, free: 40.83 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 0.000104/0.5652, allocations: 203.8 kB / 0.8023 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.5653, allocations: 56.98 kB / 0.8023 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008218/0.5661, allocations: 395.7 kB / 0.8027 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5662, allocations: 4.562 kB / 0.8027 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5662, allocations: 0.6094 kB / 0.8027 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5662, allocations: 1.219 kB / 0.8027 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.5668, allocations: 0.5564 MB / 0.8033 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5668, allocations: 0 / 0.8033 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.5672, allocations: 74.97 kB / 0.8033 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5672, allocations: 4.469 kB / 0.8033 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.5672, allocations: 7.453 kB / 0.8034 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5672, allocations: 6.172 kB / 0.8034 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5672, allocations: 1.719 kB / 0.8034 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5683, allocations: 0.6444 MB / 0.804 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.5684, allocations: 134.8 kB / 0.8041 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.5685, allocations: 14.22 kB / 0.8041 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.5688, allocations: 32.06 kB / 0.8042 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.5689, allocations: 26.41 kB / 0.8042 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.5689, allocations: 11.98 kB / 0.8042 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003993/0.5693, allocations: 369.3 kB / 0.8045 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5693, allocations: 0 / 0.8045 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005564/0.5699, allocations: 174.5 kB / 0.8047 GB, free: 39.38 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 0.0001079/0.57, allocations: 113.3 kB / 0.8048 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.5711, allocations: 0.5172 MB / 0.8053 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5711, allocations: 4.75 kB / 0.8053 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.5715, allocations: 174.2 kB / 0.8055 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.5721, allocations: 99.77 kB / 0.8056 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.5734, allocations: 0.8854 MB / 0.8065 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.5738, allocations: 0.8612 MB / 0.8073 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.574, allocations: 63.42 kB / 0.8074 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5741, allocations: 39.95 kB / 0.8074 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.5742, allocations: 1.094 kB / 0.8074 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.01075/0.5849, allocations: 5.119 MB / 0.8124 GB, free: 37.59 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)