Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7129/0.7129, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008925, allocations: 93.92 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.568e-05, allocations: 3.219 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 82.31 MB / 0.6404 GB, free: 7.812 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.641/5.847, allocations: 1.885 GB / 2.525 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004352/5.847, allocations: 87.25 kB / 2.525 GB, free: 11.63 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.82/8.667, allocations: 0.6123 GB / 3.138 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.963e-06/8.667, allocations: 0 / 3.138 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001404/8.667, allocations: 22.28 kB / 3.138 GB, free: 119.5 MB / 0.6823 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.006004/8.673, allocations: 1.558 MB / 3.139 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/8.674, allocations: 10.69 kB / 3.139 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/8.676, allocations: 335.8 kB / 3.14 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/8.679, allocations: 0.8598 MB / 3.14 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/8.679, allocations: 76.45 kB / 3.141 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/8.679, allocations: 108.1 kB / 3.141 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/8.682, allocations: 1.099 MB / 3.142 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/8.682, allocations: 0 / 3.142 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/8.682, allocations: 39.56 kB / 3.142 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.4e-05/8.682, allocations: 60.03 kB / 3.142 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/8.685, allocations: 1.144 MB / 3.143 GB, free: 118.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.007172/8.692, allocations: 5.042 MB / 3.148 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/8.693, allocations: 0.9588 MB / 3.149 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/8.694, allocations: 0.4944 MB / 3.149 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/8.694, allocations: 19.03 kB / 3.149 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006689/8.694, allocations: 487.8 kB / 3.15 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.526e-06/8.694, allocations: 0 / 3.15 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001435/8.696, allocations: 0.8378 MB / 3.151 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/8.696, allocations: 62.31 kB / 3.151 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/8.697, allocations: 0.5005 MB / 3.151 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/8.697, allocations: 42.83 kB / 3.151 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/8.697, allocations: 462.2 kB / 3.152 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/8.697, allocations: 269.6 kB / 3.152 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/8.697, allocations: 10.31 kB / 3.152 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001131/8.697, allocations: 387.5 kB / 3.152 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/8.698, allocations: 329.3 kB / 3.153 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/8.698, allocations: 451.5 kB / 3.153 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/8.699, allocations: 401.8 kB / 3.153 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/8.699, allocations: 0 / 3.153 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001329/8.7, allocations: 0.9306 MB / 3.154 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/8.7, allocations: 7.969 kB / 3.154 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/8.7, allocations: 1.719 kB / 3.154 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/8.7, allocations: 7.469 kB / 3.154 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/8.701, allocations: 156.9 kB / 3.154 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/8.701, allocations: 6.125 kB / 3.154 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/8.702, allocations: 136 kB / 3.155 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/8.702, allocations: 27.75 kB / 3.155 GB, free: 114.5 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/8.702, allocations: 149.1 kB / 3.155 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/8.702, allocations: 81.92 kB / 3.155 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/8.703, allocations: 115.2 kB / 3.155 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/8.703, allocations: 10.91 kB / 3.155 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/8.703, allocations: 0 / 3.155 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/8.704, allocations: 1.091 MB / 3.156 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/8.707, allocations: 2.181 MB / 3.158 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/8.707, allocations: 0 / 3.158 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/8.708, allocations: 182.3 kB / 3.158 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/8.708, allocations: 3.594 kB / 3.158 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/8.708, allocations: 17.98 kB / 3.158 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/8.708, allocations: 3.594 kB / 3.158 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/8.708, allocations: 3.406 kB / 3.158 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/8.71, allocations: 1.504 MB / 3.16 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/8.71, allocations: 257.5 kB / 3.16 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/8.71, allocations: 18.44 kB / 3.16 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007768/8.711, allocations: 96.34 kB / 3.16 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/8.711, allocations: 49.64 kB / 3.16 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/8.711, allocations: 24.69 kB / 3.16 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000456/8.711, allocations: 410.2 kB / 3.161 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/8.711, allocations: 0 / 3.161 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001532/8.713, allocations: 0.5094 MB / 3.161 GB, free: 113 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/8.715, allocations: 1.603 MB / 3.163 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001106/8.716, allocations: 0.8064 MB / 3.163 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/8.716, allocations: 0 / 3.163 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/8.717, allocations: 427.6 kB / 3.164 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/8.719, allocations: 0.556 MB / 3.164 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/8.722, allocations: 1.791 MB / 3.166 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/8.722, allocations: 1.164 MB / 3.167 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001016/8.723, allocations: 276 kB / 3.168 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/8.724, allocations: 71.31 kB / 3.168 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/8.724, allocations: 0 / 3.168 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.05076/8.774, allocations: 41.48 MB / 3.208 GB, free: 103.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)