Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001124/0.001124, allocations: 108.6 kB / 16.41 MB, free: 6.465 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.001137/0.001137, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7646/0.7646, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.27 kB / 0.5863 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 80.93 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5637/0.7135, allocations: 235.8 MB / 0.8956 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.7288, allocations: 10.4 MB / 0.9058 GB, free: 8.895 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.7311, allocations: 63.62 kB / 0.9058 GB, free: 8.832 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.7341, allocations: 1.185 MB / 0.907 GB, free: 7.641 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008732/0.7429, allocations: 3.656 MB / 0.9106 GB, free: 3.969 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.748, allocations: 2.067 MB / 0.9126 GB, free: 1.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005665/0.7537, allocations: 4.445 MB / 0.9169 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.7561, allocations: 1.576 MB / 0.9185 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.7591, allocations: 1.604 MB / 0.92 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.7619, allocations: 1.501 MB / 0.9215 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005475/0.7625, allocations: 184 kB / 0.9217 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006216/0.7687, allocations: 3.242 MB / 0.9248 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009469/0.7697, allocations: 0.6973 MB / 0.9255 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.7716, allocations: 1.058 MB / 0.9265 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006837/0.7785, allocations: 3.825 MB / 0.9303 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7785, allocations: 3.938 kB / 0.9303 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7785, allocations: 0 / 0.9303 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.26e-05/0.7786, allocations: 4 kB / 0.9303 GB, free: 15.7 MB / 0.7012 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.005758/0.7844, allocations: 2.486 MB / 0.9327 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7844, allocations: 9.109 kB / 0.9327 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/0.7878, allocations: 0.5206 MB / 0.9332 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.7901, allocations: 1.291 MB / 0.9345 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.7902, allocations: 98.66 kB / 0.9346 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.7905, allocations: 136 kB / 0.9347 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.7935, allocations: 1.68 MB / 0.9364 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.7936, allocations: 7.938 kB / 0.9364 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.7937, allocations: 56 kB / 0.9364 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.543e-05/0.7938, allocations: 70.56 kB / 0.9365 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.7965, allocations: 1.443 MB / 0.9379 GB, free: 7.723 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.009033/0.8055, allocations: 6.953 MB / 0.9447 GB, free: 320 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.8073, allocations: 1.185 MB / 0.9458 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000922/0.8083, allocations: 0.6123 MB / 0.9464 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008493/0.8091, allocations: 0.8594 MB / 0.9473 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.8101, allocations: 0.6025 MB / 0.9479 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.086e-06/0.8102, allocations: 4 kB / 0.9479 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.003008/0.8132, allocations: 1.576 MB / 0.9494 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.8133, allocations: 86.11 kB / 0.9495 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.8149, allocations: 1.198 MB / 0.9507 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.815, allocations: 49.7 kB / 0.9507 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/0.8156, allocations: 0.6739 MB / 0.9514 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.8159, allocations: 382.4 kB / 0.9517 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.8162, allocations: 182.5 kB / 0.9519 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8164, allocations: 349.9 kB / 0.9522 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.8171, allocations: 420.6 kB / 0.9526 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/0.8179, allocations: 0.569 MB / 0.9532 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.8195, allocations: 1.013 MB / 0.9542 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8195, allocations: 0 / 0.9542 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002085/0.8216, allocations: 1.214 MB / 0.9554 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8216, allocations: 7.938 kB / 0.9554 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8216, allocations: 7.938 kB / 0.9554 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8216, allocations: 8 kB / 0.9554 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/0.8226, allocations: 215.7 kB / 0.9556 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.8226, allocations: 11.94 kB / 0.9556 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.8237, allocations: 96.64 kB / 0.9557 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.8238, allocations: 39.98 kB / 0.9557 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.825, allocations: 0.7362 MB / 0.9565 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007773/0.8257, allocations: 0.5549 MB / 0.957 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001505/0.8273, allocations: 0.9932 MB / 0.958 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.227e-06/0.8273, allocations: 0 / 0.958 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002125/0.8294, allocations: 1.191 MB / 0.9591 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8294, allocations: 9.719 kB / 0.9591 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8294, allocations: 8.312 kB / 0.9592 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8295, allocations: 7.938 kB / 0.9592 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/0.8303, allocations: 212.8 kB / 0.9594 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.8303, allocations: 11.94 kB / 0.9594 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8314, allocations: 81.88 kB / 0.9595 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/0.8315, allocations: 32 kB / 0.9595 GB, free: 0.6719 MB / 0.7169 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.0003228/0.8319, allocations: 240.1 kB / 0.9597 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.8322, allocations: 150.2 kB / 0.9599 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.8346, allocations: 1.24 MB / 0.9611 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8347, allocations: 16 kB / 0.9611 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.8347, allocations: 0 / 0.9611 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/0.8363, allocations: 1.011 MB / 0.9621 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.8419, allocations: 3.16 MB / 0.9652 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.8419, allocations: 0 / 0.9652 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.843, allocations: 227.9 kB / 0.9654 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.843, allocations: 8 kB / 0.9654 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.251e-05/0.8431, allocations: 27.98 kB / 0.9654 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.8431, allocations: 19.81 kB / 0.9654 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.8431, allocations: 4 kB / 0.9654 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.8463, allocations: 1.999 MB / 0.9674 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/0.847, allocations: 358.9 kB / 0.9677 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.8473, allocations: 28 kB / 0.9678 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009642/0.8483, allocations: 35.92 kB / 0.9678 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.8484, allocations: 80.92 kB / 0.9679 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.8485, allocations: 39.98 kB / 0.9679 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001194/0.8497, allocations: 0.8258 MB / 0.9687 GB, free: 7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8497, allocations: 0 / 0.9687 GB, free: 7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002055/0.8518, allocations: 0.8338 MB / 0.9695 GB, free: 6.164 MB / 0.7325 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.00129/0.8531, allocations: 0.5814 MB / 0.9701 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002951/0.856, allocations: 1.612 MB / 0.9717 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.8561, allocations: 0 / 0.9717 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008613/0.8569, allocations: 0.5758 MB / 0.9722 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/0.8606, allocations: 0.866 MB / 0.9731 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005317/0.866, allocations: 3.379 MB / 0.9764 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.8671, allocations: 1.36 MB / 0.9777 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.8676, allocations: 127.4 kB / 0.9778 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.8676, allocations: 0 / 0.9778 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.03453/0.9021, allocations: 25.43 MB / 1.003 GB, free: 4.449 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)