Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009242/0.0009243, 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.001128/0.001128, allocations: 172.9 kB / 16.92 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.274/1.274, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8873/0.8873, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 9.438 kB / 0.5082 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 82.3 MB / 0.5886 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.8992/1.051, allocations: 288.1 MB / 0.8699 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02387/1.075, allocations: 22.97 MB / 0.8923 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/1.079, allocations: 67.41 kB / 0.8924 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004952/1.084, allocations: 1.55 MB / 0.8939 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01651/1.1, allocations: 5.772 MB / 0.8996 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00748/1.108, allocations: 2.626 MB / 0.9021 GB, free: 1.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01387/1.122, allocations: 10.73 MB / 0.9126 GB, free: 1.418 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/1.127, allocations: 2.435 MB / 0.915 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007757/1.134, allocations: 2.437 MB / 0.9174 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006019/1.14, allocations: 2.706 MB / 0.92 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007083/1.141, allocations: 165.9 kB / 0.9202 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/1.154, allocations: 6.867 MB / 0.9269 GB, free: 17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002477/1.157, allocations: 1.275 MB / 0.9281 GB, free: 17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00363/1.161, allocations: 1.711 MB / 0.9298 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007383/1.168, allocations: 5.068 MB / 0.9347 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.168, allocations: 3.938 kB / 0.9347 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.224e-06/1.168, allocations: 0 / 0.9347 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.968e-05/1.168, allocations: 0 / 0.9347 GB, free: 15.5 MB / 0.6856 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.009252/1.177, allocations: 3.472 MB / 0.9381 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/1.177, allocations: 11.06 kB / 0.9381 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00517/1.183, allocations: 0.8495 MB / 0.939 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/1.185, allocations: 1.793 MB / 0.9407 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/1.185, allocations: 208.6 kB / 0.9409 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003674/1.186, allocations: 274.6 kB / 0.9412 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/1.191, allocations: 3.601 MB / 0.9447 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.063e-05/1.191, allocations: 10.06 kB / 0.9447 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/1.191, allocations: 116 kB / 0.9448 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/1.191, allocations: 146.9 kB / 0.9449 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00479/1.196, allocations: 3.285 MB / 0.9482 GB, free: 10.59 MB / 0.6856 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.01404/1.21, allocations: 14.15 MB / 0.962 GB, free: 476 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/1.213, allocations: 2.508 MB / 0.9644 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/1.215, allocations: 1.361 MB / 0.9658 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.216, allocations: 1.383 MB / 0.9671 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.218, allocations: 1.226 MB / 0.9683 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 4.438e-06/1.218, allocations: 0 / 0.9683 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.00501/1.223, allocations: 3.186 MB / 0.9714 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/1.223, allocations: 72.62 kB / 0.9715 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.225, allocations: 1.459 MB / 0.9729 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/1.225, allocations: 67.08 kB / 0.973 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008378/1.226, allocations: 1.116 MB / 0.9741 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/1.227, allocations: 0.7287 MB / 0.9748 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.227, allocations: 175.8 kB / 0.9749 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/1.227, allocations: 301.1 kB / 0.9752 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/1.229, allocations: 0.9168 MB / 0.9761 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/1.23, allocations: 1.274 MB / 0.9774 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/1.234, allocations: 2.332 MB / 0.9796 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/1.234, allocations: 0 / 0.9796 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004266/1.238, allocations: 2.615 MB / 0.9822 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/1.238, allocations: 37.7 kB / 0.9822 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.238, allocations: 4 kB / 0.9822 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.238, allocations: 20 kB / 0.9823 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/1.24, allocations: 480.1 kB / 0.9827 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.893e-05/1.24, allocations: 18.53 kB / 0.9827 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/1.243, allocations: 363 kB / 0.9831 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/1.243, allocations: 75.98 kB / 0.9832 GB, free: 3.941 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.001336/1.244, allocations: 0.6827 MB / 0.9838 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/1.245, allocations: 221.3 kB / 0.984 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/1.249, allocations: 2.533 MB / 0.9865 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.249, allocations: 20 kB / 0.9865 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.249, allocations: 0 / 0.9865 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003363/1.252, allocations: 2.343 MB / 0.9888 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00919/1.262, allocations: 5.607 MB / 0.9943 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.262, allocations: 4 kB / 0.9943 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.264, allocations: 492.3 kB / 0.9948 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/1.264, allocations: 15.94 kB / 0.9948 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.264, allocations: 55.98 kB / 0.9948 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/1.264, allocations: 14.61 kB / 0.9948 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.264, allocations: 4 kB / 0.9948 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006001/1.27, allocations: 4.002 MB / 0.9988 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.271, allocations: 0.5371 MB / 0.9993 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/1.272, allocations: 51.92 kB / 0.9993 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.274, allocations: 241 kB / 0.9996 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/1.274, allocations: 148.3 kB / 0.9997 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.274, allocations: 71.97 kB / 0.9998 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001345/1.276, allocations: 0.9866 MB / 1.001 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.052e-06/1.276, allocations: 4 kB / 1.001 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002605/1.278, allocations: 0.9416 MB / 1.002 GB, free: 0.8711 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.0008998/1.279, allocations: 385.3 kB / 1.002 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003783/1.283, allocations: 2.345 MB / 1.004 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.283, allocations: 4 kB / 1.004 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/1.285, allocations: 1.217 MB / 1.006 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/1.292, allocations: 1.233 MB / 1.007 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.302, allocations: 7.438 MB / 1.014 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.303, allocations: 1.974 MB / 1.016 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.304, allocations: 215.4 kB / 1.016 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/1.304, allocations: 0 / 1.016 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of Templates: time 0.05856/1.363, allocations: 41.48 MB / 1.057 GB, free: 8.969 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)