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.0009595/0.0009595, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001106/0.001106, allocations: 172.7 kB / 15.95 MB, free: 208 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.634/1.634, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.113/1.113, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003802, allocations: 13.09 kB / 0.507 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2622, allocations: 82.33 MB / 0.5874 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.8881/1.15, allocations: 215 MB / 0.7973 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02506/1.176, allocations: 9.777 MB / 0.8069 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004291/1.18, allocations: 51.69 kB / 0.8069 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004259/1.184, allocations: 0.8 MB / 0.8077 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/1.196, allocations: 2.667 MB / 0.8103 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006287/1.202, allocations: 1.433 MB / 0.8117 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009958/1.212, allocations: 5.28 MB / 0.8169 GB, free: 2 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/1.216, allocations: 1.175 MB / 0.818 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004805/1.221, allocations: 1.358 MB / 0.8193 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/1.225, allocations: 1.405 MB / 0.8207 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004398/1.225, allocations: 76 kB / 0.8208 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/1.231, allocations: 1.613 MB / 0.8224 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/1.233, allocations: 0.5801 MB / 0.8229 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.234, allocations: 404.8 kB / 0.8233 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005277/1.239, allocations: 2.568 MB / 0.8258 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.239, allocations: 0 / 0.8258 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.979e-06/1.239, allocations: 4 kB / 0.8258 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.084e-05/1.239, allocations: 3.938 kB / 0.8258 GB, free: 8.77 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.005818/1.245, allocations: 2.136 MB / 0.8279 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.245, allocations: 8.031 kB / 0.8279 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/1.248, allocations: 0.5356 MB / 0.8285 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/1.251, allocations: 1.182 MB / 0.8296 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.251, allocations: 102.7 kB / 0.8297 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/1.251, allocations: 136 kB / 0.8298 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/1.255, allocations: 1.658 MB / 0.8315 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/1.255, allocations: 7.906 kB / 0.8315 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/1.255, allocations: 63.92 kB / 0.8315 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.44e-05/1.255, allocations: 70.58 kB / 0.8316 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/1.258, allocations: 1.439 MB / 0.833 GB, free: 1.254 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.01245/1.27, allocations: 6.958 MB / 0.8398 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/1.272, allocations: 1.184 MB / 0.8409 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/1.273, allocations: 0.6123 MB / 0.8415 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009992/1.274, allocations: 0.8672 MB / 0.8424 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/1.275, allocations: 0.6063 MB / 0.843 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.877e-06/1.275, allocations: 0 / 0.843 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.003547/1.279, allocations: 1.58 MB / 0.8445 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/1.279, allocations: 90.11 kB / 0.8446 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/1.281, allocations: 1.186 MB / 0.8458 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.281, allocations: 45.7 kB / 0.8458 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006951/1.282, allocations: 0.679 MB / 0.8465 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/1.282, allocations: 382.3 kB / 0.8468 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/1.282, allocations: 20 kB / 0.8469 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.282, allocations: 345.9 kB / 0.8472 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007793/1.283, allocations: 421.7 kB / 0.8476 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/1.284, allocations: 0.5652 MB / 0.8481 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/1.285, allocations: 494.8 kB / 0.8486 GB, free: 468 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.285, allocations: 4 kB / 0.8486 GB, free: 464 kB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002415/1.287, allocations: 1.211 MB / 0.8498 GB, free: 15.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.288, allocations: 171.3 kB / 0.85 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.288, allocations: 0 / 0.85 GB, free: 15.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.288, allocations: 8 kB / 0.85 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/1.289, allocations: 215.7 kB / 0.8502 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/1.289, allocations: 15.92 kB / 0.8502 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.29, allocations: 169.8 kB / 0.8504 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/1.29, allocations: 36 kB / 0.8504 GB, free: 14.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/1.29, allocations: 2.5 kB / 0.8504 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00173/1.292, allocations: 1.031 MB / 0.8514 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.292, allocations: 4 kB / 0.8514 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.292, allocations: 8.312 kB / 0.8514 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/1.293, allocations: 211.7 kB / 0.8516 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.293, allocations: 8 kB / 0.8516 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.294, allocations: 162.9 kB / 0.8518 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/1.294, allocations: 36 kB / 0.8518 GB, free: 13.14 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 ($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.0009957/1.295, allocations: 0.4889 MB / 0.8523 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/1.296, allocations: 146.2 kB / 0.8524 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.298, allocations: 1.241 MB / 0.8536 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.298, allocations: 12 kB / 0.8537 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.298, allocations: 0 / 0.8537 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001764/1.3, allocations: 1.008 MB / 0.8546 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/1.306, allocations: 3.164 MB / 0.8577 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.306, allocations: 7.938 kB / 0.8577 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.307, allocations: 236 kB / 0.858 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.307, allocations: 8 kB / 0.858 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/1.308, allocations: 31.98 kB / 0.858 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/1.308, allocations: 4 kB / 0.858 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.308, allocations: 7.938 kB / 0.858 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/1.311, allocations: 2.008 MB / 0.86 GB, free: 4.582 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009688/1.312, allocations: 362.9 kB / 0.8603 GB, free: 4.207 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.312, allocations: 24.88 kB / 0.8603 GB, free: 4.184 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.313, allocations: 113.3 kB / 0.8604 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.314, allocations: 76.89 kB / 0.8605 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/1.314, allocations: 39.98 kB / 0.8606 GB, free: 3.957 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001448/1.315, allocations: 0.8103 MB / 0.8613 GB, free: 3.145 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/1.315, allocations: 3.938 kB / 0.8614 GB, free: 3.141 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002287/1.317, allocations: 0.8415 MB / 0.8622 GB, free: 2.297 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 (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.001549/1.319, allocations: 0.589 MB / 0.8627 GB, free: 1.902 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003199/1.322, allocations: 1.608 MB / 0.8643 GB, free: 308 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.322, allocations: 0 / 0.8643 GB, free: 308 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.3761/1.698, allocations: 0.563 MB / 0.8649 GB, free: 218.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005236/1.704, allocations: 0.8308 MB / 0.8657 GB, free: 218.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/1.711, allocations: 3.998 MB / 0.8696 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009951/1.712, allocations: 1.364 MB / 0.8709 GB, free: 215.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002794/1.714, allocations: 460.6 kB / 0.8714 GB, free: 215.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/1.715, allocations: 114.5 kB / 0.8715 GB, free: 215.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.473e-06/1.715, allocations: 0 / 0.8715 GB, free: 215.5 MB / 0.67 GB Notification: Performance of Templates: time 0.06837/1.783, allocations: 27.77 MB / 0.8986 GB, free: 212.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)