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.001278/0.001278, allocations: 104.6 kB / 16.4 MB, free: 6.344 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.001356/0.001356, allocations: 191.7 kB / 17.33 MB, free: 5.816 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.557/1.557, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8656/0.8656, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 63.17 kB / 0.5684 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2215, allocations: 77.94 MB / 0.6445 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.9868/1.208, allocations: 204.1 MB / 0.8439 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0142/1.223, allocations: 6.39 MB / 0.8501 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003232/1.226, allocations: 37.31 kB / 0.8502 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002791/1.229, allocations: 0.7265 MB / 0.8509 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009826/1.239, allocations: 2.678 MB / 0.8535 GB, free: 2.98 MB / 0.6075 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.00291/1.241, allocations: 0.7047 MB / 0.8542 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006434/1.248, allocations: 3.282 MB / 0.8574 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/1.251, allocations: 1.143 MB / 0.8585 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/1.255, allocations: 1.242 MB / 0.8597 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/1.259, allocations: 1.091 MB / 0.8608 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005988/1.26, allocations: 128 kB / 0.8609 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007284/1.267, allocations: 2.362 MB / 0.8632 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/1.268, allocations: 0.5182 MB / 0.8637 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/1.271, allocations: 0.7353 MB / 0.8644 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008418/1.279, allocations: 2.812 MB / 0.8672 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/1.279, allocations: 4 kB / 0.8672 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.244e-06/1.279, allocations: 3.938 kB / 0.8672 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.788e-05/1.279, allocations: 0 / 0.8672 GB, free: 7.754 MB / 0.6231 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.005942/1.285, allocations: 1.805 MB / 0.8689 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.285, allocations: 8.625 kB / 0.869 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/1.288, allocations: 350.9 kB / 0.8693 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/1.289, allocations: 0.8824 MB / 0.8702 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/1.29, allocations: 78.88 kB / 0.8702 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/1.29, allocations: 104 kB / 0.8703 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/1.292, allocations: 1.195 MB / 0.8715 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.292, allocations: 0 / 0.8715 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-05/1.292, allocations: 40 kB / 0.8715 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.462e-05/1.292, allocations: 62.06 kB / 0.8716 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/1.294, allocations: 1.246 MB / 0.8728 GB, free: 1.852 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 preOpt removeSimpleEquations (simulation): time 0.00631/1.3, allocations: 5.117 MB / 0.8778 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/1.302, allocations: 1.165 MB / 0.8789 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/1.302, allocations: 0.5086 MB / 0.8794 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/1.302, allocations: 16.66 kB / 0.8795 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007596/1.303, allocations: 484.4 kB / 0.8799 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.816e-06/1.303, allocations: 0 / 0.8799 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.00208/1.305, allocations: 1.165 MB / 0.8811 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.305, allocations: 60.06 kB / 0.8811 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/1.306, allocations: 0.5745 MB / 0.8817 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/1.306, allocations: 45.64 kB / 0.8817 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/1.307, allocations: 472.6 kB / 0.8822 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/1.307, allocations: 281.5 kB / 0.8824 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/1.307, allocations: 130.6 kB / 0.8826 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.307, allocations: 386.8 kB / 0.8829 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/1.308, allocations: 329.8 kB / 0.8832 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/1.308, allocations: 449.9 kB / 0.8837 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/1.31, allocations: 0.8232 MB / 0.8845 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.31, allocations: 4 kB / 0.8845 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001396/1.311, allocations: 0.93 MB / 0.8854 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.311, allocations: 8 kB / 0.8854 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.311, allocations: 4 kB / 0.8854 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/1.311, allocations: 7.938 kB / 0.8854 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/1.312, allocations: 168.1 kB / 0.8856 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.312, allocations: 4 kB / 0.8856 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/1.312, allocations: 55.56 kB / 0.8856 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/1.312, allocations: 32 kB / 0.8857 GB, free: 4.008 MB / 0.6387 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.0004918/1.313, allocations: 330.2 kB / 0.886 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/1.313, allocations: 83.48 kB / 0.886 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/1.313, allocations: 115.7 kB / 0.8862 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/1.313, allocations: 11.94 kB / 0.8862 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.313, allocations: 0 / 0.8862 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/1.315, allocations: 1.089 MB / 0.8872 GB, free: 2.285 MB / 0.6387 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.003402/1.318, allocations: 2.314 MB / 0.8895 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.318, allocations: 7.922 kB / 0.8895 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/1.319, allocations: 167.9 kB / 0.8897 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/1.319, allocations: 7.984 kB / 0.8897 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/1.319, allocations: 16.03 kB / 0.8897 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.319, allocations: 7.938 kB / 0.8897 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.319, allocations: 0 / 0.8897 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/1.321, allocations: 1.36 MB / 0.891 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/1.321, allocations: 252.4 kB / 0.8913 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.322, allocations: 16 kB / 0.8913 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/1.322, allocations: 23.98 kB / 0.8913 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/1.322, allocations: 44.59 kB / 0.8913 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/1.322, allocations: 20 kB / 0.8914 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005828/1.323, allocations: 415 kB / 0.8918 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.196e-06/1.323, allocations: 0 / 0.8918 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001124/1.324, allocations: 375.2 kB / 0.8921 GB, free: 13.16 MB / 0.6544 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.0003756/1.324, allocations: 179.1 kB / 0.8923 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.326, allocations: 0.8025 MB / 0.8931 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.326, allocations: 4 kB / 0.8931 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/1.326, allocations: 427.6 kB / 0.8935 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.329, allocations: 0.5822 MB / 0.894 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/1.333, allocations: 2.212 MB / 0.8962 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/1.333, allocations: 1.147 MB / 0.8973 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008841/1.334, allocations: 275.1 kB / 0.8976 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/1.334, allocations: 75.42 kB / 0.8977 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/1.334, allocations: 0 / 0.8977 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of Templates: time 0.03589/1.37, allocations: 19.23 MB / 0.9164 GB, free: 4.395 MB / 0.67 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)