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.001401/0.0014, allocations: 106.7 kB / 16.36 MB, free: 6.309 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.001117/0.001117, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.502/1.502, 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.002117/0.002117, allocations: 67.03 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2878, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.5276/0.8155, allocations: 3.217 MB / 0.7879 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.8177, allocations: 0.8353 MB / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.8181, allocations: 16.38 kB / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.8185, allocations: 99.19 kB / 0.7888 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.8187, allocations: 94.08 kB / 0.7889 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.8192, allocations: 266.5 kB / 0.7892 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.8199, allocations: 0.7295 MB / 0.7899 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.8204, allocations: 410.1 kB / 0.7903 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.8207, allocations: 269 kB / 0.7905 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.821, allocations: 292.5 kB / 0.7908 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.8211, allocations: 88.84 kB / 0.7909 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.8212, allocations: 87.94 kB / 0.791 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.8213, allocations: 167.2 kB / 0.7912 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.8215, allocations: 332.8 kB / 0.7915 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.8223, allocations: 0.9788 MB / 0.7924 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.8223, allocations: 0 / 0.7924 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8223, allocations: 2.625 kB / 0.7924 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8223, allocations: 0 / 0.7924 GB, free: 46.02 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.001463/0.8238, allocations: 0.9495 MB / 0.7934 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.8238, allocations: 8.219 kB / 0.7934 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.824, allocations: 78.69 kB / 0.7934 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.8247, allocations: 0.4912 MB / 0.7939 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.8247, allocations: 36.69 kB / 0.794 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.8248, allocations: 56 kB / 0.794 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008717/0.8257, allocations: 0.5502 MB / 0.7945 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.8257, allocations: 3.938 kB / 0.7945 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.8257, allocations: 23.41 kB / 0.7946 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.8258, allocations: 17.33 kB / 0.7946 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.8266, allocations: 428.3 kB / 0.795 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.8291, allocations: 1.833 MB / 0.7968 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.8303, allocations: 484.2 kB / 0.7972 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.8307, allocations: 209.7 kB / 0.7974 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.8308, allocations: 9.016 kB / 0.7975 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.8308, allocations: 38.06 kB / 0.7975 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.414e-06/0.8308, allocations: 0 / 0.7975 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.001118/0.832, allocations: 493.6 kB / 0.798 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.832, allocations: 110.2 kB / 0.7981 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.8326, allocations: 0.5174 MB / 0.7986 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.8326, allocations: 34.09 kB / 0.7986 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.8328, allocations: 313.5 kB / 0.7989 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.8329, allocations: 105.2 kB / 0.799 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.833, allocations: 71.92 kB / 0.7991 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8331, allocations: 365.8 kB / 0.7994 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.8335, allocations: 149.5 kB / 0.7996 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.8339, allocations: 255.8 kB / 0.7998 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.8345, allocations: 352.8 kB / 0.8001 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8345, allocations: 4 kB / 0.8002 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008928/0.8354, allocations: 451.6 kB / 0.8006 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8355, allocations: 17.73 kB / 0.8006 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8355, allocations: 1.031 kB / 0.8006 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.8355, allocations: 4.281 kB / 0.8006 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.8359, allocations: 85.88 kB / 0.8007 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.8359, allocations: 3.656 kB / 0.8007 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.8362, allocations: 79.81 kB / 0.8008 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.8363, allocations: 11.75 kB / 0.8008 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004128/0.8367, allocations: 268.3 kB / 0.801 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003141/0.837, allocations: 219.3 kB / 0.8012 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005291/0.8375, allocations: 312.5 kB / 0.8015 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.8376, allocations: 3.281 kB / 0.8015 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007192/0.8383, allocations: 403.5 kB / 0.8019 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8383, allocations: 7.734 kB / 0.8019 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.8383, allocations: 5.531 kB / 0.8019 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.8383, allocations: 8.031 kB / 0.8019 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.8386, allocations: 75.73 kB / 0.802 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8386, allocations: 8.75 kB / 0.802 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.839, allocations: 58.94 kB / 0.8021 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.839, allocations: 14.77 kB / 0.8021 GB, free: 40.89 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.000134/0.8392, allocations: 204 kB / 0.8023 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.8392, allocations: 57.02 kB / 0.8023 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009367/0.8402, allocations: 391.8 kB / 0.8027 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.8402, allocations: 3.5 kB / 0.8027 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8402, allocations: 8.547 kB / 0.8027 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.8402, allocations: 1.969 kB / 0.8027 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.841, allocations: 0.5567 MB / 0.8033 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.841, allocations: 1 kB / 0.8033 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.8414, allocations: 69.2 kB / 0.8033 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.8414, allocations: 5.219 kB / 0.8033 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.8414, allocations: 6.594 kB / 0.8034 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8414, allocations: 1.828 kB / 0.8034 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8415, allocations: 3.266 kB / 0.8034 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.8427, allocations: 0.6424 MB / 0.804 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.8429, allocations: 142.7 kB / 0.8041 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.843, allocations: 11.12 kB / 0.8041 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.8432, allocations: 33.19 kB / 0.8042 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.8433, allocations: 29.23 kB / 0.8042 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.8434, allocations: 12.59 kB / 0.8042 GB, free: 39.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005189/0.8439, allocations: 366 kB / 0.8046 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8439, allocations: 0 / 0.8046 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006165/0.8445, allocations: 172.9 kB / 0.8047 GB, free: 39.44 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.0001581/0.8447, allocations: 116.2 kB / 0.8048 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.846, allocations: 0.5194 MB / 0.8053 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.846, allocations: 4.719 kB / 0.8053 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.8464, allocations: 169.3 kB / 0.8055 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.8471, allocations: 100.8 kB / 0.8056 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.8488, allocations: 0.9116 MB / 0.8065 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.8492, allocations: 0.8649 MB / 0.8073 GB, free: 37.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.8494, allocations: 42.12 kB / 0.8074 GB, free: 37.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.8494, allocations: 3.938 kB / 0.8074 GB, free: 37.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.01452/0.8639, allocations: 6.495 MB / 0.8137 GB, free: 37.26 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)