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.009885/0.009885, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.002135/0.002135, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8193/0.8193, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 0.5813 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6292/0.6304, allocations: 80.21 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.9971/1.628, allocations: 235.8 MB / 0.89 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02196/1.65, allocations: 10.39 MB / 0.9001 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005521/1.655, allocations: 58.38 kB / 0.9002 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005439/1.661, allocations: 1.232 MB / 0.9014 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/1.674, allocations: 3.784 MB / 0.9051 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008224/1.683, allocations: 2.082 MB / 0.9071 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01081/1.693, allocations: 4.455 MB / 0.9115 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003618/1.697, allocations: 1.586 MB / 0.913 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/1.704, allocations: 1.642 MB / 0.9146 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006966/1.711, allocations: 1.511 MB / 0.9161 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009597/1.712, allocations: 184 kB / 0.9163 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/1.724, allocations: 3.26 MB / 0.9195 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/1.726, allocations: 0.6968 MB / 0.9201 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003941/1.73, allocations: 1.071 MB / 0.9212 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01465/1.745, allocations: 3.825 MB / 0.9249 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.745, allocations: 0.875 kB / 0.9249 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.465e-06/1.745, allocations: 0 / 0.9249 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.354e-05/1.745, allocations: 0.9062 kB / 0.9249 GB, free: 0.6797 MB / 0.6856 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.006633/1.751, allocations: 2.486 MB / 0.9273 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.751, allocations: 11.69 kB / 0.9274 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/1.755, allocations: 0.5215 MB / 0.9279 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/1.758, allocations: 1.284 MB / 0.9291 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.758, allocations: 106.1 kB / 0.9292 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/1.758, allocations: 131.1 kB / 0.9293 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003704/1.762, allocations: 1.675 MB / 0.931 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/1.762, allocations: 7.25 kB / 0.931 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.762, allocations: 54.75 kB / 0.931 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.094e-05/1.763, allocations: 71.75 kB / 0.9311 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/1.765, allocations: 1.447 MB / 0.9325 GB, free: 14.77 MB / 0.7012 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.01039/1.776, allocations: 6.954 MB / 0.9393 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/1.778, allocations: 1.196 MB / 0.9405 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/1.779, allocations: 0.6096 MB / 0.9411 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009967/1.78, allocations: 0.86 MB / 0.9419 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/1.781, allocations: 0.6085 MB / 0.9425 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 4.939e-06/1.781, allocations: 0.6875 kB / 0.9425 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.004187/1.785, allocations: 1.567 MB / 0.944 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/1.785, allocations: 91.08 kB / 0.9441 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/1.787, allocations: 1.193 MB / 0.9453 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.787, allocations: 46.95 kB / 0.9453 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008171/1.788, allocations: 0.6838 MB / 0.946 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/1.789, allocations: 384.1 kB / 0.9464 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/1.789, allocations: 180.4 kB / 0.9465 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.789, allocations: 341.6 kB / 0.9469 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009341/1.79, allocations: 433.9 kB / 0.9473 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009767/1.791, allocations: 0.5628 MB / 0.9478 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.793, allocations: 1.013 MB / 0.9488 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.793, allocations: 5.031 kB / 0.9488 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002696/1.796, allocations: 1.213 MB / 0.95 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.796, allocations: 10.38 kB / 0.95 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/1.796, allocations: 3.547 kB / 0.95 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/1.796, allocations: 7.594 kB / 0.95 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.797, allocations: 214.7 kB / 0.9502 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.797, allocations: 8.188 kB / 0.9502 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/1.798, allocations: 99.23 kB / 0.9503 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/1.798, allocations: 37.64 kB / 0.9504 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0016/1.8, allocations: 0.7395 MB / 0.9511 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009356/1.801, allocations: 0.546 MB / 0.9516 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001752/1.803, allocations: 0.9984 MB / 0.9526 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.397e-06/1.803, allocations: 0 / 0.9526 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002236/1.805, allocations: 1.188 MB / 0.9538 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.805, allocations: 8.031 kB / 0.9538 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.805, allocations: 10.36 kB / 0.9538 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.805, allocations: 9.844 kB / 0.9538 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/1.806, allocations: 214.6 kB / 0.954 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.806, allocations: 7.188 kB / 0.954 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.807, allocations: 83.88 kB / 0.9541 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/1.807, allocations: 34.44 kB / 0.9541 GB, free: 6.621 MB / 0.7012 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.0004315/1.808, allocations: 242.5 kB / 0.9543 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/1.808, allocations: 153.7 kB / 0.9545 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/1.811, allocations: 1.233 MB / 0.9557 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.811, allocations: 10.78 kB / 0.9557 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.811, allocations: 4 kB / 0.9557 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001774/1.812, allocations: 1.012 MB / 0.9567 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/1.818, allocations: 3.153 MB / 0.9598 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.818, allocations: 2.781 kB / 0.9598 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.819, allocations: 235.3 kB / 0.96 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.819, allocations: 5.219 kB / 0.96 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/1.819, allocations: 29.47 kB / 0.96 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/1.819, allocations: 17.48 kB / 0.9601 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.819, allocations: 6.938 kB / 0.9601 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/1.823, allocations: 1.987 MB / 0.962 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009009/1.824, allocations: 359.1 kB / 0.9623 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/1.824, allocations: 28.36 kB / 0.9624 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009015/1.825, allocations: 39.39 kB / 0.9624 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.825, allocations: 74.12 kB / 0.9625 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/1.825, allocations: 40.55 kB / 0.9625 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001286/1.826, allocations: 0.8285 MB / 0.9633 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.763e-06/1.826, allocations: 0 / 0.9633 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002282/1.829, allocations: 0.8415 MB / 0.9642 GB, free: 15.72 MB / 0.7169 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.001602/1.83, allocations: 0.5754 MB / 0.9647 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003218/1.833, allocations: 1.625 MB / 0.9663 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.833, allocations: 5.25 kB / 0.9663 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/1.834, allocations: 0.565 MB / 0.9669 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.839, allocations: 0.8661 MB / 0.9677 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/1.844, allocations: 3.286 MB / 0.9709 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009674/1.845, allocations: 1.364 MB / 0.9722 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001757/1.847, allocations: 455.6 kB / 0.9727 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/1.847, allocations: 115.4 kB / 0.9728 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/1.847, allocations: 3.094 kB / 0.9728 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.05538/1.903, allocations: 30.26 MB / 1.002 GB, free: 9.344 MB / 0.7481 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)