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.001144/0.001144, 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.001162/0.001162, allocations: 192.9 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.679/0.679, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 64.08 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3503, allocations: 80.2 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.5587/0.909, allocations: 294.2 MB / 0.8674 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.9309, allocations: 23.03 MB / 0.8899 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.9338, allocations: 76.84 kB / 0.89 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.9372, allocations: 1.802 MB / 0.8917 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.9488, allocations: 6.11 MB / 0.8977 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005923/0.9548, allocations: 2.88 MB / 0.9005 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00694/0.9617, allocations: 7.307 MB / 0.9077 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/0.9647, allocations: 2.972 MB / 0.9106 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/0.9701, allocations: 2.881 MB / 0.9134 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003968/0.974, allocations: 2.759 MB / 0.9161 GB, free: 0 / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.9745, allocations: 343 kB / 0.9164 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.9849, allocations: 5.981 MB / 0.9222 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.9862, allocations: 1.461 MB / 0.9237 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.9891, allocations: 1.906 MB / 0.9255 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01/0.9991, allocations: 6.889 MB / 0.9322 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.9992, allocations: 0 / 0.9322 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9992, allocations: 2.625 kB / 0.9322 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.046e-05/0.9992, allocations: 0 / 0.9322 GB, free: 7.754 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.008426/1.008, allocations: 4.093 MB / 0.9362 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/1.008, allocations: 10.66 kB / 0.9363 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/1.012, allocations: 0.8378 MB / 0.9371 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/1.015, allocations: 1.798 MB / 0.9388 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/1.015, allocations: 209.2 kB / 0.939 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/1.015, allocations: 278.8 kB / 0.9393 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004779/1.02, allocations: 3.59 MB / 0.9428 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/1.02, allocations: 10.53 kB / 0.9428 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/1.02, allocations: 110.9 kB / 0.9429 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/1.021, allocations: 151.8 kB / 0.9431 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004737/1.025, allocations: 3.277 MB / 0.9463 GB, free: 9.332 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.01282/1.038, allocations: 14.29 MB / 0.9602 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/1.041, allocations: 2.518 MB / 0.9627 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.043, allocations: 1.355 MB / 0.964 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.044, allocations: 1.375 MB / 0.9653 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/1.046, allocations: 1.218 MB / 0.9665 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 3.787e-06/1.046, allocations: 0 / 0.9665 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.00502/1.051, allocations: 3.163 MB / 0.9696 GB, free: 128 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.051, allocations: 77.39 kB / 0.9697 GB, free: 36 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/1.053, allocations: 1.456 MB / 0.9711 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/1.053, allocations: 61.7 kB / 0.9712 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000789/1.054, allocations: 1.122 MB / 0.9723 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/1.054, allocations: 0.733 MB / 0.973 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004959/1.055, allocations: 363.4 kB / 0.9733 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/1.055, allocations: 305.1 kB / 0.9736 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.056, allocations: 0.9097 MB / 0.9745 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/1.058, allocations: 1.271 MB / 0.9757 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/1.061, allocations: 2.317 MB / 0.978 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.061, allocations: 8 kB / 0.978 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003746/1.064, allocations: 2.59 MB / 0.9805 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/1.065, allocations: 37.7 kB / 0.9806 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.065, allocations: 4 kB / 0.9806 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/1.065, allocations: 20 kB / 0.9806 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.066, allocations: 469.1 kB / 0.9811 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/1.066, allocations: 19.19 kB / 0.9811 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/1.068, allocations: 200 kB / 0.9813 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.068, allocations: 72 kB / 0.9813 GB, free: 3.934 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.001088/1.069, allocations: 0.6904 MB / 0.982 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/1.07, allocations: 217.5 kB / 0.9822 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/1.073, allocations: 2.522 MB / 0.9847 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/1.073, allocations: 20 kB / 0.9847 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.073, allocations: 0 / 0.9847 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003025/1.076, allocations: 2.321 MB / 0.987 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/1.084, allocations: 5.592 MB / 0.9924 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.084, allocations: 0 / 0.9924 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.086, allocations: 489.1 kB / 0.9929 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.086, allocations: 8 kB / 0.9929 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.086, allocations: 59.98 kB / 0.993 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/1.086, allocations: 15.28 kB / 0.993 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.086, allocations: 0 / 0.993 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/1.091, allocations: 4.005 MB / 0.9969 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/1.092, allocations: 0.5332 MB / 0.9974 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/1.092, allocations: 44 kB / 0.9974 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.093, allocations: 59.95 kB / 0.9975 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/1.094, allocations: 161 kB / 0.9977 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.094, allocations: 67.98 kB / 0.9977 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001096/1.095, allocations: 0.9906 MB / 0.9987 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.095, allocations: 0 / 0.9987 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001752/1.097, allocations: 0.9389 MB / 0.9996 GB, free: 1.082 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.0006065/1.097, allocations: 377.1 kB / 1 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006825/1.104, allocations: 3.887 MB / 1.004 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.104, allocations: 0 / 1.004 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/1.106, allocations: 1.226 MB / 1.005 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/1.11, allocations: 1.296 MB / 1.006 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/1.117, allocations: 5.801 MB / 1.012 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.119, allocations: 1.967 MB / 1.014 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00211/1.121, allocations: 0.721 MB / 1.015 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/1.121, allocations: 195.4 kB / 1.015 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/1.121, allocations: 0 / 1.015 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.06615/1.188, allocations: 47.46 MB / 1.061 GB, free: 3.047 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)