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.0008222/0.0008225, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005659/0.005659, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8362/0.8362, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5771, allocations: 81.58 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2848/0.862, allocations: 230.5 MB / 0.8087 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.5353/1.397, allocations: 10.38 MB / 0.8189 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/1.4, allocations: 51.84 kB / 0.8189 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003715/1.404, allocations: 1.026 MB / 0.8199 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/1.416, allocations: 3.445 MB / 0.8233 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006678/1.422, allocations: 1.881 MB / 0.8251 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01178/1.434, allocations: 6.274 MB / 0.8313 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/1.437, allocations: 1.304 MB / 0.8325 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004495/1.442, allocations: 1.335 MB / 0.8338 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004981/1.447, allocations: 1.479 MB / 0.8353 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004963/1.447, allocations: 75.91 kB / 0.8354 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009158/1.457, allocations: 3.716 MB / 0.839 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/1.458, allocations: 0.5863 MB / 0.8396 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002025/1.46, allocations: 0.9573 MB / 0.8405 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007566/1.467, allocations: 3.889 MB / 0.8443 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.467, allocations: 3.219 kB / 0.8443 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.535e-06/1.467, allocations: 0 / 0.8443 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.794e-05/1.467, allocations: 0 / 0.8443 GB, free: 1.762 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.005127/1.473, allocations: 2.134 MB / 0.8464 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.473, allocations: 8.781 kB / 0.8464 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/1.476, allocations: 0.524 MB / 0.8469 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/1.478, allocations: 1.228 MB / 0.8481 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/1.478, allocations: 98.81 kB / 0.8482 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.478, allocations: 137.2 kB / 0.8483 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/1.481, allocations: 1.675 MB / 0.85 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/1.481, allocations: 10.09 kB / 0.85 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/1.481, allocations: 56.91 kB / 0.85 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/1.481, allocations: 66.59 kB / 0.8501 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/1.483, allocations: 1.454 MB / 0.8515 GB, free: 15.88 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.008008/1.491, allocations: 6.965 MB / 0.8583 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.493, allocations: 1.193 MB / 0.8595 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008547/1.494, allocations: 0.6141 MB / 0.8601 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008888/1.495, allocations: 0.8658 MB / 0.8609 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/1.496, allocations: 0.6125 MB / 0.8615 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 4.338e-06/1.496, allocations: 0 / 0.8615 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.003003/1.499, allocations: 1.583 MB / 0.8631 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/1.499, allocations: 90.55 kB / 0.8631 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/1.501, allocations: 1.196 MB / 0.8643 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.501, allocations: 46.55 kB / 0.8644 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/1.501, allocations: 0.6753 MB / 0.865 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/1.502, allocations: 385.7 kB / 0.8654 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/1.502, allocations: 85.31 kB / 0.8655 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.502, allocations: 341.9 kB / 0.8658 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/1.503, allocations: 427.8 kB / 0.8662 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/1.504, allocations: 0.5683 MB / 0.8668 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/1.505, allocations: 1.026 MB / 0.8678 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.505, allocations: 0.9375 kB / 0.8678 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002235/1.507, allocations: 1.222 MB / 0.869 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.508, allocations: 170.2 kB / 0.8691 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.508, allocations: 3.312 kB / 0.8691 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.508, allocations: 4.406 kB / 0.8691 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/1.509, allocations: 219.3 kB / 0.8693 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.509, allocations: 12.09 kB / 0.8693 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.51, allocations: 172.1 kB / 0.8695 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/1.51, allocations: 38.41 kB / 0.8695 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/1.51, allocations: 3.531 kB / 0.8695 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/1.512, allocations: 1.033 MB / 0.8706 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.512, allocations: 3.25 kB / 0.8706 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/1.512, allocations: 10.19 kB / 0.8706 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/1.513, allocations: 215.6 kB / 0.8708 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.513, allocations: 8.406 kB / 0.8708 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.514, allocations: 165.6 kB / 0.8709 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/1.514, allocations: 36.31 kB / 0.871 GB, free: 9.41 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.0008272/1.515, allocations: 494.7 kB / 0.8714 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/1.515, allocations: 148.2 kB / 0.8716 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/1.517, allocations: 1.25 MB / 0.8728 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.517, allocations: 13.86 kB / 0.8728 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.517, allocations: 3.938 kB / 0.8728 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001583/1.519, allocations: 1.012 MB / 0.8738 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/1.524, allocations: 3.163 MB / 0.8769 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.524, allocations: 5.172 kB / 0.8769 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.525, allocations: 242.1 kB / 0.8771 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.701e-05/1.525, allocations: 10.34 kB / 0.8771 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/1.525, allocations: 27.09 kB / 0.8772 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/1.525, allocations: 11.41 kB / 0.8772 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.525, allocations: 5.438 kB / 0.8772 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/1.528, allocations: 2.008 MB / 0.8791 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006828/1.529, allocations: 357.3 kB / 0.8795 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/1.529, allocations: 26.86 kB / 0.8795 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.53, allocations: 114.5 kB / 0.8796 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.531, allocations: 79.64 kB / 0.8797 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/1.531, allocations: 40.14 kB / 0.8797 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001013/1.532, allocations: 0.8258 MB / 0.8805 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.173e-06/1.532, allocations: 0 / 0.8805 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00179/1.533, allocations: 0.841 MB / 0.8814 GB, free: 7.203 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.001324/1.535, allocations: 0.5776 MB / 0.8819 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00263/1.537, allocations: 1.617 MB / 0.8835 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.537, allocations: 3.188 kB / 0.8835 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/1.538, allocations: 0.5707 MB / 0.8841 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/1.542, allocations: 0.8285 MB / 0.8849 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/1.548, allocations: 4.132 MB / 0.8889 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009468/1.549, allocations: 1.373 MB / 0.8903 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001937/1.551, allocations: 451.2 kB / 0.8907 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/1.551, allocations: 112.3 kB / 0.8908 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/1.551, allocations: 0 / 0.8908 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.05192/1.603, allocations: 28.61 MB / 0.9187 GB, free: 10.4 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)