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.001154/0.001155, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7575/0.7575, allocations: 130.7 MB / 138.7 MB, free: 3.574 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0008249/0.0008247, allocations: 98.86 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.609e-05, allocations: 0 / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4761, allocations: 81.58 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.391/4.867, allocations: 1.893 GB / 2.521 GB, free: 58.16 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/4.867, allocations: 87.95 kB / 2.521 GB, free: 58.08 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.046/8.914, allocations: 1.063 GB / 3.583 GB, free: 10.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/8.914, allocations: 0 / 3.583 GB, free: 10.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003684/8.914, allocations: 51.98 kB / 3.583 GB, free: 10.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.01305/8.927, allocations: 2.146 MB / 3.586 GB, free: 8.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.843e-05/8.927, allocations: 12.03 kB / 3.586 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005455/8.933, allocations: 0.5244 MB / 3.586 GB, free: 8.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005203/8.938, allocations: 1.276 MB / 3.587 GB, free: 6.781 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/8.938, allocations: 40 kB / 3.587 GB, free: 6.742 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007467/8.939, allocations: 84 kB / 3.587 GB, free: 6.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004086/8.943, allocations: 1.192 MB / 3.589 GB, free: 5.465 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/8.948, allocations: 1.417 MB / 3.59 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.401e-05/8.948, allocations: 11.94 kB / 3.59 GB, free: 3.961 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003222/8.948, allocations: 7.891 kB / 3.59 GB, free: 3.953 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/8.949, allocations: 62.52 kB / 3.59 GB, free: 3.891 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.7285/9.677, allocations: 7.019 MB / 3.597 GB, free: 77.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/9.679, allocations: 1.218 MB / 3.598 GB, free: 77.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/9.68, allocations: 0.5668 MB / 3.599 GB, free: 77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009877/9.681, allocations: 0.868 MB / 3.6 GB, free: 76.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/9.683, allocations: 0.5872 MB / 3.6 GB, free: 76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 5.139e-06/9.683, allocations: 2.156 kB / 3.6 GB, free: 76 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.002957/9.686, allocations: 1.15 MB / 3.601 GB, free: 75.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/9.686, allocations: 86.73 kB / 3.601 GB, free: 75.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/9.687, allocations: 0.8247 MB / 3.602 GB, free: 75.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/9.687, allocations: 25.7 kB / 3.602 GB, free: 75.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/9.688, allocations: 0.6891 MB / 3.603 GB, free: 75.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004045/9.688, allocations: 370.3 kB / 3.603 GB, free: 75.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/9.688, allocations: 0 / 3.603 GB, free: 75.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001407/9.688, allocations: 347.8 kB / 3.603 GB, free: 74.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/9.689, allocations: 411.3 kB / 3.604 GB, free: 74.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/9.69, allocations: 0.5734 MB / 3.604 GB, free: 74.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009497/9.691, allocations: 0.5059 MB / 3.605 GB, free: 74.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/9.691, allocations: 0 / 3.605 GB, free: 74.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002113/9.693, allocations: 1.18 MB / 3.606 GB, free: 74.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/9.693, allocations: 0.975 MB / 3.607 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/9.693, allocations: 0 / 3.607 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/9.693, allocations: 11.03 kB / 3.607 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/9.694, allocations: 229.1 kB / 3.607 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/9.694, allocations: 10.41 kB / 3.607 GB, free: 73.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/9.696, allocations: 137.4 kB / 3.607 GB, free: 73.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/9.696, allocations: 44.08 kB / 3.607 GB, free: 73.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/9.696, allocations: 5.203 kB / 3.607 GB, free: 73.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/9.698, allocations: 1.014 MB / 3.608 GB, free: 73.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/9.698, allocations: 0 / 3.608 GB, free: 73.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/9.698, allocations: 10.66 kB / 3.608 GB, free: 73.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/9.699, allocations: 223 kB / 3.609 GB, free: 73.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/9.699, allocations: 11.69 kB / 3.609 GB, free: 73.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/9.7, allocations: 123.1 kB / 3.609 GB, free: 73.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/9.7, allocations: 41.31 kB / 3.609 GB, free: 73.61 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.0002702/9.7, allocations: 130.2 kB / 3.609 GB, free: 73.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/9.701, allocations: 140.8 kB / 3.609 GB, free: 73.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/9.703, allocations: 1.213 MB / 3.61 GB, free: 73.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/9.703, allocations: 10.09 kB / 3.61 GB, free: 73.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/9.703, allocations: 2.953 kB / 3.61 GB, free: 73.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/9.704, allocations: 1.005 MB / 3.611 GB, free: 73.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/9.71, allocations: 3.11 MB / 3.614 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/9.71, allocations: 5.688 kB / 3.614 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/9.711, allocations: 249.7 kB / 3.615 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/9.711, allocations: 3.469 kB / 3.615 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/9.711, allocations: 18.92 kB / 3.615 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/9.711, allocations: 10.95 kB / 3.615 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/9.711, allocations: 6.844 kB / 3.615 GB, free: 72.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/9.714, allocations: 2.132 MB / 3.617 GB, free: 72.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/9.715, allocations: 359 kB / 3.617 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/9.715, allocations: 9.781 kB / 3.617 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/9.716, allocations: 101 kB / 3.617 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/9.716, allocations: 73.53 kB / 3.617 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.772e-05/9.716, allocations: 44.27 kB / 3.617 GB, free: 71.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009589/9.717, allocations: 0.6225 MB / 3.618 GB, free: 71.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/9.717, allocations: 0 / 3.618 GB, free: 71.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00321/9.72, allocations: 1.012 MB / 3.619 GB, free: 71.78 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) * 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.005645/9.726, allocations: 3.119 MB / 3.622 GB, free: 70.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003805/9.73, allocations: 1.632 MB / 3.623 GB, free: 70.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/9.73, allocations: 2.5 kB / 3.623 GB, free: 70.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008278/9.731, allocations: 0.5431 MB / 3.624 GB, free: 70.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/9.735, allocations: 0.6811 MB / 3.625 GB, free: 70.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/9.742, allocations: 2.701 MB / 3.627 GB, free: 70.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/9.743, allocations: 1.409 MB / 3.629 GB, free: 69.31 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00299/9.746, allocations: 0.5624 MB / 3.629 GB, free: 69.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/9.746, allocations: 96.23 kB / 3.629 GB, free: 69.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/9.746, allocations: 0 / 3.629 GB, free: 69.29 MB / 0.698 GB Notification: Performance of Templates: time 0.08165/9.828, allocations: 40.34 MB / 3.669 GB, free: 67.69 MB / 0.698 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)