Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 120.5 kB / 17.09 MB, free: 6 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.00139/0.00139, allocations: 193.8 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.757/0.757, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 70.05 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1785, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.7236/0.9021, allocations: 204.1 MB / 0.8321 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.9126, allocations: 6.375 MB / 0.8383 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.9144, allocations: 36.84 kB / 0.8383 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.9164, allocations: 0.7216 MB / 0.839 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.9236, allocations: 2.68 MB / 0.8417 GB, free: 1.684 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.9254, allocations: 0.7172 MB / 0.8424 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00378/0.9292, allocations: 3.271 MB / 0.8456 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.9305, allocations: 1.139 MB / 0.8467 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.9325, allocations: 1.266 MB / 0.8479 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.9343, allocations: 1.098 MB / 0.849 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.9344, allocations: 132 kB / 0.8491 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/0.939, allocations: 2.354 MB / 0.8514 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005087/0.9395, allocations: 0.5148 MB / 0.8519 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007922/0.9403, allocations: 0.7434 MB / 0.8526 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.9444, allocations: 2.803 MB / 0.8554 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9444, allocations: 0 / 0.8554 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9444, allocations: 0 / 0.8554 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.9444, allocations: 0 / 0.8554 GB, free: 8.582 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003824/0.9482, allocations: 1.761 MB / 0.8571 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.9483, allocations: 8.031 kB / 0.8571 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.9504, allocations: 350.2 kB / 0.8574 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.9518, allocations: 0.8817 MB / 0.8583 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.9519, allocations: 78 kB / 0.8584 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.9521, allocations: 100 kB / 0.8585 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.9539, allocations: 1.195 MB / 0.8596 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.954, allocations: 0 / 0.8596 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.847e-05/0.9541, allocations: 43.94 kB / 0.8597 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/0.9542, allocations: 58.08 kB / 0.8597 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.9561, allocations: 1.253 MB / 0.8609 GB, free: 2.719 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00649/0.9626, allocations: 5.101 MB / 0.8659 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.9641, allocations: 1.156 MB / 0.8671 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.9648, allocations: 0.5085 MB / 0.8676 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.9649, allocations: 12.64 kB / 0.8676 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007103/0.9656, allocations: 488.2 kB / 0.868 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/0.9656, allocations: 0 / 0.868 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001956/0.9676, allocations: 1.157 MB / 0.8692 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.9677, allocations: 64 kB / 0.8692 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.9684, allocations: 0.5783 MB / 0.8698 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/0.9685, allocations: 41.7 kB / 0.8698 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.9689, allocations: 463.8 kB / 0.8703 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.9692, allocations: 272.1 kB / 0.8705 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.9694, allocations: 130.6 kB / 0.8707 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.9696, allocations: 386.8 kB / 0.871 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.9701, allocations: 333.8 kB / 0.8713 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.9707, allocations: 444.8 kB / 0.8718 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9719, allocations: 0.8194 MB / 0.8726 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9719, allocations: 7.938 kB / 0.8726 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001439/0.9734, allocations: 0.9296 MB / 0.8735 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.9734, allocations: 8 kB / 0.8735 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9734, allocations: 4 kB / 0.8735 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.9734, allocations: 7.938 kB / 0.8735 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.9741, allocations: 156.2 kB / 0.8736 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.9741, allocations: 4 kB / 0.8737 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.9748, allocations: 63.36 kB / 0.8737 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.9749, allocations: 24 kB / 0.8737 GB, free: 4.922 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0004728/0.9754, allocations: 333.5 kB / 0.8741 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.9755, allocations: 79.62 kB / 0.8741 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.9757, allocations: 111.7 kB / 0.8742 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.9758, allocations: 11.94 kB / 0.8742 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.9758, allocations: 7.938 kB / 0.8743 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/0.9771, allocations: 1.089 MB / 0.8753 GB, free: 3.199 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.9803, allocations: 2.307 MB / 0.8776 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.9803, allocations: 0 / 0.8776 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.9811, allocations: 171.8 kB / 0.8777 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.9812, allocations: 4 kB / 0.8777 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.9812, allocations: 20.03 kB / 0.8778 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.9812, allocations: 7.984 kB / 0.8778 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9812, allocations: 0.875 kB / 0.8778 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.983, allocations: 1.355 MB / 0.8791 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.9833, allocations: 256 kB / 0.8793 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/0.9834, allocations: 12 kB / 0.8793 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.984, allocations: 29.88 kB / 0.8794 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.9841, allocations: 40.59 kB / 0.8794 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.9842, allocations: 28.11 kB / 0.8794 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004657/0.9847, allocations: 411.1 kB / 0.8798 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9847, allocations: 0 / 0.8798 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009204/0.9856, allocations: 367.1 kB / 0.8802 GB, free: 14.09 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0003027/0.9859, allocations: 181.5 kB / 0.8804 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.987, allocations: 0.7984 MB / 0.8811 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9871, allocations: 12.12 kB / 0.8811 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.9876, allocations: 427.5 kB / 0.8816 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.9899, allocations: 0.5944 MB / 0.8821 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.9933, allocations: 2.236 MB / 0.8843 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/0.9941, allocations: 1.14 MB / 0.8854 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.9943, allocations: 83.42 kB / 0.8855 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.9943, allocations: 0 / 0.8855 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of Templates: time 0.02582/1.02, allocations: 15.86 MB / 0.901 GB, free: 8.82 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)