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.001189/0.001189, allocations: 120.1 kB / 17.09 MB, free: 6.012 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.001668/0.001668, allocations: 189.8 kB / 18.01 MB, free: 5.094 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7536/0.7536, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.56 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1603, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.683/0.8434, allocations: 204.1 MB / 0.8321 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.8548, allocations: 6.38 MB / 0.8383 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.8573, allocations: 37.03 kB / 0.8383 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.8596, allocations: 0.7206 MB / 0.839 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008101/0.8677, allocations: 2.69 MB / 0.8417 GB, free: 1.527 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.00224/0.8699, allocations: 0.6992 MB / 0.8424 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005348/0.8753, allocations: 3.282 MB / 0.8456 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.8774, allocations: 1.141 MB / 0.8467 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.8809, allocations: 1.266 MB / 0.8479 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.8843, allocations: 1.089 MB / 0.849 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005076/0.8849, allocations: 128.1 kB / 0.8491 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006569/0.8914, allocations: 2.361 MB / 0.8514 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.8926, allocations: 0.5184 MB / 0.8519 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.8948, allocations: 0.7399 MB / 0.8526 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005957/0.9008, allocations: 2.792 MB / 0.8554 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.9008, allocations: 4 kB / 0.8554 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9008, allocations: 4 kB / 0.8554 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.9008, allocations: 0 / 0.8554 GB, free: 8.398 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.003928/0.9048, allocations: 1.773 MB / 0.8571 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.9048, allocations: 8.031 kB / 0.8571 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.907, allocations: 342.2 kB / 0.8574 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.9084, allocations: 0.8856 MB / 0.8583 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-05/0.9084, allocations: 74.02 kB / 0.8584 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.9086, allocations: 100 kB / 0.8585 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.9105, allocations: 1.191 MB / 0.8596 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.9105, allocations: 0 / 0.8596 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.9107, allocations: 44 kB / 0.8597 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.9107, allocations: 62.06 kB / 0.8597 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.9125, allocations: 1.249 MB / 0.8609 GB, free: 2.535 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.006033/0.9185, allocations: 5.101 MB / 0.8659 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.92, allocations: 1.16 MB / 0.8671 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.9206, allocations: 0.5007 MB / 0.8675 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.686e-05/0.9207, allocations: 24.73 kB / 0.8676 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000687/0.9214, allocations: 488.2 kB / 0.868 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 4.458e-06/0.9214, allocations: 0 / 0.868 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.00191/0.9233, allocations: 1.161 MB / 0.8692 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.9234, allocations: 60.06 kB / 0.8692 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.924, allocations: 0.5744 MB / 0.8698 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.9241, allocations: 41.7 kB / 0.8698 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.9244, allocations: 463.6 kB / 0.8703 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.9247, allocations: 268.1 kB / 0.8705 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.9249, allocations: 130.6 kB / 0.8707 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.925, allocations: 382.8 kB / 0.871 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.9255, allocations: 334.7 kB / 0.8713 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.926, allocations: 452.7 kB / 0.8718 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.9271, allocations: 0.8194 MB / 0.8726 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9271, allocations: 0 / 0.8726 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001282/0.9284, allocations: 0.9296 MB / 0.8735 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9284, allocations: 8 kB / 0.8735 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.9284, allocations: 4 kB / 0.8735 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/0.9285, allocations: 7.938 kB / 0.8735 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.9291, allocations: 164.9 kB / 0.8737 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.9291, allocations: 4.344 kB / 0.8737 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.9299, allocations: 59.38 kB / 0.8737 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.9299, allocations: 28 kB / 0.8737 GB, free: 4.734 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.0005048/0.9304, allocations: 333.5 kB / 0.8741 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.9306, allocations: 83.05 kB / 0.8741 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.9308, allocations: 111.8 kB / 0.8742 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.9308, allocations: 7.938 kB / 0.8743 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.9308, allocations: 4 kB / 0.8743 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/0.9321, allocations: 1.085 MB / 0.8753 GB, free: 3.02 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.003144/0.9353, allocations: 2.314 MB / 0.8776 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9353, allocations: 0.875 kB / 0.8776 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/0.9361, allocations: 175.8 kB / 0.8777 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.9361, allocations: 4 kB / 0.8777 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.9362, allocations: 16 kB / 0.8778 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.9362, allocations: 4.031 kB / 0.8778 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9362, allocations: 11.94 kB / 0.8778 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.938, allocations: 1.355 MB / 0.8791 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.9384, allocations: 256 kB / 0.8793 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.9385, allocations: 16 kB / 0.8794 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.9391, allocations: 26.22 kB / 0.8794 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.9392, allocations: 44.59 kB / 0.8794 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.9393, allocations: 20 kB / 0.8794 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004951/0.9398, allocations: 419 kB / 0.8798 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9398, allocations: 0 / 0.8798 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009409/0.9407, allocations: 363.1 kB / 0.8802 GB, free: 13.9 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.0003084/0.941, allocations: 175 kB / 0.8804 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.9422, allocations: 0.8058 MB / 0.8811 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.9422, allocations: 0.6875 kB / 0.8811 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.9428, allocations: 427.5 kB / 0.8816 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.9453, allocations: 0.5952 MB / 0.8821 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.9486, allocations: 2.24 MB / 0.8843 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.9493, allocations: 1.143 MB / 0.8854 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.9496, allocations: 79.42 kB / 0.8855 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.9496, allocations: 0 / 0.8855 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of Templates: time 0.02339/0.973, allocations: 15.85 MB / 0.901 GB, free: 8.633 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)