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.001147/0.001147, allocations: 108 kB / 15.6 MB, free: 132 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.001216/0.001216, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6873/0.6873, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.14 kB / 0.5018 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3319, allocations: 80.2 MB / 0.5801 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2123/0.5443, allocations: 235.8 MB / 0.8104 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3181/0.8624, allocations: 10.4 MB / 0.8206 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.8652, allocations: 61.91 kB / 0.8206 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002838/0.8681, allocations: 1.191 MB / 0.8218 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007916/0.876, allocations: 3.655 MB / 0.8253 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.8806, allocations: 2.055 MB / 0.8274 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005545/0.8861, allocations: 4.442 MB / 0.8317 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.8885, allocations: 1.586 MB / 0.8332 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.8913, allocations: 1.589 MB / 0.8348 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.8937, allocations: 1.496 MB / 0.8363 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.8941, allocations: 184.5 kB / 0.8364 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/0.8996, allocations: 3.238 MB / 0.8396 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007225/0.9003, allocations: 0.698 MB / 0.8403 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.9017, allocations: 1.062 MB / 0.8413 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005586/0.9073, allocations: 3.793 MB / 0.845 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.9073, allocations: 0 / 0.845 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9073, allocations: 4.688 kB / 0.845 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.742e-05/0.9073, allocations: 0 / 0.845 GB, free: 1.492 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.004591/0.9119, allocations: 2.488 MB / 0.8474 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.912, allocations: 9.406 kB / 0.8475 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.9149, allocations: 0.5217 MB / 0.848 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.9165, allocations: 1.227 MB / 0.8492 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.9166, allocations: 108 kB / 0.8493 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.9167, allocations: 140.2 kB / 0.8494 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.9189, allocations: 1.667 MB / 0.851 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.9189, allocations: 0 / 0.851 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.9191, allocations: 57.53 kB / 0.8511 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/0.9191, allocations: 69.92 kB / 0.8511 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.9211, allocations: 1.448 MB / 0.8526 GB, free: 15.57 MB / 0.6544 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.0073/0.9284, allocations: 7.013 MB / 0.8594 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.9299, allocations: 1.183 MB / 0.8606 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.9306, allocations: 0.612 MB / 0.8612 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/0.9314, allocations: 0.8692 MB / 0.862 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008608/0.9323, allocations: 0.6039 MB / 0.8626 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 2.705e-06/0.9323, allocations: 3.406 kB / 0.8626 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.002692/0.935, allocations: 1.568 MB / 0.8641 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.9351, allocations: 89.23 kB / 0.8642 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.9364, allocations: 1.198 MB / 0.8654 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.9365, allocations: 47.2 kB / 0.8654 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.9369, allocations: 0.6798 MB / 0.8661 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.9372, allocations: 376.6 kB / 0.8665 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.9374, allocations: 184.4 kB / 0.8666 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9375, allocations: 347.2 kB / 0.867 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.9381, allocations: 426 kB / 0.8674 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.9388, allocations: 0.5627 MB / 0.8679 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.9402, allocations: 1.013 MB / 0.8689 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9402, allocations: 0 / 0.8689 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001647/0.9418, allocations: 1.217 MB / 0.8701 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9419, allocations: 6.812 kB / 0.8701 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9419, allocations: 2.531 kB / 0.8701 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.9419, allocations: 11.56 kB / 0.8701 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/0.9427, allocations: 213.5 kB / 0.8703 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.9428, allocations: 11.12 kB / 0.8703 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.9437, allocations: 98.92 kB / 0.8704 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.9438, allocations: 35.53 kB / 0.8705 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009286/0.9448, allocations: 0.7459 MB / 0.8712 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006307/0.9454, allocations: 0.548 MB / 0.8717 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/0.9466, allocations: 0.9991 MB / 0.8727 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.9466, allocations: 0.9375 kB / 0.8727 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.00155/0.9482, allocations: 1.186 MB / 0.8739 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.9482, allocations: 7 kB / 0.8739 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9482, allocations: 3.031 kB / 0.8739 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.9482, allocations: 9.469 kB / 0.8739 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.949, allocations: 215.3 kB / 0.8741 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.949, allocations: 12.08 kB / 0.8741 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/0.9499, allocations: 76.39 kB / 0.8742 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.115e-05/0.9499, allocations: 37.06 kB / 0.8742 GB, free: 8.926 MB / 0.6544 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.0002323/0.9502, allocations: 245.6 kB / 0.8744 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.9504, allocations: 148.1 kB / 0.8746 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.9522, allocations: 1.236 MB / 0.8758 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.9522, allocations: 10.84 kB / 0.8758 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9522, allocations: 0.875 kB / 0.8758 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/0.9535, allocations: 1.01 MB / 0.8768 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.9574, allocations: 3.154 MB / 0.8799 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.9574, allocations: 4.188 kB / 0.8799 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009404/0.9583, allocations: 235.3 kB / 0.8801 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.9583, allocations: 6 kB / 0.8801 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.9584, allocations: 32.14 kB / 0.8801 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.9584, allocations: 8.312 kB / 0.8801 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9584, allocations: 13.78 kB / 0.8802 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.9608, allocations: 1.991 MB / 0.8821 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.9613, allocations: 355.1 kB / 0.8824 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.9614, allocations: 24.7 kB / 0.8825 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.9622, allocations: 40.92 kB / 0.8825 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.9624, allocations: 77.22 kB / 0.8826 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.9624, allocations: 40.75 kB / 0.8826 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008285/0.9633, allocations: 0.8271 MB / 0.8834 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9633, allocations: 0 / 0.8834 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001527/0.9648, allocations: 0.8385 MB / 0.8842 GB, free: 7.133 MB / 0.6544 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.001127/0.966, allocations: 0.577 MB / 0.8848 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.969, allocations: 1.863 MB / 0.8866 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.969, allocations: 3.281 kB / 0.8866 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/0.9697, allocations: 0.5666 MB / 0.8872 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.973, allocations: 0.8758 MB / 0.888 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.9771, allocations: 3.334 MB / 0.8913 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.9779, allocations: 1.367 MB / 0.8926 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001516/0.9794, allocations: 455.2 kB / 0.8931 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.9798, allocations: 114.7 kB / 0.8932 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.9798, allocations: 0 / 0.8932 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of Templates: time 0.04217/1.022, allocations: 30.06 MB / 0.9225 GB, free: 6.809 MB / 0.6856 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)