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.00092/0.00092, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 183.4 kB / 16.92 MB, free: 6.922 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.298/1.298, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9403/0.9403, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8.5 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.4393/0.5767, allocations: 230.5 MB / 0.8137 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.5922, allocations: 10.4 MB / 0.8238 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.5947, allocations: 51.69 kB / 0.8239 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.5978, allocations: 1.019 MB / 0.8249 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009158/0.607, allocations: 3.437 MB / 0.8282 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.6121, allocations: 1.888 MB / 0.8301 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006827/0.619, allocations: 6.278 MB / 0.8362 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.6209, allocations: 1.306 MB / 0.8375 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.6233, allocations: 1.326 MB / 0.8388 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.6263, allocations: 1.489 MB / 0.8402 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/0.6266, allocations: 76 kB / 0.8403 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006623/0.6333, allocations: 3.717 MB / 0.8439 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008498/0.6342, allocations: 0.5762 MB / 0.8445 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.6355, allocations: 0.9655 MB / 0.8454 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.6391, allocations: 2.79 MB / 0.8482 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6391, allocations: 0 / 0.8482 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6391, allocations: 7.938 kB / 0.8482 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.309e-05/0.6392, allocations: 0 / 0.8482 GB, free: 2.418 MB / 0.6544 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.004433/0.6436, allocations: 2.12 MB / 0.8502 GB, free: 252 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6436, allocations: 8.031 kB / 0.8502 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.6469, allocations: 0.5244 MB / 0.8508 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.6489, allocations: 1.232 MB / 0.852 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.649, allocations: 102.6 kB / 0.8521 GB, free: 14.32 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.6492, allocations: 136 kB / 0.8522 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.6519, allocations: 1.67 MB / 0.8538 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.6519, allocations: 8 kB / 0.8538 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.6521, allocations: 56 kB / 0.8539 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-05/0.6522, allocations: 70.56 kB / 0.8539 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.6546, allocations: 1.451 MB / 0.8554 GB, free: 10.86 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.008188/0.6628, allocations: 6.961 MB / 0.8622 GB, free: 3.441 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.6645, allocations: 1.188 MB / 0.8633 GB, free: 2.215 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008847/0.6654, allocations: 0.6201 MB / 0.8639 GB, free: 1.598 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.6662, allocations: 0.8711 MB / 0.8648 GB, free: 0.543 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2569/0.9231, allocations: 0.604 MB / 0.8654 GB, free: 218.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 5.721e-06/0.9231, allocations: 0.8438 kB / 0.8654 GB, free: 218.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.002902/0.926, allocations: 1.581 MB / 0.8669 GB, free: 218.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.9261, allocations: 93 kB / 0.867 GB, free: 218.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.9273, allocations: 1.199 MB / 0.8682 GB, free: 218.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.9274, allocations: 50.08 kB / 0.8682 GB, free: 218.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/0.9278, allocations: 0.6685 MB / 0.8689 GB, free: 218 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.9281, allocations: 390.5 kB / 0.8692 GB, free: 217.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.9282, allocations: 85.41 kB / 0.8693 GB, free: 217.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.9283, allocations: 347.8 kB / 0.8697 GB, free: 217.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.9289, allocations: 425.5 kB / 0.8701 GB, free: 217.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.9296, allocations: 0.569 MB / 0.8706 GB, free: 217.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.931, allocations: 1.022 MB / 0.8716 GB, free: 217.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.931, allocations: 0 / 0.8716 GB, free: 217.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001716/0.9327, allocations: 1.225 MB / 0.8728 GB, free: 216.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.9328, allocations: 164.5 kB / 0.873 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9328, allocations: 2.875 kB / 0.873 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.9328, allocations: 11.56 kB / 0.873 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.9337, allocations: 220.9 kB / 0.8732 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.9337, allocations: 5.906 kB / 0.8732 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.9349, allocations: 174 kB / 0.8734 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.935, allocations: 37.17 kB / 0.8734 GB, free: 216.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.935, allocations: 5.812 kB / 0.8734 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/0.9364, allocations: 1.044 MB / 0.8744 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9364, allocations: 2.844 kB / 0.8744 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.9364, allocations: 5.812 kB / 0.8744 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/0.9372, allocations: 208.3 kB / 0.8746 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9372, allocations: 9.219 kB / 0.8746 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.9383, allocations: 161.8 kB / 0.8748 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.9383, allocations: 37.19 kB / 0.8748 GB, free: 216 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.0005684/0.9389, allocations: 490.9 kB / 0.8753 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.9391, allocations: 151.2 kB / 0.8754 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.9409, allocations: 1.247 MB / 0.8767 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.9409, allocations: 10.47 kB / 0.8767 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9409, allocations: 2.906 kB / 0.8767 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/0.9423, allocations: 1.017 MB / 0.8777 GB, free: 214.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.946, allocations: 3.165 MB / 0.8808 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.946, allocations: 2.719 kB / 0.8808 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/0.947, allocations: 238.7 kB / 0.881 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.947, allocations: 6.188 kB / 0.881 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.9471, allocations: 38.94 kB / 0.881 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.9471, allocations: 13.66 kB / 0.881 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9471, allocations: 0 / 0.881 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.9494, allocations: 2.004 MB / 0.883 GB, free: 212.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.9499, allocations: 366.9 kB / 0.8834 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.9501, allocations: 29.61 kB / 0.8834 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009779/0.951, allocations: 112.4 kB / 0.8835 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.9512, allocations: 78.62 kB / 0.8836 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.9512, allocations: 37.59 kB / 0.8836 GB, free: 211.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008345/0.9521, allocations: 0.8297 MB / 0.8844 GB, free: 211.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.032e-06/0.9521, allocations: 0 / 0.8844 GB, free: 211.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001526/0.9536, allocations: 0.839 MB / 0.8852 GB, free: 211.3 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.001166/0.9548, allocations: 0.5712 MB / 0.8858 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.9571, allocations: 1.614 MB / 0.8874 GB, free: 210.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.9571, allocations: 0 / 0.8874 GB, free: 210.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.9579, allocations: 0.5759 MB / 0.8879 GB, free: 210.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.962, allocations: 0.8389 MB / 0.8887 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.968, allocations: 4.205 MB / 0.8929 GB, free: 207.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/0.969, allocations: 1.365 MB / 0.8942 GB, free: 207 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.9695, allocations: 119.1 kB / 0.8943 GB, free: 207 MB / 0.67 GB Notification: Performance of SimCode: time 1.243e-06/0.9695, allocations: 0 / 0.8943 GB, free: 207 MB / 0.67 GB Notification: Performance of Templates: time 0.04303/1.013, allocations: 25.17 MB / 0.9189 GB, free: 202.4 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)