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.001266/0.001266, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001022/0.001022, allocations: 191 kB / 17.2 MB, free: 5.613 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.548/1.548, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8002/0.8002, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 59.91 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6372, allocations: 77.92 MB / 0.5672 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.8977/1.535, allocations: 204.1 MB / 0.7665 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01491/1.55, allocations: 6.366 MB / 0.7727 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/1.553, allocations: 38.16 kB / 0.7728 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002981/1.556, allocations: 0.7323 MB / 0.7735 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/1.568, allocations: 2.677 MB / 0.7761 GB, free: 1.602 MB / 0.5762 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.003013/1.571, allocations: 0.7056 MB / 0.7768 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007087/1.578, allocations: 3.279 MB / 0.78 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/1.58, allocations: 1.136 MB / 0.7811 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/1.585, allocations: 1.241 MB / 0.7823 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/1.589, allocations: 1.102 MB / 0.7834 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004065/1.589, allocations: 129.3 kB / 0.7835 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007482/1.596, allocations: 2.356 MB / 0.7858 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/1.598, allocations: 0.5184 MB / 0.7863 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/1.6, allocations: 0.7409 MB / 0.7871 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007739/1.607, allocations: 2.774 MB / 0.7898 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.607, allocations: 0 / 0.7898 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.345e-06/1.607, allocations: 3.906 kB / 0.7898 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.186e-05/1.608, allocations: 0 / 0.7898 GB, free: 1.219 MB / 0.5762 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.005068/1.613, allocations: 1.776 MB / 0.7915 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.613, allocations: 9.25 kB / 0.7915 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/1.615, allocations: 346.2 kB / 0.7918 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/1.616, allocations: 0.8415 MB / 0.7927 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/1.617, allocations: 78.33 kB / 0.7927 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.617, allocations: 101 kB / 0.7928 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/1.619, allocations: 1.192 MB / 0.794 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/1.619, allocations: 5.016 kB / 0.794 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.619, allocations: 45.5 kB / 0.794 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/1.619, allocations: 59.59 kB / 0.7941 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/1.621, allocations: 1.252 MB / 0.7953 GB, free: 15.88 MB / 0.5919 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.00756/1.629, allocations: 5.128 MB / 0.8003 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.63, allocations: 1.164 MB / 0.8015 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008928/1.631, allocations: 0.502 MB / 0.802 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.471e-05/1.631, allocations: 15.77 kB / 0.802 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008881/1.632, allocations: 498.7 kB / 0.8025 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 5.36e-06/1.632, allocations: 0.6562 kB / 0.8025 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002092/1.634, allocations: 1.152 MB / 0.8036 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/1.634, allocations: 59.97 kB / 0.8036 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/1.635, allocations: 0.5844 MB / 0.8042 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/1.635, allocations: 40.83 kB / 0.8042 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/1.635, allocations: 456.6 kB / 0.8047 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/1.636, allocations: 268.6 kB / 0.8049 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/1.636, allocations: 132.3 kB / 0.8051 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.636, allocations: 387.9 kB / 0.8054 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/1.637, allocations: 332.4 kB / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/1.637, allocations: 445.9 kB / 0.8062 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/1.639, allocations: 0.8234 MB / 0.807 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.639, allocations: 0.8125 kB / 0.807 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001442/1.64, allocations: 0.9342 MB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.64, allocations: 6.469 kB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.64, allocations: 2.406 kB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.64, allocations: 9.031 kB / 0.8079 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/1.641, allocations: 162 kB / 0.8081 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.641, allocations: 6.594 kB / 0.8081 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/1.642, allocations: 56.25 kB / 0.8081 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/1.642, allocations: 29.88 kB / 0.8082 GB, free: 11.52 MB / 0.5919 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.0005762/1.642, allocations: 327.3 kB / 0.8085 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/1.642, allocations: 84.44 kB / 0.8085 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/1.643, allocations: 108.7 kB / 0.8086 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/1.643, allocations: 12.53 kB / 0.8087 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.643, allocations: 0 / 0.8087 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/1.644, allocations: 1.088 MB / 0.8097 GB, free: 10.89 MB / 0.5919 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.003367/1.647, allocations: 2.315 MB / 0.812 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.647, allocations: 4.906 kB / 0.812 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/1.648, allocations: 176.8 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.648, allocations: 5.406 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/1.648, allocations: 19.36 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/1.648, allocations: 2.438 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.648, allocations: 0.875 kB / 0.8122 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/1.65, allocations: 1.358 MB / 0.8135 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/1.65, allocations: 252.9 kB / 0.8138 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.651, allocations: 18.56 kB / 0.8138 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/1.651, allocations: 18.47 kB / 0.8138 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/1.651, allocations: 47.09 kB / 0.8138 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/1.651, allocations: 27.95 kB / 0.8139 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005372/1.652, allocations: 411.7 kB / 0.8142 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.652, allocations: 0 / 0.8142 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001118/1.653, allocations: 371.8 kB / 0.8146 GB, free: 9.879 MB / 0.5919 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.0003203/1.653, allocations: 175.3 kB / 0.8148 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00206/1.655, allocations: 1.035 MB / 0.8158 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.655, allocations: 1.125 kB / 0.8158 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005544/1.656, allocations: 430.4 kB / 0.8162 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.659, allocations: 0.5804 MB / 0.8168 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/1.662, allocations: 2.195 MB / 0.8189 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/1.663, allocations: 1.141 MB / 0.82 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001155/1.664, allocations: 278 kB / 0.8203 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/1.664, allocations: 72.5 kB / 0.8204 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of SimCode: time 1.123e-06/1.664, allocations: 0 / 0.8204 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of Templates: time 0.03412/1.699, allocations: 19.08 MB / 0.839 GB, free: 7.117 MB / 0.6075 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)