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.001611/0.001611, allocations: 111 kB / 16.38 MB, free: 6.008 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.001549/0.001549, allocations: 189.4 kB / 17.31 MB, free: 5.621 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.7/1.7, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001398/0.001398, allocations: 67.89 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2503, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.4857/0.736, allocations: 3.212 MB / 0.7879 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.7383, allocations: 0.8406 MB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.7387, allocations: 11.31 kB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.7392, allocations: 98.59 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.7394, allocations: 93.77 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.74, allocations: 266.9 kB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.7407, allocations: 0.7396 MB / 0.7899 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005895/0.7413, allocations: 411 kB / 0.7903 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.7416, allocations: 269.9 kB / 0.7906 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.7419, allocations: 284.7 kB / 0.7908 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.742, allocations: 87 kB / 0.7909 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.7421, allocations: 89.66 kB / 0.791 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.7423, allocations: 170 kB / 0.7912 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.7425, allocations: 333.7 kB / 0.7915 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008106/0.7433, allocations: 0.9689 MB / 0.7924 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7433, allocations: 0 / 0.7924 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7433, allocations: 2.625 kB / 0.7924 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7434, allocations: 0 / 0.7924 GB, free: 46.06 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.001451/0.7448, allocations: 0.9533 MB / 0.7934 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.7449, allocations: 10.5 kB / 0.7934 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.745, allocations: 80.66 kB / 0.7935 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.7457, allocations: 0.4889 MB / 0.7939 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.7458, allocations: 38.16 kB / 0.794 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.7459, allocations: 55.81 kB / 0.794 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000898/0.7468, allocations: 0.5528 MB / 0.7946 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.7468, allocations: 3.938 kB / 0.7946 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.7468, allocations: 19.5 kB / 0.7946 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.7469, allocations: 14.59 kB / 0.7946 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.7477, allocations: 420.7 kB / 0.795 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.7502, allocations: 1.842 MB / 0.7968 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.7516, allocations: 478 kB / 0.7973 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.752, allocations: 210.7 kB / 0.7975 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.752, allocations: 4.797 kB / 0.7975 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.7521, allocations: 39.44 kB / 0.7975 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.7521, allocations: 0 / 0.7975 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.001232/0.7533, allocations: 499 kB / 0.798 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.7534, allocations: 112 kB / 0.7981 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.7542, allocations: 0.5119 MB / 0.7986 GB, free: 43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.7542, allocations: 35.56 kB / 0.7986 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.7545, allocations: 311.6 kB / 0.7989 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.7546, allocations: 105.9 kB / 0.799 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.7547, allocations: 76.42 kB / 0.7991 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7548, allocations: 358.7 kB / 0.7994 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.7552, allocations: 158.5 kB / 0.7996 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.7556, allocations: 249.3 kB / 0.7998 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.7563, allocations: 358.3 kB / 0.8002 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.7563, allocations: 0.75 kB / 0.8002 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009479/0.7573, allocations: 461.7 kB / 0.8006 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.7573, allocations: 10.94 kB / 0.8006 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.7573, allocations: 6.562 kB / 0.8006 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.7574, allocations: 2.812 kB / 0.8006 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.7577, allocations: 85.02 kB / 0.8007 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.7578, allocations: 5.688 kB / 0.8007 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.7581, allocations: 80.75 kB / 0.8008 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.7581, allocations: 16.2 kB / 0.8008 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004259/0.7586, allocations: 260.6 kB / 0.8011 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003365/0.7589, allocations: 226.3 kB / 0.8013 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005885/0.7595, allocations: 303.9 kB / 0.8016 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.7595, allocations: 2.062 kB / 0.8016 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007512/0.7603, allocations: 407.2 kB / 0.8019 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.7603, allocations: 6.328 kB / 0.802 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.7603, allocations: 4.781 kB / 0.802 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.7603, allocations: 6.781 kB / 0.802 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.7606, allocations: 76.08 kB / 0.802 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7606, allocations: 8.703 kB / 0.802 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.761, allocations: 54.66 kB / 0.8021 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.761, allocations: 17.19 kB / 0.8021 GB, free: 40.92 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.000144/0.7611, allocations: 207.3 kB / 0.8023 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.7612, allocations: 51.19 kB / 0.8024 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000987/0.7622, allocations: 399.5 kB / 0.8027 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7622, allocations: 2.672 kB / 0.8027 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7622, allocations: 0 / 0.8027 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.7624, allocations: 138.6 kB / 0.8029 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.7624, allocations: 11.27 kB / 0.8029 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.7627, allocations: 37.12 kB / 0.8029 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.7628, allocations: 25.77 kB / 0.8029 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001096/0.7639, allocations: 462.3 kB / 0.8034 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001423/0.7654, allocations: 0.7291 MB / 0.8041 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004092/0.7658, allocations: 163.3 kB / 0.8043 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005284/0.7663, allocations: 364.9 kB / 0.8046 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of Backend: time 2.675e-06/0.7663, allocations: 1.219 kB / 0.8046 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.7678, allocations: 487.9 kB / 0.8051 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001983/0.7697, allocations: 1.323 MB / 0.8064 GB, free: 38.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.01811/0.7879, allocations: 6.866 MB / 0.8131 GB, free: 38.06 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)