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.001305/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001223/0.001223, allocations: 195.1 kB / 16.14 MB, free: 6.695 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9937/0.9937, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.53 kB / 0.5047 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1855, allocations: 80.93 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.062/1.247, allocations: 292.1 MB / 0.8689 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02635/1.274, allocations: 23.23 MB / 0.8916 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004365/1.278, allocations: 67.69 kB / 0.8917 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004733/1.283, allocations: 1.559 MB / 0.8932 GB, free: 1.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01494/1.298, allocations: 5.77 MB / 0.8988 GB, free: 1 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008846/1.307, allocations: 2.623 MB / 0.9014 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01606/1.323, allocations: 10.73 MB / 0.9119 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006121/1.329, allocations: 2.531 MB / 0.9143 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009364/1.339, allocations: 2.527 MB / 0.9168 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007274/1.346, allocations: 2.826 MB / 0.9196 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001667/1.347, allocations: 201.8 kB / 0.9198 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0154/1.363, allocations: 6.903 MB / 0.9265 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003093/1.366, allocations: 1.337 MB / 0.9278 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005729/1.372, allocations: 1.763 MB / 0.9295 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01715/1.389, allocations: 7.183 MB / 0.9365 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.389, allocations: 0 / 0.9365 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/1.389, allocations: 0 / 0.9365 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002194/1.389, allocations: 0 / 0.9365 GB, free: 14.46 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.01345/1.403, allocations: 4.099 MB / 0.9405 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.403, allocations: 11.47 kB / 0.9405 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/1.409, allocations: 0.8411 MB / 0.9414 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/1.412, allocations: 1.793 MB / 0.9431 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.412, allocations: 206.9 kB / 0.9433 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/1.412, allocations: 278.8 kB / 0.9436 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/1.418, allocations: 3.596 MB / 0.9471 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/1.418, allocations: 5.469 kB / 0.9471 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.419, allocations: 117.7 kB / 0.9472 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/1.419, allocations: 149.6 kB / 0.9474 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/1.424, allocations: 3.276 MB / 0.9506 GB, free: 9.445 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.0164/1.44, allocations: 14.12 MB / 0.9643 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/1.444, allocations: 2.521 MB / 0.9668 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.446, allocations: 1.345 MB / 0.9681 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.447, allocations: 1.376 MB / 0.9695 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/1.449, allocations: 1.23 MB / 0.9707 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 5.12e-06/1.449, allocations: 0 / 0.9707 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005897/1.455, allocations: 3.166 MB / 0.9738 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.455, allocations: 77.41 kB / 0.9738 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/1.457, allocations: 1.451 MB / 0.9752 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.457, allocations: 69.7 kB / 0.9753 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.458, allocations: 1.115 MB / 0.9764 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007255/1.459, allocations: 0.7288 MB / 0.9771 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005641/1.46, allocations: 363.5 kB / 0.9775 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/1.46, allocations: 301.1 kB / 0.9778 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/1.461, allocations: 0.9097 MB / 0.9786 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/1.463, allocations: 1.268 MB / 0.9799 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/1.467, allocations: 2.324 MB / 0.9821 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.467, allocations: 0 / 0.9821 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004521/1.471, allocations: 2.602 MB / 0.9847 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/1.471, allocations: 33.7 kB / 0.9847 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.471, allocations: 10.53 kB / 0.9847 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.471, allocations: 19.94 kB / 0.9847 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.473, allocations: 461.2 kB / 0.9852 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/1.473, allocations: 29.14 kB / 0.9852 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/1.476, allocations: 353.8 kB / 0.9856 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.476, allocations: 77.78 kB / 0.9856 GB, free: 9.91 MB / 0.7169 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.001375/1.478, allocations: 0.6864 MB / 0.9863 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/1.478, allocations: 217.5 kB / 0.9865 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/1.483, allocations: 2.518 MB / 0.989 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.483, allocations: 20 kB / 0.989 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.483, allocations: 0 / 0.989 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003491/1.486, allocations: 2.332 MB / 0.9913 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009461/1.496, allocations: 5.603 MB / 0.9967 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.496, allocations: 4 kB / 0.9967 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.498, allocations: 484.6 kB / 0.9972 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/1.498, allocations: 10.53 kB / 0.9972 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/1.498, allocations: 55.97 kB / 0.9973 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/1.498, allocations: 8 kB / 0.9973 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.498, allocations: 4 kB / 0.9973 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006248/1.504, allocations: 3.992 MB / 1.001 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.506, allocations: 0.5409 MB / 1.002 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/1.506, allocations: 51.94 kB / 1.002 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.508, allocations: 239.5 kB / 1.002 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.508, allocations: 148.4 kB / 1.002 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.508, allocations: 67.97 kB / 1.002 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001382/1.51, allocations: 0.9945 MB / 1.003 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.51, allocations: 0 / 1.003 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002219/1.512, allocations: 0.9273 MB / 1.004 GB, free: 6.898 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.0006995/1.513, allocations: 379.5 kB / 1.004 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00378/1.516, allocations: 2.333 MB / 1.007 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.516, allocations: 7.938 kB / 1.007 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.518, allocations: 1.225 MB / 1.008 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/1.524, allocations: 1.228 MB / 1.009 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009585/1.533, allocations: 6.995 MB / 1.016 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.535, allocations: 1.975 MB / 1.018 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00287/1.538, allocations: 0.7211 MB / 1.019 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/1.538, allocations: 187.4 kB / 1.019 GB, free: 7.93 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.538, allocations: 4 kB / 1.019 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of Templates: time 0.0731/1.612, allocations: 45.52 MB / 1.063 GB, free: 11.08 MB / 0.795 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)