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.00748/0.007485, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001328/0.001328, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7775/0.7775, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.16 kB / 0.5814 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2471, allocations: 80.2 MB / 0.6597 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.001/1.248, allocations: 294.2 MB / 0.9471 GB, free: 9.562 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04329/1.292, allocations: 23.02 MB / 0.9695 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00692/1.299, allocations: 79.62 kB / 0.9696 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.008276/1.307, allocations: 1.876 MB / 0.9714 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02806/1.335, allocations: 6.297 MB / 0.9776 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/1.348, allocations: 2.929 MB / 0.9805 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01549/1.363, allocations: 7.314 MB / 0.9876 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007046/1.371, allocations: 2.983 MB / 0.9905 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/1.381, allocations: 2.943 MB / 0.9934 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007475/1.389, allocations: 2.725 MB / 0.996 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002226/1.391, allocations: 340 kB / 0.9964 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02012/1.411, allocations: 6.017 MB / 1.002 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004199/1.416, allocations: 1.469 MB / 1.004 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007613/1.423, allocations: 1.902 MB / 1.006 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02367/1.447, allocations: 6.942 MB / 1.012 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.447, allocations: 0 / 1.012 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.994e-06/1.447, allocations: 0 / 1.012 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002861/1.447, allocations: 0 / 1.012 GB, free: 7.184 MB / 0.7325 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.01577/1.463, allocations: 4.096 MB / 1.016 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.463, allocations: 8.031 kB / 1.016 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006006/1.469, allocations: 0.8469 MB / 1.017 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004738/1.474, allocations: 1.849 MB / 1.019 GB, free: 256 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/1.474, allocations: 217.3 kB / 1.019 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000546/1.475, allocations: 287.8 kB / 1.019 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007122/1.482, allocations: 3.585 MB / 1.023 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-05/1.482, allocations: 7.938 kB / 1.023 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/1.482, allocations: 116 kB / 1.023 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/1.482, allocations: 149.3 kB / 1.023 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006307/1.489, allocations: 3.28 MB / 1.026 GB, free: 8.48 MB / 0.7481 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.02188/1.511, allocations: 14.18 MB / 1.04 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/1.515, allocations: 2.507 MB / 1.043 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/1.517, allocations: 1.356 MB / 1.044 GB, free: 5.152 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/1.518, allocations: 1.382 MB / 1.045 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002243/1.521, allocations: 1.222 MB / 1.047 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 5.931e-06/1.521, allocations: 0 / 1.047 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.006351/1.527, allocations: 3.16 MB / 1.05 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/1.527, allocations: 73.41 kB / 1.05 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/1.529, allocations: 1.456 MB / 1.051 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/1.53, allocations: 65.7 kB / 1.051 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.531, allocations: 1.123 MB / 1.052 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008947/1.532, allocations: 0.7315 MB / 1.053 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000631/1.532, allocations: 359.5 kB / 1.053 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.532, allocations: 313.1 kB / 1.054 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/1.534, allocations: 0.9019 MB / 1.055 GB, free: 10 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/1.536, allocations: 1.274 MB / 1.056 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.54, allocations: 2.325 MB / 1.058 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/1.54, allocations: 7.938 kB / 1.058 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004941/1.545, allocations: 2.594 MB / 1.061 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/1.545, allocations: 37.7 kB / 1.061 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/1.545, allocations: 8 kB / 1.061 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/1.545, allocations: 16 kB / 1.061 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/1.547, allocations: 467.6 kB / 1.061 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/1.547, allocations: 24 kB / 1.061 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/1.549, allocations: 192.4 kB / 1.061 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/1.55, allocations: 83.92 kB / 1.061 GB, free: 2.738 MB / 0.7794 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.001669/1.551, allocations: 0.6807 MB / 1.062 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005771/1.552, allocations: 217.5 kB / 1.062 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/1.557, allocations: 2.515 MB / 1.065 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/1.557, allocations: 20 kB / 1.065 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.557, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003783/1.56, allocations: 2.327 MB / 1.067 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.573, allocations: 5.588 MB / 1.072 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.573, allocations: 3.938 kB / 1.072 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.575, allocations: 487.7 kB / 1.073 GB, free: 6.699 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.332e-05/1.575, allocations: 8 kB / 1.073 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.575, allocations: 59.97 kB / 1.073 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-05/1.575, allocations: 12 kB / 1.073 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.575, allocations: 0 / 1.073 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007664/1.583, allocations: 3.993 MB / 1.077 GB, free: 2.582 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.585, allocations: 0.5487 MB / 1.077 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007027/1.586, allocations: 40 kB / 1.077 GB, free: 1.973 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.588, allocations: 58.59 kB / 1.078 GB, free: 1.918 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.588, allocations: 157.7 kB / 1.078 GB, free: 1.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.588, allocations: 75.91 kB / 1.078 GB, free: 1.688 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002358/1.591, allocations: 0.9866 MB / 1.079 GB, free: 0.707 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.591, allocations: 0 / 1.079 GB, free: 0.707 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00427/1.595, allocations: 0.9312 MB / 1.08 GB, free: 15.77 MB / 0.8106 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.001337/1.596, allocations: 382.4 kB / 1.08 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005399/1.602, allocations: 2.349 MB / 1.082 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.602, allocations: 3.938 kB / 1.082 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.604, allocations: 1.226 MB / 1.083 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007945/1.612, allocations: 1.29 MB / 1.085 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.625, allocations: 5.741 MB / 1.09 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/1.627, allocations: 1.987 MB / 1.092 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003152/1.63, allocations: 0.7171 MB / 1.093 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/1.631, allocations: 191.4 kB / 1.093 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of SimCode: time 1.453e-06/1.631, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of Templates: time 0.09097/1.722, allocations: 47.91 MB / 1.14 GB, free: 2.512 MB / 0.8575 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)