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.006549/0.006549, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8012/0.8012, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.493/1.493, allocations: 223.2 MB / 406.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009761, allocations: 91.16 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 15.94 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5008, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/5.215, allocations: 1.885 GB / 2.534 GB, free: 92.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/5.216, allocations: 93.58 kB / 2.535 GB, free: 92.1 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.145/7.361, allocations: 0.6129 GB / 3.147 GB, free: 5.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/7.361, allocations: 0 / 3.147 GB, free: 5.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.836e-05/7.361, allocations: 27.98 kB / 3.147 GB, free: 5.473 MB / 0.698 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.005098/7.366, allocations: 1.68 MB / 3.149 GB, free: 3.738 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/7.366, allocations: 8.031 kB / 3.149 GB, free: 3.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/7.368, allocations: 342.1 kB / 3.149 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/7.37, allocations: 0.8628 MB / 3.15 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/7.37, allocations: 78 kB / 3.15 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/7.37, allocations: 100 kB / 3.15 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/7.372, allocations: 1.113 MB / 3.152 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/7.372, allocations: 0 / 3.152 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/7.373, allocations: 44 kB / 3.152 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-05/7.373, allocations: 54.08 kB / 3.152 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5795/7.952, allocations: 1.167 MB / 3.153 GB, free: 122.8 MB / 0.698 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.01678/7.969, allocations: 5.046 MB / 3.158 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/7.972, allocations: 0.9611 MB / 3.159 GB, free: 120.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/7.972, allocations: 14.98 kB / 3.159 GB, free: 120.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/7.973, allocations: 492.6 kB / 3.159 GB, free: 120.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 5.42e-06/7.973, allocations: 3.125 kB / 3.159 GB, free: 120.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.004432/7.978, allocations: 1.179 MB / 3.16 GB, free: 120 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/7.978, allocations: 59.66 kB / 3.16 GB, free: 120 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/7.98, allocations: 0.5094 MB / 3.161 GB, free: 119.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/7.98, allocations: 40.36 kB / 3.161 GB, free: 119.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006391/7.98, allocations: 463 kB / 3.161 GB, free: 119.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/7.981, allocations: 268.6 kB / 3.162 GB, free: 119.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/7.981, allocations: 17.34 kB / 3.162 GB, free: 119.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002687/7.981, allocations: 384.6 kB / 3.162 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/7.982, allocations: 333.1 kB / 3.162 GB, free: 119.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/7.984, allocations: 462.8 kB / 3.163 GB, free: 119.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/7.985, allocations: 414.6 kB / 3.163 GB, free: 119.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/7.985, allocations: 3.75 kB / 3.163 GB, free: 119.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002918/7.988, allocations: 0.9365 MB / 3.164 GB, free: 119 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/7.988, allocations: 8.125 kB / 3.164 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/7.988, allocations: 5.172 kB / 3.164 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/7.988, allocations: 3.719 kB / 3.164 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/7.989, allocations: 158.3 kB / 3.164 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/7.989, allocations: 11.5 kB / 3.164 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/7.992, allocations: 137.6 kB / 3.164 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/7.992, allocations: 29.09 kB / 3.164 GB, free: 119 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001115/7.993, allocations: 326.6 kB / 3.165 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/7.993, allocations: 87.94 kB / 3.165 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/7.994, allocations: 107.1 kB / 3.165 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/7.994, allocations: 7.031 kB / 3.165 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/7.994, allocations: 3.953 kB / 3.165 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001938/7.996, allocations: 1.099 MB / 3.166 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/8.002, allocations: 2.155 MB / 3.168 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/8.002, allocations: 3.969 kB / 3.168 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/8.003, allocations: 179.4 kB / 3.168 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/8.004, allocations: 3.969 kB / 3.168 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/8.004, allocations: 18.52 kB / 3.168 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/8.004, allocations: 7.469 kB / 3.168 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/8.004, allocations: 0 / 3.168 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/8.007, allocations: 1.525 MB / 3.17 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/8.008, allocations: 252.3 kB / 3.17 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/8.009, allocations: 16.22 kB / 3.17 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/8.01, allocations: 97.41 kB / 3.17 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/8.011, allocations: 52.16 kB / 3.17 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/8.011, allocations: 32.98 kB / 3.17 GB, free: 117.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009625/8.012, allocations: 409.3 kB / 3.171 GB, free: 117.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/8.012, allocations: 0 / 3.171 GB, free: 117.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002927/8.015, allocations: 0.5046 MB / 3.171 GB, free: 117.5 MB / 0.698 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 () * 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 (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.003549/8.018, allocations: 1.592 MB / 3.173 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001509/8.02, allocations: 0.8226 MB / 3.173 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/8.02, allocations: 0 / 3.173 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/8.02, allocations: 437.2 kB / 3.174 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/8.023, allocations: 0.5599 MB / 3.174 GB, free: 117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/8.028, allocations: 2.678 MB / 3.177 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/8.03, allocations: 1.161 MB / 3.178 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001507/8.031, allocations: 273 kB / 3.178 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/8.032, allocations: 77.52 kB / 3.178 GB, free: 115.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.823e-06/8.032, allocations: 0 / 3.178 GB, free: 115.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05713/8.089, allocations: 37.13 MB / 3.215 GB, free: 114.5 MB / 0.698 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)