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.001202/0.001202, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01004/0.01004, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.948/0.948, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 9.125 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1843, allocations: 82.31 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.056/1.24, allocations: 288.1 MB / 0.8693 GB, free: 2 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02926/1.269, allocations: 22.96 MB / 0.8917 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004903/1.274, allocations: 64.59 kB / 0.8918 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005258/1.28, allocations: 1.559 MB / 0.8933 GB, free: 1.797 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01635/1.296, allocations: 5.772 MB / 0.8989 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008594/1.305, allocations: 2.629 MB / 0.9015 GB, free: 1.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01537/1.32, allocations: 10.72 MB / 0.9119 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005822/1.326, allocations: 2.435 MB / 0.9143 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009625/1.335, allocations: 2.436 MB / 0.9167 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008707/1.344, allocations: 2.705 MB / 0.9193 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001767/1.346, allocations: 165.7 kB / 0.9195 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/1.363, allocations: 6.873 MB / 0.9262 GB, free: 17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003393/1.366, allocations: 1.278 MB / 0.9275 GB, free: 17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005893/1.372, allocations: 1.705 MB / 0.9291 GB, free: 16.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01746/1.39, allocations: 7.094 MB / 0.9361 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.39, allocations: 0 / 0.9361 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.773e-06/1.39, allocations: 4 kB / 0.9361 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002106/1.39, allocations: 0 / 0.9361 GB, free: 15.1 MB / 0.6856 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.01135/1.401, allocations: 3.476 MB / 0.9395 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.401, allocations: 9.688 kB / 0.9395 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/1.408, allocations: 0.8458 MB / 0.9403 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004811/1.413, allocations: 1.791 MB / 0.942 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/1.413, allocations: 207.3 kB / 0.9422 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009306/1.414, allocations: 276.9 kB / 0.9425 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008656/1.422, allocations: 3.601 MB / 0.946 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/1.423, allocations: 12.78 kB / 0.946 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005181/1.423, allocations: 117.6 kB / 0.9461 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.423, allocations: 142.8 kB / 0.9463 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006628/1.43, allocations: 3.29 MB / 0.9495 GB, free: 10.2 MB / 0.6856 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.01968/1.45, allocations: 14.15 MB / 0.9633 GB, free: 72 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/1.454, allocations: 2.54 MB / 0.9658 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.456, allocations: 1.353 MB / 0.9671 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/1.457, allocations: 1.377 MB / 0.9685 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002108/1.459, allocations: 1.23 MB / 0.9697 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 1.457e-05/1.459, allocations: 3.938 kB / 0.9697 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.006162/1.466, allocations: 3.177 MB / 0.9728 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/1.466, allocations: 81.39 kB / 0.9728 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/1.468, allocations: 1.454 MB / 0.9743 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.468, allocations: 73.88 kB / 0.9743 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009586/1.469, allocations: 1.122 MB / 0.9754 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007389/1.47, allocations: 0.7281 MB / 0.9761 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/1.47, allocations: 168.2 kB / 0.9763 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/1.47, allocations: 301.1 kB / 0.9766 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/1.472, allocations: 0.9165 MB / 0.9775 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/1.474, allocations: 1.274 MB / 0.9787 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/1.478, allocations: 2.333 MB / 0.981 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/1.478, allocations: 3.984 kB / 0.981 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005172/1.483, allocations: 2.607 MB / 0.9836 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/1.483, allocations: 37.7 kB / 0.9836 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.483, allocations: 4 kB / 0.9836 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-05/1.483, allocations: 20 kB / 0.9836 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/1.485, allocations: 484.5 kB / 0.9841 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/1.485, allocations: 22.52 kB / 0.9841 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/1.488, allocations: 353.9 kB / 0.9844 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.488, allocations: 79.98 kB / 0.9845 GB, free: 2.465 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.001661/1.49, allocations: 0.6851 MB / 0.9852 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000736/1.491, allocations: 221.3 kB / 0.9854 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/1.496, allocations: 2.525 MB / 0.9879 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.496, allocations: 20 kB / 0.9879 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.496, allocations: 3.984 kB / 0.9879 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003707/1.5, allocations: 2.339 MB / 0.9902 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.511, allocations: 5.608 MB / 0.9956 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.511, allocations: 8.062 kB / 0.9956 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.513, allocations: 492 kB / 0.9961 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.021e-05/1.513, allocations: 11.94 kB / 0.9961 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/1.514, allocations: 59.98 kB / 0.9962 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.751e-05/1.514, allocations: 8 kB / 0.9962 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.514, allocations: 6.531 kB / 0.9962 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006944/1.521, allocations: 3.997 MB / 1 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.522, allocations: 0.541 MB / 1.001 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006361/1.523, allocations: 47.94 kB / 1.001 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.526, allocations: 251.4 kB / 1.001 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/1.526, allocations: 144.3 kB / 1.001 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.526, allocations: 71.98 kB / 1.001 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002055/1.528, allocations: 0.9866 MB / 1.002 GB, free: 340 kB / 0.7169 GB Notification: Performance of sort global known variables: time 7.31e-07/1.528, allocations: 0 / 1.002 GB, free: 340 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003311/1.532, allocations: 0.9351 MB / 1.003 GB, free: 15.39 MB / 0.7325 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.001247/1.533, allocations: 391.4 kB / 1.003 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004718/1.538, allocations: 2.34 MB / 1.006 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.538, allocations: 4 kB / 1.006 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/1.54, allocations: 1.238 MB / 1.007 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00766/1.547, allocations: 1.234 MB / 1.008 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.56, allocations: 7.254 MB / 1.015 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/1.562, allocations: 1.968 MB / 1.017 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003683/1.566, allocations: 0.7251 MB / 1.018 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009335/1.567, allocations: 195.4 kB / 1.018 GB, free: 172 kB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/1.567, allocations: 0 / 1.018 GB, free: 172 kB / 0.7325 GB Notification: Performance of Templates: time 0.08553/1.652, allocations: 45.2 MB / 1.062 GB, free: 3.633 MB / 0.7794 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)