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.0007102/0.0007131, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.000783/0.000783, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6743/0.6743, allocations: 132.4 MB / 423.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 12 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3169, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.19/0.507, allocations: 215 MB / 0.7931 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.5195, allocations: 9.791 MB / 0.8026 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.5206, allocations: 55.62 kB / 0.8027 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.5223, allocations: 0.8 MB / 0.8034 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.5273, allocations: 2.648 MB / 0.806 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.5304, allocations: 1.45 MB / 0.8075 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00439/0.5348, allocations: 5.272 MB / 0.8126 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.5365, allocations: 1.174 MB / 0.8137 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.5385, allocations: 1.362 MB / 0.8151 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.5402, allocations: 1.401 MB / 0.8164 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.5403, allocations: 83.94 kB / 0.8165 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2795/0.8199, allocations: 1.603 MB / 0.8181 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009108/0.8208, allocations: 0.579 MB / 0.8187 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007013/0.8215, allocations: 406.3 kB / 0.819 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.8248, allocations: 2.569 MB / 0.8216 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8248, allocations: 2.125 kB / 0.8216 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8248, allocations: 0 / 0.8216 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.051e-05/0.8249, allocations: 1.219 kB / 0.8216 GB, free: 12.37 MB / 0.6387 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.004154/0.829, allocations: 2.148 MB / 0.8237 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.8291, allocations: 9.031 kB / 0.8237 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.8321, allocations: 0.5202 MB / 0.8242 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.8337, allocations: 1.18 MB / 0.8253 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/0.8338, allocations: 108.2 kB / 0.8254 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.834, allocations: 136.2 kB / 0.8256 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.8365, allocations: 1.663 MB / 0.8272 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.8365, allocations: 5.719 kB / 0.8272 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.8367, allocations: 57.8 kB / 0.8272 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.91e-05/0.8367, allocations: 70.22 kB / 0.8273 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.839, allocations: 1.445 MB / 0.8287 GB, free: 10.58 MB / 0.6387 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.007005/0.8461, allocations: 6.951 MB / 0.8355 GB, free: 23.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.8476, allocations: 1.193 MB / 0.8367 GB, free: 22.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000846/0.8485, allocations: 0.6126 MB / 0.8373 GB, free: 22.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/0.8492, allocations: 0.8683 MB / 0.8381 GB, free: 22.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009178/0.8502, allocations: 0.6074 MB / 0.8387 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 2.665e-06/0.8502, allocations: 0 / 0.8387 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.002533/0.8527, allocations: 1.58 MB / 0.8403 GB, free: 21.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.8528, allocations: 89.64 kB / 0.8403 GB, free: 21.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.8539, allocations: 1.183 MB / 0.8415 GB, free: 21.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.854, allocations: 48.05 kB / 0.8415 GB, free: 21.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.8543, allocations: 0.676 MB / 0.8422 GB, free: 21.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.8546, allocations: 385.5 kB / 0.8426 GB, free: 21.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.8546, allocations: 18.31 kB / 0.8426 GB, free: 21.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.8547, allocations: 348.8 kB / 0.8429 GB, free: 20.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.8553, allocations: 419.7 kB / 0.8433 GB, free: 20.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.856, allocations: 0.5618 MB / 0.8439 GB, free: 20.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.8566, allocations: 495.6 kB / 0.8443 GB, free: 20.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8566, allocations: 2.969 kB / 0.8443 GB, free: 20.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001595/0.8582, allocations: 1.215 MB / 0.8455 GB, free: 20.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.8583, allocations: 168 kB / 0.8457 GB, free: 20.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8583, allocations: 0 / 0.8457 GB, free: 20.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8583, allocations: 8 kB / 0.8457 GB, free: 20.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/0.8592, allocations: 228.7 kB / 0.8459 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.8592, allocations: 8.594 kB / 0.8459 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8603, allocations: 164.7 kB / 0.8461 GB, free: 20.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.8604, allocations: 43.78 kB / 0.8461 GB, free: 20.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-06/0.8604, allocations: 3.156 kB / 0.8461 GB, free: 20.29 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/0.8618, allocations: 1.031 MB / 0.8471 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8618, allocations: 3.312 kB / 0.8471 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.8618, allocations: 7.625 kB / 0.8471 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.8626, allocations: 212.2 kB / 0.8473 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.8626, allocations: 7.75 kB / 0.8473 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009121/0.8635, allocations: 164.8 kB / 0.8475 GB, free: 20.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.8636, allocations: 39.75 kB / 0.8475 GB, free: 20.21 MB / 0.6544 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.000526/0.8641, allocations: 490.2 kB / 0.848 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.8643, allocations: 152.8 kB / 0.8482 GB, free: 19.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.8661, allocations: 1.24 MB / 0.8494 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.8661, allocations: 11.69 kB / 0.8494 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8661, allocations: 0 / 0.8494 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001309/0.8674, allocations: 1.013 MB / 0.8504 GB, free: 19.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.8712, allocations: 3.168 MB / 0.8535 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.8712, allocations: 1.75 kB / 0.8535 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.8721, allocations: 233.2 kB / 0.8537 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.8722, allocations: 6.25 kB / 0.8537 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.8722, allocations: 31.69 kB / 0.8537 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.8722, allocations: 8.594 kB / 0.8537 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.8722, allocations: 3 kB / 0.8537 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.8745, allocations: 2.001 MB / 0.8557 GB, free: 18.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.8749, allocations: 371.7 kB / 0.856 GB, free: 18.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.8751, allocations: 25.16 kB / 0.8561 GB, free: 18.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.876, allocations: 115.9 kB / 0.8562 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.8761, allocations: 68.55 kB / 0.8562 GB, free: 18.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.8762, allocations: 42.83 kB / 0.8563 GB, free: 18.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000824/0.877, allocations: 0.8206 MB / 0.8571 GB, free: 18.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8771, allocations: 4 kB / 0.8571 GB, free: 18.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001618/0.8787, allocations: 0.8317 MB / 0.8579 GB, free: 18.36 MB / 0.6544 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 (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.001147/0.8798, allocations: 0.5745 MB / 0.8585 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.8819, allocations: 1.604 MB / 0.86 GB, free: 18.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.8819, allocations: 3.531 kB / 0.86 GB, free: 18.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007007/0.8827, allocations: 0.5744 MB / 0.8606 GB, free: 18.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.8856, allocations: 0.8269 MB / 0.8614 GB, free: 18.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.8896, allocations: 3.998 MB / 0.8653 GB, free: 16.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.8903, allocations: 1.376 MB / 0.8666 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001495/0.8918, allocations: 456.1 kB / 0.8671 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.8922, allocations: 108.9 kB / 0.8672 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.8922, allocations: 0 / 0.8672 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.03334/0.9255, allocations: 27.77 MB / 0.8943 GB, free: 6.312 MB / 0.6544 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)