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.001237/0.001238, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.702/0.702, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.381/1.381, allocations: 222.9 MB / 403.4 MB, free: 7.117 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.0009922/0.0009922, allocations: 102 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009998/0.0009998, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.134, allocations: 80.21 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5143/0.6484, allocations: 233.6 MB / 0.8683 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.6632, allocations: 10.52 MB / 0.8786 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.6654, allocations: 55.69 kB / 0.8787 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.6682, allocations: 1.026 MB / 0.8797 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008182/0.6764, allocations: 3.437 MB / 0.883 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004924/0.6814, allocations: 1.878 MB / 0.8848 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006919/0.6883, allocations: 6.308 MB / 0.891 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.6903, allocations: 1.339 MB / 0.8923 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.6927, allocations: 1.401 MB / 0.8937 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.6954, allocations: 1.542 MB / 0.8952 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.6956, allocations: 96 kB / 0.8953 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00648/0.7021, allocations: 3.732 MB / 0.8989 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008112/0.703, allocations: 0.6152 MB / 0.8995 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.7043, allocations: 0.9755 MB / 0.9005 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006082/0.7104, allocations: 3.949 MB / 0.9043 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7104, allocations: 0 / 0.9043 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7104, allocations: 4 kB / 0.9043 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.556e-05/0.7105, allocations: 0 / 0.9043 GB, free: 4.359 MB / 0.6355 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.005264/0.7157, allocations: 2.482 MB / 0.9068 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7158, allocations: 12.03 kB / 0.9068 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.719, allocations: 0.5205 MB / 0.9073 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.7211, allocations: 1.228 MB / 0.9085 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.7212, allocations: 102.7 kB / 0.9086 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.7214, allocations: 136 kB / 0.9087 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.724, allocations: 1.674 MB / 0.9103 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.7241, allocations: 0 / 0.9103 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.7242, allocations: 52 kB / 0.9104 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-05/0.7243, allocations: 74.52 kB / 0.9105 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.7267, allocations: 1.443 MB / 0.9119 GB, free: 12.45 MB / 0.6511 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.008283/0.735, allocations: 6.949 MB / 0.9187 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.7368, allocations: 1.188 MB / 0.9198 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/0.7377, allocations: 0.616 MB / 0.9204 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.7384, allocations: 0.8594 MB / 0.9213 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009692/0.7394, allocations: 0.6025 MB / 0.9218 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 2.876e-06/0.7394, allocations: 0 / 0.9218 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.002954/0.7424, allocations: 1.569 MB / 0.9234 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.7425, allocations: 90.05 kB / 0.9235 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.7439, allocations: 1.195 MB / 0.9246 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.744, allocations: 49.7 kB / 0.9247 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/0.7446, allocations: 0.6853 MB / 0.9254 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/0.7449, allocations: 386.4 kB / 0.9257 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.7452, allocations: 178.6 kB / 0.9259 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7453, allocations: 341.9 kB / 0.9262 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.746, allocations: 428.6 kB / 0.9266 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/0.7469, allocations: 0.5613 MB / 0.9272 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.7485, allocations: 1.017 MB / 0.9282 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7485, allocations: 0 / 0.9282 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002158/0.7507, allocations: 1.206 MB / 0.9293 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.7507, allocations: 4.312 kB / 0.9293 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.7507, allocations: 11.94 kB / 0.9294 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.7508, allocations: 8 kB / 0.9294 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/0.7518, allocations: 219.6 kB / 0.9296 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.7518, allocations: 8 kB / 0.9296 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7532, allocations: 170.8 kB / 0.9297 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/0.7533, allocations: 40 kB / 0.9298 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001192/0.7545, allocations: 0.7322 MB / 0.9305 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007848/0.7553, allocations: 0.551 MB / 0.931 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001515/0.7568, allocations: 0.9971 MB / 0.932 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.7569, allocations: 4 kB / 0.932 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002038/0.7589, allocations: 1.191 MB / 0.9332 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7589, allocations: 9.25 kB / 0.9332 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7589, allocations: 0 / 0.9332 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.759, allocations: 19.86 kB / 0.9332 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.7599, allocations: 204 kB / 0.9334 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.7599, allocations: 19.97 kB / 0.9334 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.7613, allocations: 139.2 kB / 0.9336 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/0.7614, allocations: 39.98 kB / 0.9336 GB, free: 5.266 MB / 0.6667 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.0002956/0.7617, allocations: 238.6 kB / 0.9338 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.7621, allocations: 150.2 kB / 0.934 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.7645, allocations: 1.231 MB / 0.9352 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.7645, allocations: 12 kB / 0.9352 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.7645, allocations: 0 / 0.9352 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001622/0.7662, allocations: 1.015 MB / 0.9362 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/0.7719, allocations: 3.151 MB / 0.9392 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.7719, allocations: 4 kB / 0.9392 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.773, allocations: 236 kB / 0.9395 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.773, allocations: 4 kB / 0.9395 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.7731, allocations: 31.98 kB / 0.9395 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.7731, allocations: 8 kB / 0.9395 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.7732, allocations: 7.875 kB / 0.9395 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/0.7937, allocations: 10.68 MB / 0.95 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/0.7947, allocations: 358.9 kB / 0.9503 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.795, allocations: 31.94 kB / 0.9503 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.7964, allocations: 107.8 kB / 0.9504 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.7967, allocations: 76.92 kB / 0.9505 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.7968, allocations: 39.98 kB / 0.9505 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001362/0.7982, allocations: 0.8258 MB / 0.9513 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.7982, allocations: 0 / 0.9513 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004956/0.8032, allocations: 1.357 MB / 0.9527 GB, free: 1.277 MB / 0.6823 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.001364/0.8046, allocations: 0.6181 MB / 0.9533 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.234/1.039, allocations: 1.604 MB / 0.9548 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.039, allocations: 5.656 kB / 0.9548 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.04, allocations: 0.5644 MB / 0.9554 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004325/1.044, allocations: 0.8243 MB / 0.9562 GB, free: 258.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/1.05, allocations: 4.583 MB / 0.9607 GB, free: 256.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.051, allocations: 1.405 MB / 0.9621 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002246/1.053, allocations: 474.8 kB / 0.9625 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/1.054, allocations: 120.9 kB / 0.9626 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/1.054, allocations: 4 kB / 0.9626 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.04816/1.102, allocations: 33.16 MB / 0.995 GB, free: 240.2 MB / 0.6823 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)