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.008454/0.008454, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001481/0.001482, allocations: 189.8 kB / 16.67 MB, free: 5.48 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8599/0.8599, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 61.75 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2194, allocations: 80.92 MB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.8533/1.073, allocations: 294.2 MB / 0.952 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03447/1.107, allocations: 23.02 MB / 0.9745 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004741/1.112, allocations: 75.62 kB / 0.9746 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005957/1.118, allocations: 1.794 MB / 0.9763 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01875/1.137, allocations: 6.129 MB / 0.9823 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009642/1.147, allocations: 2.885 MB / 0.9851 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01236/1.159, allocations: 7.307 MB / 0.9923 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005762/1.165, allocations: 2.985 MB / 0.9952 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008015/1.173, allocations: 2.87 MB / 0.998 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005877/1.179, allocations: 2.715 MB / 1.001 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/1.18, allocations: 340 kB / 1.001 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/1.195, allocations: 5.986 MB / 1.007 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003123/1.198, allocations: 1.465 MB / 1.008 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005839/1.204, allocations: 1.898 MB / 1.01 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03138/1.235, allocations: 6.966 MB / 1.017 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.595e-05/1.235, allocations: 4 kB / 1.017 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.058e-06/1.235, allocations: 4 kB / 1.017 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003758/1.236, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.7794 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.01453/1.25, allocations: 4.195 MB / 1.021 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.25, allocations: 13.11 kB / 1.021 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/1.256, allocations: 0.8604 MB / 1.022 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/1.261, allocations: 1.87 MB / 1.024 GB, free: 14.86 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/1.261, allocations: 205.4 kB / 1.024 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004632/1.261, allocations: 279.9 kB / 1.024 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006196/1.268, allocations: 3.597 MB / 1.028 GB, free: 10.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/1.268, allocations: 11.89 kB / 1.028 GB, free: 10.65 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/1.268, allocations: 112 kB / 1.028 GB, free: 10.54 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/1.268, allocations: 153.2 kB / 1.028 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005358/1.273, allocations: 3.28 MB / 1.031 GB, free: 7.094 MB / 0.795 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.01729/1.291, allocations: 14.21 MB / 1.045 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/1.295, allocations: 2.514 MB / 1.047 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/1.297, allocations: 1.349 MB / 1.049 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.298, allocations: 1.378 MB / 1.05 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/1.3, allocations: 1.222 MB / 1.051 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 3.898e-06/1.3, allocations: 4 kB / 1.051 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.005946/1.306, allocations: 3.173 MB / 1.054 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/1.306, allocations: 81.34 kB / 1.054 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/1.308, allocations: 1.452 MB / 1.056 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001998/1.308, allocations: 69.7 kB / 1.056 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.309, allocations: 1.141 MB / 1.057 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007805/1.31, allocations: 0.7629 MB / 1.058 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005797/1.311, allocations: 367.5 kB / 1.058 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.311, allocations: 305.1 kB / 1.058 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/1.312, allocations: 0.9058 MB / 1.059 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/1.314, allocations: 1.278 MB / 1.061 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/1.318, allocations: 2.321 MB / 1.063 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.318, allocations: 0 / 1.063 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004585/1.322, allocations: 2.602 MB / 1.065 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/1.322, allocations: 37.69 kB / 1.065 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.322, allocations: 8.812 kB / 1.065 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/1.322, allocations: 16 kB / 1.065 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.324, allocations: 467.3 kB / 1.066 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/1.324, allocations: 27.88 kB / 1.066 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.327, allocations: 194.5 kB / 1.066 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/1.327, allocations: 87.98 kB / 1.066 GB, free: 1.238 MB / 0.8262 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.001408/1.328, allocations: 0.6807 MB / 1.067 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/1.329, allocations: 222.6 kB / 1.067 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4876/1.816, allocations: 2.512 MB / 1.07 GB, free: 324.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/1.816, allocations: 22.33 kB / 1.07 GB, free: 324.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.816, allocations: 3.75 kB / 1.07 GB, free: 324.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003623/1.82, allocations: 2.327 MB / 1.072 GB, free: 323.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.832, allocations: 5.585 MB / 1.077 GB, free: 321 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.832, allocations: 2.938 kB / 1.077 GB, free: 321 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.835, allocations: 484.3 kB / 1.078 GB, free: 321 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/1.835, allocations: 13.98 kB / 1.078 GB, free: 321 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/1.835, allocations: 53.38 kB / 1.078 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-05/1.835, allocations: 14.36 kB / 1.078 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.835, allocations: 7.281 kB / 1.078 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00867/1.844, allocations: 4.001 MB / 1.082 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/1.846, allocations: 0.5468 MB / 1.082 GB, free: 319.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/1.846, allocations: 50.22 kB / 1.082 GB, free: 319.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.848, allocations: 64.19 kB / 1.082 GB, free: 319 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005949/1.849, allocations: 146.4 kB / 1.083 GB, free: 319 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.849, allocations: 78.45 kB / 1.083 GB, free: 319 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002248/1.851, allocations: 0.9872 MB / 1.084 GB, free: 318.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.102e-06/1.851, allocations: 0 / 1.084 GB, free: 318.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003619/1.855, allocations: 0.9465 MB / 1.084 GB, free: 318.5 MB / 0.8262 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.001167/1.856, allocations: 387.8 kB / 1.085 GB, free: 318.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005395/1.861, allocations: 2.348 MB / 1.087 GB, free: 317.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.861, allocations: 1 kB / 1.087 GB, free: 317.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/1.864, allocations: 1.228 MB / 1.088 GB, free: 317.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006614/1.87, allocations: 1.295 MB / 1.09 GB, free: 316.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.881, allocations: 5.831 MB / 1.095 GB, free: 314 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.882, allocations: 1.971 MB / 1.097 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003126/1.885, allocations: 0.7185 MB / 1.098 GB, free: 313 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/1.886, allocations: 197.3 kB / 1.098 GB, free: 313 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/1.886, allocations: 0 / 1.098 GB, free: 313 MB / 0.8262 GB Notification: Performance of Templates: time 0.07213/1.958, allocations: 47.92 MB / 1.145 GB, free: 272.4 MB / 0.8262 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)