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.00115/0.00115, allocations: 175.2 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/package.mo): time 0.7896/0.7896, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.501/1.501, allocations: 221.3 MB / 396.8 MB, free: 9.16 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.0008803/0.0008803, allocations: 98.91 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.258e-05, allocations: 3.469 kB / 0.5551 GB, free: 86.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1689, allocations: 81.58 MB / 0.6347 GB, free: 12.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.848/5.017, allocations: 1.893 GB / 2.528 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/5.017, allocations: 87.95 kB / 2.528 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.051/9.069, allocations: 1.074 GB / 3.602 GB, free: 37.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/9.069, allocations: 0 / 3.602 GB, free: 37.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001572/9.069, allocations: 47.98 kB / 3.602 GB, free: 37.77 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.006985/9.076, allocations: 2.155 MB / 3.604 GB, free: 35.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/9.076, allocations: 8.031 kB / 3.604 GB, free: 35.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/9.08, allocations: 0.5205 MB / 3.605 GB, free: 35.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/9.082, allocations: 1.276 MB / 3.606 GB, free: 33.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.439e-05/9.083, allocations: 106.7 kB / 3.606 GB, free: 33.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/9.083, allocations: 144 kB / 3.606 GB, free: 33.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/9.086, allocations: 1.602 MB / 3.608 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/9.086, allocations: 4 kB / 3.608 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/9.086, allocations: 56 kB / 3.608 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/9.086, allocations: 54.59 kB / 3.608 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/9.088, allocations: 1.349 MB / 3.609 GB, free: 30.31 MB / 0.698 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.00856/9.096, allocations: 7.16 MB / 3.616 GB, free: 22.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/9.098, allocations: 1.148 MB / 3.617 GB, free: 21.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/9.099, allocations: 0.5889 MB / 3.618 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/9.099, allocations: 0.8633 MB / 3.619 GB, free: 19.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/9.1, allocations: 0.5869 MB / 3.619 GB, free: 19.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.857e-06/9.1, allocations: 0 / 3.619 GB, free: 19.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.002221/9.102, allocations: 1.113 MB / 3.621 GB, free: 18.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/9.103, allocations: 90.11 kB / 3.621 GB, free: 18.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/9.104, allocations: 1.025 MB / 3.622 GB, free: 16.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/9.104, allocations: 49.7 kB / 3.622 GB, free: 16.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/9.105, allocations: 0.6777 MB / 3.622 GB, free: 16.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/9.105, allocations: 382.3 kB / 3.623 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/9.105, allocations: 23.94 kB / 3.623 GB, free: 15.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/9.105, allocations: 345.9 kB / 3.623 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/9.106, allocations: 397.9 kB / 3.623 GB, free: 15.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/9.107, allocations: 0.5703 MB / 3.624 GB, free: 14.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/9.107, allocations: 484.7 kB / 3.624 GB, free: 14.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/9.107, allocations: 0 / 3.624 GB, free: 14.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001837/9.109, allocations: 1.171 MB / 3.626 GB, free: 12.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/9.109, allocations: 0.99 MB / 3.627 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/9.109, allocations: 4 kB / 3.627 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.816e-05/9.11, allocations: 4 kB / 3.627 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/9.111, allocations: 223.6 kB / 3.627 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/9.111, allocations: 8 kB / 3.627 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/9.112, allocations: 174.8 kB / 3.627 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/9.112, allocations: 39.98 kB / 3.627 GB, free: 11.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/9.112, allocations: 8 kB / 3.627 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/9.114, allocations: 1.007 MB / 3.628 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/9.114, allocations: 4 kB / 3.628 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/9.114, allocations: 11.98 kB / 3.628 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/9.115, allocations: 208 kB / 3.628 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/9.115, allocations: 15.94 kB / 3.628 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/9.117, allocations: 163 kB / 3.628 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/9.117, allocations: 40 kB / 3.628 GB, free: 9.895 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 () * 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.0003622/9.117, allocations: 170.1 kB / 3.629 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/9.118, allocations: 150.2 kB / 3.629 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/9.12, allocations: 1.211 MB / 3.63 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/9.12, allocations: 12 kB / 3.63 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/9.12, allocations: 0 / 3.63 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00131/9.121, allocations: 0.9678 MB / 3.631 GB, free: 7.355 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/9.127, allocations: 3.147 MB / 3.634 GB, free: 4.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/9.127, allocations: 7.953 kB / 3.634 GB, free: 4.078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/9.128, allocations: 239.7 kB / 3.634 GB, free: 3.844 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.333e-05/9.128, allocations: 12.25 kB / 3.634 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/9.128, allocations: 31.98 kB / 3.634 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.889e-06/9.128, allocations: 8 kB / 3.634 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/9.128, allocations: 4 kB / 3.634 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/9.131, allocations: 2.075 MB / 3.636 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/9.132, allocations: 374.9 kB / 3.637 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/9.133, allocations: 24 kB / 3.637 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/9.134, allocations: 123.8 kB / 3.637 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/9.134, allocations: 72.89 kB / 3.637 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/9.134, allocations: 40.17 kB / 3.637 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001362/9.136, allocations: 0.8005 MB / 3.638 GB, free: 144 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/9.136, allocations: 3.938 kB / 3.638 GB, free: 140 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.004181/9.14, allocations: 1.099 MB / 3.639 GB, free: 15.04 MB / 0.7136 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) * 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.006553/9.146, allocations: 2.857 MB / 3.641 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004062/9.151, allocations: 1.608 MB / 3.643 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/9.151, allocations: 0 / 3.643 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001/9.152, allocations: 0.542 MB / 3.644 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/9.157, allocations: 0.8086 MB / 3.644 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/9.163, allocations: 2.735 MB / 3.647 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/9.165, allocations: 1.402 MB / 3.648 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003257/9.168, allocations: 0.5814 MB / 3.649 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/9.168, allocations: 95.42 kB / 3.649 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/9.168, allocations: 0 / 3.649 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of Templates: time 0.7294/9.898, allocations: 65.34 MB / 3.713 GB, free: 87.96 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)