Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.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.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007309/0.000731, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004536/0.004536, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.396/1.396, 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.8456/0.8456, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.000498, allocations: 20.55 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5845, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.9085/1.493, allocations: 288.1 MB / 0.865 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0315/1.525, allocations: 22.99 MB / 0.8874 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005122/1.53, allocations: 63.84 kB / 0.8875 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005468/1.535, allocations: 1.552 MB / 0.889 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/1.552, allocations: 5.772 MB / 0.8946 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008327/1.561, allocations: 2.628 MB / 0.8972 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01415/1.575, allocations: 10.72 MB / 0.9077 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004359/1.579, allocations: 2.437 MB / 0.9101 GB, free: 4 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008476/1.588, allocations: 2.478 MB / 0.9125 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007156/1.595, allocations: 2.702 MB / 0.9151 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001743/1.597, allocations: 165.2 kB / 0.9153 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01618/1.613, allocations: 6.87 MB / 0.922 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003242/1.616, allocations: 1.277 MB / 0.9232 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005885/1.622, allocations: 1.717 MB / 0.9249 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01744/1.64, allocations: 7.084 MB / 0.9318 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.64, allocations: 0 / 0.9318 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.514e-06/1.64, allocations: 0 / 0.9318 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001607/1.64, allocations: 0 / 0.9318 GB, free: 10.07 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01113/1.651, allocations: 3.482 MB / 0.9352 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.651, allocations: 8.031 kB / 0.9352 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006535/1.658, allocations: 0.8419 MB / 0.9361 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005846/1.663, allocations: 1.79 MB / 0.9378 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/1.664, allocations: 209.6 kB / 0.938 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/1.665, allocations: 278.4 kB / 0.9383 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.676, allocations: 3.607 MB / 0.9418 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/1.676, allocations: 7.891 kB / 0.9418 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007718/1.676, allocations: 115.8 kB / 0.9419 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002072/1.677, allocations: 142.9 kB / 0.9421 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00747/1.684, allocations: 3.291 MB / 0.9453 GB, free: 14.46 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.0231/1.707, allocations: 14.15 MB / 0.9591 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004922/1.712, allocations: 2.512 MB / 0.9615 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/1.715, allocations: 1.36 MB / 0.9629 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/1.716, allocations: 1.384 MB / 0.9642 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002589/1.719, allocations: 1.222 MB / 0.9654 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 5.511e-06/1.719, allocations: 0 / 0.9654 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.00718/1.726, allocations: 3.182 MB / 0.9685 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/1.726, allocations: 77.41 kB / 0.9686 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/1.729, allocations: 1.449 MB / 0.97 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/1.729, allocations: 73.7 kB / 0.9701 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.731, allocations: 1.115 MB / 0.9712 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009712/1.732, allocations: 0.7327 MB / 0.9719 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/1.732, allocations: 165.7 kB / 0.972 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.732, allocations: 305.1 kB / 0.9723 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/1.734, allocations: 0.9126 MB / 0.9732 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/1.736, allocations: 1.28 MB / 0.9745 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004324/1.741, allocations: 2.328 MB / 0.9767 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.741, allocations: 4 kB / 0.9767 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005518/1.746, allocations: 2.605 MB / 0.9793 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/1.746, allocations: 41.69 kB / 0.9793 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/1.746, allocations: 8 kB / 0.9793 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.112e-05/1.746, allocations: 16.62 kB / 0.9794 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/1.748, allocations: 476.5 kB / 0.9798 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-05/1.749, allocations: 22.7 kB / 0.9798 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/1.752, allocations: 366.2 kB / 0.9802 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/1.752, allocations: 75.94 kB / 0.9803 GB, free: 9.145 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.00187/1.754, allocations: 0.688 MB / 0.9809 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008426/1.755, allocations: 221.5 kB / 0.9811 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005882/1.761, allocations: 2.52 MB / 0.9836 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.761, allocations: 20 kB / 0.9836 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.761, allocations: 4 kB / 0.9836 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004309/1.765, allocations: 2.339 MB / 0.9859 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.777, allocations: 5.608 MB / 0.9914 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.777, allocations: 4 kB / 0.9914 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/1.78, allocations: 0.4928 MB / 0.9919 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.914e-05/1.78, allocations: 8 kB / 0.9919 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/1.78, allocations: 54.89 kB / 0.9919 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/1.78, allocations: 12 kB / 0.9919 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.78, allocations: 4 kB / 0.9919 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007026/1.787, allocations: 4 MB / 0.9958 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.789, allocations: 0.5449 MB / 0.9964 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.789, allocations: 48 kB / 0.9964 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.792, allocations: 240.1 kB / 0.9967 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/1.792, allocations: 145.8 kB / 0.9968 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/1.792, allocations: 73.94 kB / 0.9969 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001946/1.794, allocations: 0.9944 MB / 0.9978 GB, free: 7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/1.794, allocations: 0 / 0.9978 GB, free: 7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003058/1.797, allocations: 0.935 MB / 0.9987 GB, free: 6.062 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * 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.0009456/1.798, allocations: 382.8 kB / 0.9991 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004354/1.803, allocations: 2.35 MB / 1.001 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.803, allocations: 0 / 1.001 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.805, allocations: 1.231 MB / 1.003 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008576/1.813, allocations: 1.235 MB / 1.004 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.827, allocations: 7.253 MB / 1.011 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.83, allocations: 1.968 MB / 1.013 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003911/1.834, allocations: 0.7251 MB / 1.014 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.835, allocations: 191.4 kB / 1.014 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/1.835, allocations: 0 / 1.014 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of Templates: time 0.0844/1.919, allocations: 45.2 MB / 1.058 GB, free: 10.3 MB / 0.7794 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)