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.001514/0.001514, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001665/0.001665, allocations: 194.4 kB / 17.31 MB, free: 5.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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7816/0.7816, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5298, allocations: 80.18 MB / 0.5815 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7584/1.288, allocations: 294.2 MB / 0.8688 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0336/1.322, allocations: 23.04 MB / 0.8913 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005113/1.327, allocations: 74.97 kB / 0.8914 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005661/1.333, allocations: 1.798 MB / 0.8932 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01809/1.351, allocations: 6.11 MB / 0.8991 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009013/1.36, allocations: 2.893 MB / 0.9019 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01077/1.371, allocations: 7.311 MB / 0.9091 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005879/1.377, allocations: 2.977 MB / 0.912 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008204/1.385, allocations: 2.875 MB / 0.9148 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006114/1.391, allocations: 2.704 MB / 0.9174 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001526/1.393, allocations: 344 kB / 0.9178 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01474/1.407, allocations: 5.986 MB / 0.9236 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002882/1.41, allocations: 1.473 MB / 0.9251 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004458/1.415, allocations: 1.902 MB / 0.9269 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01468/1.429, allocations: 6.942 MB / 0.9337 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.429, allocations: 0 / 0.9337 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/1.429, allocations: 0 / 0.9337 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.215e-05/1.43, allocations: 0 / 0.9337 GB, free: 10.71 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.01014/1.44, allocations: 4.092 MB / 0.9377 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.44, allocations: 12.03 kB / 0.9377 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005569/1.445, allocations: 0.8391 MB / 0.9385 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/1.45, allocations: 1.864 MB / 0.9403 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/1.45, allocations: 213.4 kB / 0.9405 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/1.451, allocations: 283.9 kB / 0.9408 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006152/1.457, allocations: 3.589 MB / 0.9443 GB, free: 15.56 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.078e-05/1.457, allocations: 11.92 kB / 0.9443 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/1.457, allocations: 116 kB / 0.9444 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/1.457, allocations: 145.3 kB / 0.9446 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00533/1.463, allocations: 3.276 MB / 0.9478 GB, free: 12 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.01641/1.479, allocations: 14.19 MB / 0.9616 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/1.482, allocations: 2.512 MB / 0.9641 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.484, allocations: 1.356 MB / 0.9654 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.486, allocations: 1.378 MB / 0.9668 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/1.487, allocations: 1.225 MB / 0.9679 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 3.907e-06/1.487, allocations: 4 kB / 0.968 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005455/1.493, allocations: 3.15 MB / 0.971 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.493, allocations: 85.41 kB / 0.9711 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/1.495, allocations: 1.449 MB / 0.9725 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/1.495, allocations: 69.7 kB / 0.9726 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008728/1.496, allocations: 1.115 MB / 0.9737 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/1.496, allocations: 0.7393 MB / 0.9744 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/1.497, allocations: 359.5 kB / 0.9747 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.497, allocations: 305.1 kB / 0.975 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.499, allocations: 0.9175 MB / 0.9759 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/1.5, allocations: 1.266 MB / 0.9772 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/1.504, allocations: 2.325 MB / 0.9794 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.504, allocations: 0 / 0.9794 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004344/1.508, allocations: 2.59 MB / 0.982 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/1.508, allocations: 41.7 kB / 0.982 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.508, allocations: 8 kB / 0.982 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/1.508, allocations: 16 kB / 0.982 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.51, allocations: 467.3 kB / 0.9825 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/1.51, allocations: 23.88 kB / 0.9825 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.512, allocations: 196 kB / 0.9827 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/1.512, allocations: 79.98 kB / 0.9828 GB, free: 6.246 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.001255/1.513, allocations: 0.6884 MB / 0.9834 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005149/1.514, allocations: 213.5 kB / 0.9836 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/1.518, allocations: 2.507 MB / 0.9861 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/1.518, allocations: 20 kB / 0.9861 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.518, allocations: 4 kB / 0.9861 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003222/1.521, allocations: 2.32 MB / 0.9884 GB, free: 412 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008712/1.53, allocations: 5.596 MB / 0.9938 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.53, allocations: 8 kB / 0.9938 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.532, allocations: 491.6 kB / 0.9943 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/1.532, allocations: 12 kB / 0.9943 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.532, allocations: 51.98 kB / 0.9944 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/1.532, allocations: 8 kB / 0.9944 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.532, allocations: 4 kB / 0.9944 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006116/1.539, allocations: 3.997 MB / 0.9983 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/1.54, allocations: 0.5332 MB / 0.9988 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/1.541, allocations: 44 kB / 0.9989 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.542, allocations: 68.98 kB / 0.9989 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/1.542, allocations: 153.7 kB / 0.9991 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.543, allocations: 67.98 kB / 0.9991 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001392/1.544, allocations: 0.9866 MB / 1 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.544, allocations: 0 / 1 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002366/1.546, allocations: 0.939 MB / 1.001 GB, free: 3.277 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.000781/1.547, allocations: 367.4 kB / 1.001 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003816/1.551, allocations: 2.352 MB / 1.004 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.551, allocations: 0 / 1.004 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.553, allocations: 1.223 MB / 1.005 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/1.558, allocations: 1.293 MB / 1.006 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.569, allocations: 5.742 MB / 1.012 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.571, allocations: 1.975 MB / 1.014 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002642/1.573, allocations: 0.7171 MB / 1.014 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/1.574, allocations: 195.4 kB / 1.015 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/1.574, allocations: 0 / 1.015 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.429/2.003, allocations: 47.42 MB / 1.061 GB, free: 314.6 MB / 0.7481 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)