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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001952/0.001953, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8046/0.8046, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.83 kB / 0.5011 GB, free: 9.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2011, allocations: 80.21 MB / 0.5794 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.303/1.504, allocations: 292.1 MB / 0.8646 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03284/1.537, allocations: 23.22 MB / 0.8873 GB, free: 1.297 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005451/1.542, allocations: 68.67 kB / 0.8874 GB, free: 1.297 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006209/1.549, allocations: 1.561 MB / 0.8889 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02051/1.569, allocations: 5.767 MB / 0.8945 GB, free: 1.008 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009862/1.579, allocations: 2.631 MB / 0.8971 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01846/1.598, allocations: 10.72 MB / 0.9076 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/1.604, allocations: 2.527 MB / 0.91 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/1.614, allocations: 2.535 MB / 0.9125 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00807/1.623, allocations: 2.822 MB / 0.9153 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001127/1.624, allocations: 202.2 kB / 0.9155 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01618/1.64, allocations: 6.905 MB / 0.9222 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003254/1.643, allocations: 1.335 MB / 0.9235 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005118/1.648, allocations: 1.764 MB / 0.9252 GB, free: 16.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01747/1.666, allocations: 7.181 MB / 0.9323 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.666, allocations: 3.562 kB / 0.9323 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.773e-06/1.666, allocations: 0 / 0.9323 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001761/1.666, allocations: 0 / 0.9323 GB, free: 15.19 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.01333/1.679, allocations: 4.097 MB / 0.9363 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.679, allocations: 9.594 kB / 0.9363 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/1.686, allocations: 0.8407 MB / 0.9371 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/1.69, allocations: 1.789 MB / 0.9388 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/1.69, allocations: 208.1 kB / 0.939 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006982/1.691, allocations: 285.3 kB / 0.9393 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/1.698, allocations: 3.587 MB / 0.9428 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/1.698, allocations: 11.58 kB / 0.9428 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/1.698, allocations: 115.8 kB / 0.9429 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/1.698, allocations: 144.9 kB / 0.9431 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006155/1.705, allocations: 3.287 MB / 0.9463 GB, free: 10.16 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.02034/1.725, allocations: 14.12 MB / 0.9601 GB, free: 32 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/1.73, allocations: 2.534 MB / 0.9625 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/1.732, allocations: 1.346 MB / 0.9639 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/1.734, allocations: 1.384 MB / 0.9652 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002565/1.737, allocations: 1.222 MB / 0.9664 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 5.12e-06/1.737, allocations: 0 / 0.9664 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.006163/1.743, allocations: 3.162 MB / 0.9695 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/1.743, allocations: 80.78 kB / 0.9696 GB, free: 9 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/1.745, allocations: 1.452 MB / 0.971 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/1.745, allocations: 67.77 kB / 0.9711 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/1.746, allocations: 1.113 MB / 0.9721 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007981/1.747, allocations: 0.7283 MB / 0.9728 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/1.748, allocations: 363.4 kB / 0.9732 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.748, allocations: 301.1 kB / 0.9735 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/1.75, allocations: 0.9175 MB / 0.9744 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.751, allocations: 1.269 MB / 0.9756 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/1.755, allocations: 2.319 MB / 0.9779 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.755, allocations: 0 / 0.9779 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004862/1.76, allocations: 2.594 MB / 0.9804 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.974e-05/1.76, allocations: 37.64 kB / 0.9805 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.76, allocations: 8 kB / 0.9805 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/1.76, allocations: 16 kB / 0.9805 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.762, allocations: 467.7 kB / 0.9809 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.197e-05/1.762, allocations: 26.61 kB / 0.9809 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/1.765, allocations: 356.8 kB / 0.9813 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.765, allocations: 75.98 kB / 0.9814 GB, free: 13.18 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.001518/1.767, allocations: 0.6889 MB / 0.982 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/1.767, allocations: 221.4 kB / 0.9822 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/1.771, allocations: 2.515 MB / 0.9847 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.771, allocations: 20 kB / 0.9847 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.771, allocations: 0 / 0.9847 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003398/1.775, allocations: 2.33 MB / 0.987 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009952/1.785, allocations: 5.593 MB / 0.9925 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.785, allocations: 6.531 kB / 0.9925 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/1.787, allocations: 484.4 kB / 0.9929 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.097e-05/1.787, allocations: 11.98 kB / 0.9929 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.787, allocations: 59.92 kB / 0.993 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/1.787, allocations: 12 kB / 0.993 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.787, allocations: 10.56 kB / 0.993 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006643/1.794, allocations: 3.984 MB / 0.9969 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.796, allocations: 0.5448 MB / 0.9974 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/1.796, allocations: 47.94 kB / 0.9975 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.798, allocations: 242.7 kB / 0.9977 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/1.799, allocations: 152.3 kB / 0.9979 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.799, allocations: 63.98 kB / 0.9979 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001577/1.8, allocations: 0.9906 MB / 0.9989 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.8, allocations: 0 / 0.9989 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002814/1.803, allocations: 0.9351 MB / 0.9998 GB, free: 10.16 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.0008407/1.804, allocations: 381.6 kB / 1 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004053/1.808, allocations: 2.333 MB / 1.002 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/1.808, allocations: 4 kB / 1.002 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.81, allocations: 1.229 MB / 1.004 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006292/1.816, allocations: 1.232 MB / 1.005 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.83, allocations: 6.988 MB / 1.012 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/1.832, allocations: 1.979 MB / 1.014 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003585/1.836, allocations: 0.7251 MB / 1.014 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/1.837, allocations: 191.4 kB / 1.014 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/1.837, allocations: 4 kB / 1.015 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of Templates: time 0.08918/1.926, allocations: 45.52 MB / 1.059 GB, free: 14.43 MB / 0.795 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)