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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 195 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8146/0.8146, allocations: 132.2 MB / 422.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 58.53 kB / 0.5011 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2057, allocations: 80.2 MB / 0.5794 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7142/0.92, allocations: 233.7 MB / 0.8076 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02059/0.9406, allocations: 10.5 MB / 0.8178 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004548/0.9453, allocations: 51.69 kB / 0.8179 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004672/0.95, allocations: 1.022 MB / 0.8189 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.9634, allocations: 3.447 MB / 0.8223 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006858/0.9703, allocations: 1.88 MB / 0.8241 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009627/0.9799, allocations: 6.278 MB / 0.8302 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/0.9831, allocations: 1.351 MB / 0.8315 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004127/0.9873, allocations: 1.385 MB / 0.8329 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.9917, allocations: 1.538 MB / 0.8344 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007511/0.9925, allocations: 96 kB / 0.8345 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009379/1.002, allocations: 3.733 MB / 0.8381 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/1.003, allocations: 0.6152 MB / 0.8387 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00294/1.006, allocations: 0.9716 MB / 0.8397 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/1.019, allocations: 3.946 MB / 0.8435 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/1.02, allocations: 0 / 0.8435 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.957e-06/1.02, allocations: 4 kB / 0.8435 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001991/1.02, allocations: 0 / 0.8435 GB, free: 4.645 MB / 0.6544 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.01012/1.03, allocations: 2.49 MB / 0.846 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.03, allocations: 12.03 kB / 0.846 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/1.034, allocations: 0.5166 MB / 0.8465 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/1.037, allocations: 1.228 MB / 0.8477 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/1.038, allocations: 98.66 kB / 0.8478 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006183/1.038, allocations: 140 kB / 0.8479 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/1.043, allocations: 1.67 MB / 0.8496 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/1.043, allocations: 4 kB / 0.8496 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/1.043, allocations: 55.94 kB / 0.8496 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.264e-05/1.043, allocations: 66.58 kB / 0.8497 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/1.046, allocations: 1.454 MB / 0.8511 GB, free: 12.73 MB / 0.67 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.01229/1.059, allocations: 6.949 MB / 0.8579 GB, free: 5.316 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/1.061, allocations: 1.184 MB / 0.859 GB, free: 4.086 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.062, allocations: 0.6084 MB / 0.8596 GB, free: 3.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.063, allocations: 0.8555 MB / 0.8605 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/1.064, allocations: 0.6141 MB / 0.8611 GB, free: 1.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 4.027e-06/1.064, allocations: 0 / 0.8611 GB, free: 1.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003535/1.068, allocations: 1.565 MB / 0.8626 GB, free: 252 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/1.068, allocations: 90.11 kB / 0.8627 GB, free: 144 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3709/1.439, allocations: 1.201 MB / 0.8639 GB, free: 225.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/1.439, allocations: 46.67 kB / 0.8639 GB, free: 225.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/1.44, allocations: 0.6779 MB / 0.8646 GB, free: 225.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/1.44, allocations: 388.7 kB / 0.8649 GB, free: 225.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.44, allocations: 173.3 kB / 0.8651 GB, free: 225.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/1.44, allocations: 344.1 kB / 0.8654 GB, free: 225.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/1.441, allocations: 430.8 kB / 0.8658 GB, free: 225.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/1.442, allocations: 0.57 MB / 0.8664 GB, free: 224.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/1.443, allocations: 1.009 MB / 0.8674 GB, free: 224.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.443, allocations: 2.531 kB / 0.8674 GB, free: 224.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001933/1.445, allocations: 1.214 MB / 0.8686 GB, free: 223.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.445, allocations: 8.281 kB / 0.8686 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.445, allocations: 4.844 kB / 0.8686 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/1.445, allocations: 8.781 kB / 0.8686 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/1.446, allocations: 215.7 kB / 0.8688 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.446, allocations: 12.98 kB / 0.8688 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.448, allocations: 164.4 kB / 0.869 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/1.448, allocations: 33.78 kB / 0.869 GB, free: 223.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001187/1.449, allocations: 0.7416 MB / 0.8697 GB, free: 223.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000691/1.45, allocations: 0.5543 MB / 0.8703 GB, free: 223.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001298/1.451, allocations: 0.9955 MB / 0.8712 GB, free: 222.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/1.451, allocations: 0 / 0.8712 GB, free: 222.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001761/1.453, allocations: 1.191 MB / 0.8724 GB, free: 222.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.453, allocations: 5.312 kB / 0.8724 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.453, allocations: 3.094 kB / 0.8724 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/1.453, allocations: 12.97 kB / 0.8724 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/1.454, allocations: 208.6 kB / 0.8726 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.454, allocations: 12.17 kB / 0.8726 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.455, allocations: 148.5 kB / 0.8728 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/1.455, allocations: 33.66 kB / 0.8728 GB, free: 222 MB / 0.67 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002983/1.455, allocations: 247.9 kB / 0.873 GB, free: 221.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/1.455, allocations: 151 kB / 0.8732 GB, free: 221.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/1.458, allocations: 1.234 MB / 0.8744 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.458, allocations: 9 kB / 0.8744 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.458, allocations: 2.844 kB / 0.8744 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001466/1.459, allocations: 0.999 MB / 0.8754 GB, free: 220.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/1.464, allocations: 3.163 MB / 0.8785 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.464, allocations: 1.375 kB / 0.8785 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.465, allocations: 239.5 kB / 0.8787 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.465, allocations: 6.75 kB / 0.8787 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/1.465, allocations: 32.62 kB / 0.8787 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/1.465, allocations: 10.97 kB / 0.8787 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.465, allocations: 3.125 kB / 0.8787 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/1.468, allocations: 1.996 MB / 0.8807 GB, free: 218.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/1.468, allocations: 355.2 kB / 0.881 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.469, allocations: 24.47 kB / 0.881 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.47, allocations: 116 kB / 0.8812 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.47, allocations: 79.95 kB / 0.8812 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/1.47, allocations: 38.84 kB / 0.8813 GB, free: 218 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00101/1.471, allocations: 0.8252 MB / 0.8821 GB, free: 217.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.471, allocations: 0 / 0.8821 GB, free: 217.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001856/1.473, allocations: 0.8386 MB / 0.8829 GB, free: 217.5 MB / 0.67 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/1.474, allocations: 0.5808 MB / 0.8835 GB, free: 217.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002655/1.477, allocations: 1.611 MB / 0.885 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.477, allocations: 0 / 0.885 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/1.478, allocations: 0.5663 MB / 0.8856 GB, free: 216.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/1.481, allocations: 0.8351 MB / 0.8864 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/1.486, allocations: 3.958 MB / 0.8903 GB, free: 214.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009945/1.487, allocations: 1.367 MB / 0.8916 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002263/1.49, allocations: 451 kB / 0.892 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/1.49, allocations: 112.3 kB / 0.8921 GB, free: 213.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/1.49, allocations: 0 / 0.8921 GB, free: 213.2 MB / 0.67 GB Notification: Performance of Templates: time 0.06545/1.556, allocations: 28.78 MB / 0.9202 GB, free: 207.5 MB / 0.67 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)