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.001272/0.001272, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001226/0.001226, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7939/0.7939, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 62.67 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1653, allocations: 80.93 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.6319/0.7972, allocations: 294.2 MB / 0.9527 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03308/0.8303, allocations: 23.03 MB / 0.9752 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004332/0.8347, allocations: 75.62 kB / 0.9752 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006074/0.8409, allocations: 1.791 MB / 0.977 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01802/0.8589, allocations: 6.129 MB / 0.983 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008407/0.8673, allocations: 2.89 MB / 0.9858 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.8786, allocations: 7.299 MB / 0.9929 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004956/0.8836, allocations: 2.98 MB / 0.9958 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007463/0.8911, allocations: 2.924 MB / 0.9987 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005508/0.8966, allocations: 2.704 MB / 1.001 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.8977, allocations: 340 kB / 1.002 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.9105, allocations: 5.993 MB / 1.008 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.9132, allocations: 1.461 MB / 1.009 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004969/0.9182, allocations: 1.906 MB / 1.011 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.9341, allocations: 6.935 MB / 1.018 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.9341, allocations: 4 kB / 1.018 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9341, allocations: 0 / 1.018 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002027/0.9343, allocations: 0 / 1.018 GB, free: 6.023 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.01266/0.947, allocations: 4.092 MB / 1.022 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9471, allocations: 13.11 kB / 1.022 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006116/0.9532, allocations: 0.8391 MB / 1.022 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.9577, allocations: 1.857 MB / 1.024 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.958, allocations: 213.4 kB / 1.024 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007888/0.9588, allocations: 287.9 kB / 1.025 GB, free: 14.6 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006773/0.9655, allocations: 3.581 MB / 1.028 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.983e-05/0.9656, allocations: 11.94 kB / 1.028 GB, free: 10.88 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.9659, allocations: 116 kB / 1.028 GB, free: 10.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.966, allocations: 149.2 kB / 1.028 GB, free: 10.62 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005466/0.9715, allocations: 3.28 MB / 1.032 GB, free: 7.324 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.01639/0.9879, allocations: 14.18 MB / 1.046 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/0.9916, allocations: 2.518 MB / 1.048 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.9935, allocations: 1.352 MB / 1.049 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.9948, allocations: 1.382 MB / 1.051 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00198/0.9968, allocations: 1.222 MB / 1.052 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 4.158e-06/0.9968, allocations: 4 kB / 1.052 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.005836/1.003, allocations: 3.16 MB / 1.055 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/1.003, allocations: 81.34 kB / 1.055 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.005, allocations: 1.452 MB / 1.056 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/1.005, allocations: 65.7 kB / 1.056 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.006, allocations: 1.111 MB / 1.058 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006889/1.007, allocations: 0.7354 MB / 1.058 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/1.007, allocations: 363.5 kB / 1.059 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002144/1.007, allocations: 305.1 kB / 1.059 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/1.009, allocations: 0.9136 MB / 1.06 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/1.011, allocations: 1.274 MB / 1.061 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/1.014, allocations: 2.317 MB / 1.063 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.014, allocations: 0 / 1.063 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00446/1.019, allocations: 2.602 MB / 1.066 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/1.019, allocations: 36.2 kB / 1.066 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.019, allocations: 8 kB / 1.066 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/1.019, allocations: 16 kB / 1.066 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.021, allocations: 467.3 kB / 1.066 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.952e-05/1.021, allocations: 23.88 kB / 1.066 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.023, allocations: 192.4 kB / 1.067 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/1.023, allocations: 79.98 kB / 1.067 GB, free: 1.57 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.001143/1.024, allocations: 0.6846 MB / 1.067 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/1.024, allocations: 213.5 kB / 1.068 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.341/1.365, allocations: 2.508 MB / 1.07 GB, free: 324.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/1.365, allocations: 21.83 kB / 1.07 GB, free: 324.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.366, allocations: 3.75 kB / 1.07 GB, free: 324.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003246/1.369, allocations: 2.329 MB / 1.072 GB, free: 323.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009968/1.379, allocations: 5.582 MB / 1.078 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.379, allocations: 3.469 kB / 1.078 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.381, allocations: 484.2 kB / 1.078 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/1.381, allocations: 10.41 kB / 1.078 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/1.381, allocations: 57.59 kB / 1.078 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/1.381, allocations: 10.92 kB / 1.078 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.381, allocations: 6.812 kB / 1.078 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/1.387, allocations: 3.989 MB / 1.082 GB, free: 319.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.389, allocations: 0.5414 MB / 1.083 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/1.389, allocations: 44.2 kB / 1.083 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.39, allocations: 59.45 kB / 1.083 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.391, allocations: 155.9 kB / 1.083 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.391, allocations: 76.17 kB / 1.083 GB, free: 319.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001547/1.392, allocations: 0.9908 MB / 1.084 GB, free: 318.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/1.392, allocations: 0 / 1.084 GB, free: 318.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002196/1.394, allocations: 0.9383 MB / 1.085 GB, free: 318.6 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.0006999/1.395, allocations: 380.5 kB / 1.085 GB, free: 318.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003765/1.399, allocations: 2.347 MB / 1.088 GB, free: 317.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.399, allocations: 1 kB / 1.088 GB, free: 317.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/1.401, allocations: 1.215 MB / 1.089 GB, free: 317.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/1.406, allocations: 1.289 MB / 1.09 GB, free: 316.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/1.414, allocations: 5.93 MB / 1.096 GB, free: 314.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.415, allocations: 1.977 MB / 1.098 GB, free: 313.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/1.416, allocations: 214.4 kB / 1.098 GB, free: 313.3 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/1.416, allocations: 3.938 kB / 1.098 GB, free: 313.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.04525/1.461, allocations: 42.08 MB / 1.139 GB, free: 279 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)