Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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/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/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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01071/0.01071, allocations: 172.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.3 MB / 148.1 MB, free: 224 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.881/1.881, allocations: 223.2 MB / 403.2 MB, free: 6.629 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.001154/0.001155, allocations: 100.8 kB / 485.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005564/0.0005569, allocations: 12 kB / 0.5641 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.5981, allocations: 81.58 MB / 0.6437 GB, free: 39.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.524/6.122, allocations: 1.893 GB / 2.537 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/6.123, allocations: 96.59 kB / 2.537 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.631/10.75, allocations: 1.075 GB / 3.612 GB, free: 64.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/10.75, allocations: 7.938 kB / 3.612 GB, free: 64.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003734/10.75, allocations: 47.98 kB / 3.612 GB, free: 64.85 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01291/10.77, allocations: 2.425 MB / 3.615 GB, free: 62.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.135e-05/10.77, allocations: 12.02 kB / 3.615 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/10.77, allocations: 0.5128 MB / 3.615 GB, free: 61.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004712/10.78, allocations: 1.284 MB / 3.616 GB, free: 60.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/10.78, allocations: 106.7 kB / 3.616 GB, free: 60.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006988/10.78, allocations: 140 kB / 3.617 GB, free: 60.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/10.78, allocations: 1.649 MB / 3.618 GB, free: 58.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.435e-05/10.78, allocations: 15.89 kB / 3.618 GB, free: 58.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/10.78, allocations: 59.92 kB / 3.618 GB, free: 58.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.873e-05/10.78, allocations: 54.59 kB / 3.618 GB, free: 58.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/10.79, allocations: 1.411 MB / 3.62 GB, free: 56.99 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.0103/10.8, allocations: 7.163 MB / 3.627 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/10.8, allocations: 1.188 MB / 3.628 GB, free: 48.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008681/10.8, allocations: 0.8633 MB / 3.629 GB, free: 47.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/10.8, allocations: 0.5986 MB / 3.629 GB, free: 46.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 4.719e-06/10.8, allocations: 4 kB / 3.629 GB, free: 46.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.003352/10.8, allocations: 1.581 MB / 3.631 GB, free: 44.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/10.8, allocations: 90.11 kB / 3.631 GB, free: 44.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/10.81, allocations: 1.039 MB / 3.632 GB, free: 43.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/10.81, allocations: 49.7 kB / 3.632 GB, free: 43.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007416/10.81, allocations: 0.6791 MB / 3.633 GB, free: 43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/10.81, allocations: 386.4 kB / 3.633 GB, free: 42.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/10.81, allocations: 20 kB / 3.633 GB, free: 42.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001248/10.81, allocations: 341.9 kB / 3.633 GB, free: 42.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/10.81, allocations: 421.8 kB / 3.634 GB, free: 41.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/10.81, allocations: 0.5936 MB / 3.634 GB, free: 41.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/10.81, allocations: 0.4914 MB / 3.635 GB, free: 40.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/10.81, allocations: 0 / 3.635 GB, free: 40.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002235/10.81, allocations: 1.222 MB / 3.636 GB, free: 39.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002912/10.81, allocations: 0.9809 MB / 3.637 GB, free: 38.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/10.81, allocations: 8 kB / 3.637 GB, free: 38.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.82e-05/10.81, allocations: 15.94 kB / 3.637 GB, free: 38.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/10.81, allocations: 219.7 kB / 3.637 GB, free: 38.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.245e-05/10.81, allocations: 11.98 kB / 3.637 GB, free: 38.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/10.81, allocations: 170.9 kB / 3.637 GB, free: 38.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/10.82, allocations: 40 kB / 3.637 GB, free: 37.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/10.82, allocations: 9.812 kB / 3.637 GB, free: 37.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001761/10.82, allocations: 1.042 MB / 3.638 GB, free: 36.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/10.82, allocations: 3.938 kB / 3.638 GB, free: 36.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/10.82, allocations: 8 kB / 3.638 GB, free: 36.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/10.82, allocations: 215.7 kB / 3.639 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/10.82, allocations: 12.25 kB / 3.639 GB, free: 36.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/10.82, allocations: 162.9 kB / 3.639 GB, free: 36.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/10.82, allocations: 39.98 kB / 3.639 GB, free: 36.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.001278/10.82, allocations: 492.8 kB / 3.639 GB, free: 36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/10.82, allocations: 146.2 kB / 3.639 GB, free: 35.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/10.82, allocations: 1.254 MB / 3.641 GB, free: 34.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/10.82, allocations: 16 kB / 3.641 GB, free: 34.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/10.82, allocations: 0 / 3.641 GB, free: 34.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/10.83, allocations: 1.011 MB / 3.642 GB, free: 33.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006588/10.83, allocations: 3.194 MB / 3.645 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/10.83, allocations: 0 / 3.645 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/10.83, allocations: 244 kB / 3.645 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/10.83, allocations: 11.95 kB / 3.645 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/10.83, allocations: 31.98 kB / 3.645 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/10.83, allocations: 8 kB / 3.645 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/10.83, allocations: 4 kB / 3.645 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/10.84, allocations: 2.143 MB / 3.647 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/10.84, allocations: 370.9 kB / 3.648 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/10.84, allocations: 24 kB / 3.648 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/10.84, allocations: 115.7 kB / 3.648 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/10.84, allocations: 80.84 kB / 3.648 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/10.84, allocations: 39.97 kB / 3.648 GB, free: 27.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001597/10.84, allocations: 0.818 MB / 3.649 GB, free: 26.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/10.84, allocations: 0 / 3.649 GB, free: 26.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004404/10.85, allocations: 1.099 MB / 3.65 GB, free: 25.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005571/10.85, allocations: 2.903 MB / 3.653 GB, free: 22.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00328/10.86, allocations: 1.611 MB / 3.654 GB, free: 20.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/10.86, allocations: 5.188 kB / 3.654 GB, free: 20.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/10.86, allocations: 0.5603 MB / 3.655 GB, free: 20.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004803/10.86, allocations: 0.8168 MB / 3.655 GB, free: 19.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/10.87, allocations: 4.009 MB / 3.659 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/10.87, allocations: 1.396 MB / 3.661 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002888/10.87, allocations: 466.2 kB / 3.661 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/10.88, allocations: 119.4 kB / 3.661 GB, free: 13.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.094e-06/10.88, allocations: 4 kB / 3.661 GB, free: 13.25 MB / 0.698 GB Notification: Performance of Templates: time 0.6312/11.51, allocations: 56.44 MB / 3.716 GB, free: 85.57 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)