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.001304/0.001304, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001401/0.001401, allocations: 190 kB / 16.25 MB, free: 6.617 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.756/0.756, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.53 kB / 0.5013 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4947, allocations: 80.19 MB / 0.5796 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7984/1.293, allocations: 290.8 MB / 0.8636 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0283/1.322, allocations: 22.91 MB / 0.886 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004627/1.326, allocations: 68.44 kB / 0.886 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005885/1.332, allocations: 1.609 MB / 0.8876 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01704/1.349, allocations: 5.761 MB / 0.8932 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008534/1.358, allocations: 2.651 MB / 0.8958 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01079/1.369, allocations: 7.3 MB / 0.903 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004566/1.373, allocations: 2.88 MB / 0.9058 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008665/1.382, allocations: 2.932 MB / 0.9086 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005626/1.388, allocations: 2.872 MB / 0.9114 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001151/1.389, allocations: 344.4 kB / 0.9118 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/1.402, allocations: 6.231 MB / 0.9178 GB, free: 0 / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002912/1.405, allocations: 1.472 MB / 0.9193 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005014/1.41, allocations: 1.907 MB / 0.9211 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01763/1.428, allocations: 7.296 MB / 0.9283 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.428, allocations: 3.844 kB / 0.9283 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/1.428, allocations: 0 / 0.9283 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001351/1.428, allocations: 0 / 0.9283 GB, free: 10.31 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.01305/1.441, allocations: 4.093 MB / 0.9323 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/1.441, allocations: 8.031 kB / 0.9323 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/1.447, allocations: 0.841 MB / 0.9331 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/1.451, allocations: 1.783 MB / 0.9348 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/1.452, allocations: 222.8 kB / 0.9351 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/1.452, allocations: 285.4 kB / 0.9353 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006979/1.459, allocations: 3.588 MB / 0.9388 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.367e-05/1.459, allocations: 7.094 kB / 0.9388 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/1.46, allocations: 113.9 kB / 0.939 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/1.46, allocations: 149.3 kB / 0.9391 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005848/1.466, allocations: 3.28 MB / 0.9423 GB, free: 11.88 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.01891/1.485, allocations: 14.12 MB / 0.9561 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/1.488, allocations: 2.514 MB / 0.9585 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/1.491, allocations: 1.356 MB / 0.9599 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.492, allocations: 1.376 MB / 0.9612 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002115/1.494, allocations: 1.225 MB / 0.9624 GB, free: 6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 4.608e-06/1.494, allocations: 0 / 0.9624 GB, free: 6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005878/1.5, allocations: 3.158 MB / 0.9655 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.5, allocations: 77.41 kB / 0.9656 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/1.502, allocations: 1.452 MB / 0.967 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/1.502, allocations: 69.7 kB / 0.967 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009534/1.503, allocations: 1.114 MB / 0.9681 GB, free: 96 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006953/1.504, allocations: 0.7367 MB / 0.9689 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005945/1.505, allocations: 367.3 kB / 0.9692 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.505, allocations: 301.1 kB / 0.9695 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.506, allocations: 0.9097 MB / 0.9704 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/1.508, allocations: 1.272 MB / 0.9716 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/1.512, allocations: 2.324 MB / 0.9739 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/1.512, allocations: 4 kB / 0.9739 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004741/1.517, allocations: 2.585 MB / 0.9764 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/1.517, allocations: 38.61 kB / 0.9765 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.517, allocations: 8 kB / 0.9765 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/1.517, allocations: 20 kB / 0.9765 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/1.519, allocations: 468.2 kB / 0.9769 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.73e-05/1.519, allocations: 22.89 kB / 0.977 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/1.522, allocations: 356.5 kB / 0.9773 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/1.522, allocations: 75.98 kB / 0.9774 GB, free: 6.48 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.001461/1.523, allocations: 0.6937 MB / 0.978 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/1.524, allocations: 213.5 kB / 0.9782 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/1.528, allocations: 2.515 MB / 0.9807 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.528, allocations: 23.98 kB / 0.9807 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.528, allocations: 4 kB / 0.9807 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003409/1.532, allocations: 2.324 MB / 0.983 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.543, allocations: 5.602 MB / 0.9885 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.543, allocations: 4.031 kB / 0.9885 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.545, allocations: 488.5 kB / 0.9889 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/1.545, allocations: 8 kB / 0.9889 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.545, allocations: 55.98 kB / 0.989 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/1.545, allocations: 12 kB / 0.989 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.545, allocations: 0 / 0.989 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006071/1.551, allocations: 3.981 MB / 0.9929 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.553, allocations: 0.5487 MB / 0.9934 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/1.553, allocations: 48 kB / 0.9935 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.555, allocations: 241 kB / 0.9937 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/1.555, allocations: 152.1 kB / 0.9939 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.555, allocations: 71.97 kB / 0.9939 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001342/1.557, allocations: 0.9905 MB / 0.9949 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.557, allocations: 0 / 0.9949 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002232/1.559, allocations: 0.9351 MB / 0.9958 GB, free: 3.457 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.0007518/1.56, allocations: 378.7 kB / 0.9962 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007673/1.567, allocations: 3.883 MB / 1 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.568, allocations: 0 / 1 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/1.569, allocations: 1.225 MB / 1.001 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00533/1.575, allocations: 1.298 MB / 1.002 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.585, allocations: 6.981 MB / 1.009 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/1.587, allocations: 1.971 MB / 1.011 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003043/1.59, allocations: 0.7251 MB / 1.012 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/1.591, allocations: 191.4 kB / 1.012 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.591, allocations: 0 / 1.012 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of Templates: time 0.08217/1.673, allocations: 47.1 MB / 1.058 GB, free: 4.59 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)