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.006795/0.006795, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.001506/0.001506, allocations: 192 kB / 16.79 MB, free: 5.812 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9911/0.9911, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 57.28 kB / 0.5053 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1828, allocations: 80.93 MB / 0.5843 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.584/0.7668, allocations: 233.6 MB / 0.8125 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01712/0.784, allocations: 10.51 MB / 0.8228 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.7869, allocations: 55.69 kB / 0.8228 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.7902, allocations: 1.026 MB / 0.8238 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008643/0.7989, allocations: 3.428 MB / 0.8272 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.8044, allocations: 1.894 MB / 0.829 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008006/0.8124, allocations: 6.274 MB / 0.8351 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.8149, allocations: 1.347 MB / 0.8365 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.8182, allocations: 1.381 MB / 0.8378 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.8219, allocations: 1.538 MB / 0.8393 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004151/0.8224, allocations: 96 kB / 0.8394 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007996/0.8304, allocations: 3.74 MB / 0.8431 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.8316, allocations: 0.619 MB / 0.8437 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.8335, allocations: 0.9678 MB / 0.8446 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005088/0.8386, allocations: 2.834 MB / 0.8474 GB, free: 15.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.8386, allocations: 0 / 0.8474 GB, free: 15.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8386, allocations: 0 / 0.8474 GB, free: 15.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.748e-05/0.8387, allocations: 0 / 0.8474 GB, free: 15.8 MB / 0.67 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.006261/0.8449, allocations: 2.486 MB / 0.8498 GB, free: 13.26 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.845, allocations: 8.031 kB / 0.8498 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/0.8485, allocations: 0.5284 MB / 0.8503 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.8509, allocations: 1.224 MB / 0.8515 GB, free: 11.44 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.851, allocations: 98.66 kB / 0.8516 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.8513, allocations: 143.9 kB / 0.8517 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.8542, allocations: 1.662 MB / 0.8534 GB, free: 9.473 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.8542, allocations: 8 kB / 0.8534 GB, free: 9.465 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.8544, allocations: 63.92 kB / 0.8534 GB, free: 9.402 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-05/0.8545, allocations: 66.58 kB / 0.8535 GB, free: 9.336 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.8571, allocations: 1.443 MB / 0.8549 GB, free: 7.887 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.009358/0.8664, allocations: 6.949 MB / 0.8617 GB, free: 484 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3029/1.169, allocations: 1.184 MB / 0.8629 GB, free: 221.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/1.17, allocations: 0.6102 MB / 0.8635 GB, free: 221.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/1.171, allocations: 0.864 MB / 0.8643 GB, free: 220.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009721/1.172, allocations: 0.6045 MB / 0.8649 GB, free: 220.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.537e-06/1.172, allocations: 0.5938 kB / 0.8649 GB, free: 220.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.002947/1.175, allocations: 1.572 MB / 0.8664 GB, free: 220.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/1.175, allocations: 87.3 kB / 0.8665 GB, free: 220.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.176, allocations: 1.199 MB / 0.8677 GB, free: 219.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/1.177, allocations: 47.48 kB / 0.8677 GB, free: 219.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/1.177, allocations: 0.676 MB / 0.8684 GB, free: 219.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/1.177, allocations: 384.6 kB / 0.8687 GB, free: 219.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.178, allocations: 178.1 kB / 0.8689 GB, free: 219.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/1.178, allocations: 345.4 kB / 0.8692 GB, free: 218.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/1.178, allocations: 429.4 kB / 0.8697 GB, free: 218.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/1.179, allocations: 0.5671 MB / 0.8702 GB, free: 218.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/1.18, allocations: 1.013 MB / 0.8712 GB, free: 217.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.18, allocations: 0 / 0.8712 GB, free: 217.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001892/1.182, allocations: 1.218 MB / 0.8724 GB, free: 217.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.182, allocations: 8.688 kB / 0.8724 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.182, allocations: 3.219 kB / 0.8724 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.182, allocations: 6.438 kB / 0.8724 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/1.183, allocations: 216.8 kB / 0.8726 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.183, allocations: 12.5 kB / 0.8726 GB, free: 217.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.185, allocations: 161.5 kB / 0.8728 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/1.185, allocations: 36.25 kB / 0.8728 GB, free: 217.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001092/1.186, allocations: 0.7356 MB / 0.8735 GB, free: 216.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006688/1.187, allocations: 0.5582 MB / 0.8741 GB, free: 216.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001282/1.188, allocations: 0.9979 MB / 0.8751 GB, free: 216.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/1.188, allocations: 2.531 kB / 0.8751 GB, free: 216.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001813/1.19, allocations: 1.191 MB / 0.8762 GB, free: 215.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.19, allocations: 6.031 kB / 0.8762 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.19, allocations: 3 kB / 0.8762 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/1.19, allocations: 6.781 kB / 0.8762 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/1.191, allocations: 210.8 kB / 0.8764 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/1.191, allocations: 8.344 kB / 0.8764 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.192, allocations: 148 kB / 0.8766 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/1.192, allocations: 39.7 kB / 0.8766 GB, free: 215.6 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.0002816/1.192, allocations: 249.3 kB / 0.8769 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/1.193, allocations: 147.3 kB / 0.877 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/1.195, allocations: 1.235 MB / 0.8782 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.195, allocations: 11.53 kB / 0.8782 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.195, allocations: 0 / 0.8782 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/1.196, allocations: 1.01 MB / 0.8792 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/1.2, allocations: 3.151 MB / 0.8823 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.2, allocations: 2.906 kB / 0.8823 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.202, allocations: 233.6 kB / 0.8825 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.202, allocations: 8.969 kB / 0.8825 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.648e-05/1.202, allocations: 31.2 kB / 0.8825 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.202, allocations: 8.625 kB / 0.8826 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.202, allocations: 4.781 kB / 0.8826 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/1.204, allocations: 1.999 MB / 0.8845 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007428/1.205, allocations: 357.5 kB / 0.8848 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.205, allocations: 27.06 kB / 0.8849 GB, free: 211.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.206, allocations: 115.3 kB / 0.885 GB, free: 211.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.207, allocations: 79 kB / 0.8851 GB, free: 211.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/1.207, allocations: 37.45 kB / 0.8851 GB, free: 211.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009792/1.208, allocations: 0.8286 MB / 0.8859 GB, free: 211.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.208, allocations: 0 / 0.8859 GB, free: 211.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0019/1.21, allocations: 0.8342 MB / 0.8867 GB, free: 211 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.001365/1.211, allocations: 0.5897 MB / 0.8873 GB, free: 210.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002503/1.213, allocations: 1.607 MB / 0.8889 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.213, allocations: 2.5 kB / 0.8889 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008025/1.214, allocations: 0.5672 MB / 0.8894 GB, free: 210.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.218, allocations: 0.8218 MB / 0.8902 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006043/1.224, allocations: 4.043 MB / 0.8942 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000995/1.225, allocations: 1.364 MB / 0.8955 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/1.226, allocations: 122.4 kB / 0.8956 GB, free: 206.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.202e-06/1.226, allocations: 4 kB / 0.8956 GB, free: 206.8 MB / 0.67 GB Notification: Performance of Templates: time 0.05223/1.278, allocations: 25.41 MB / 0.9204 GB, free: 201.7 MB / 0.67 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)