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.007658/0.007658, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001526/0.001526, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.5997, allocations: 80.92 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.9583/1.558, allocations: 294.2 MB / 0.952 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03498/1.593, allocations: 23.04 MB / 0.9745 GB, free: 432 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00564/1.599, allocations: 81.44 kB / 0.9746 GB, free: 432 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006153/1.605, allocations: 1.871 MB / 0.9764 GB, free: 296 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02079/1.626, allocations: 6.302 MB / 0.9826 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009834/1.636, allocations: 2.923 MB / 0.9854 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01177/1.647, allocations: 7.318 MB / 0.9926 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005675/1.653, allocations: 2.982 MB / 0.9955 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008716/1.662, allocations: 2.95 MB / 0.9984 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00623/1.668, allocations: 2.703 MB / 1.001 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001502/1.67, allocations: 340 kB / 1.001 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02176/1.691, allocations: 6.013 MB / 1.007 GB, free: 24 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003161/1.695, allocations: 1.469 MB / 1.009 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006164/1.701, allocations: 1.905 MB / 1.01 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01904/1.72, allocations: 6.939 MB / 1.017 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.72, allocations: 0 / 1.017 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.375e-06/1.72, allocations: 0 / 1.017 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002388/1.72, allocations: 0 / 1.017 GB, free: 6.148 MB / 0.7169 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.01375/1.734, allocations: 4.101 MB / 1.021 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.734, allocations: 8.031 kB / 1.021 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006277/1.74, allocations: 0.8403 MB / 1.022 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/1.745, allocations: 1.866 MB / 1.024 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/1.745, allocations: 205.4 kB / 1.024 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006103/1.745, allocations: 285.4 kB / 1.024 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/1.751, allocations: 3.596 MB / 1.028 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/1.751, allocations: 7.188 kB / 1.028 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/1.752, allocations: 115.6 kB / 1.028 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/1.752, allocations: 145.3 kB / 1.028 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005243/1.757, allocations: 3.282 MB / 1.031 GB, free: 7.645 MB / 0.7325 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.01651/1.774, allocations: 14.19 MB / 1.045 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003493/1.777, allocations: 2.505 MB / 1.048 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/1.779, allocations: 1.348 MB / 1.049 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.78, allocations: 1.379 MB / 1.05 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001884/1.782, allocations: 1.22 MB / 1.052 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 4.498e-06/1.782, allocations: 0 / 1.052 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.00574/1.788, allocations: 3.172 MB / 1.055 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/1.788, allocations: 76.92 kB / 1.055 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/1.79, allocations: 1.456 MB / 1.056 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/1.79, allocations: 69.7 kB / 1.056 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009747/1.791, allocations: 1.111 MB / 1.057 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007072/1.792, allocations: 0.7316 MB / 1.058 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005445/1.792, allocations: 355.5 kB / 1.058 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.792, allocations: 313.1 kB / 1.059 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/1.794, allocations: 0.9058 MB / 1.059 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/1.796, allocations: 1.278 MB / 1.061 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/1.799, allocations: 2.327 MB / 1.063 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.799, allocations: 0 / 1.063 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005322/1.805, allocations: 2.595 MB / 1.066 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/1.805, allocations: 37.64 kB / 1.066 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.805, allocations: 8 kB / 1.066 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.236e-05/1.805, allocations: 19.98 kB / 1.066 GB, free: 3.047 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.807, allocations: 464.3 kB / 1.066 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/1.807, allocations: 27.17 kB / 1.066 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.809, allocations: 193.1 kB / 1.066 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.809, allocations: 79.98 kB / 1.066 GB, free: 2.332 MB / 0.7637 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.001435/1.811, allocations: 0.6802 MB / 1.067 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/1.811, allocations: 217.4 kB / 1.067 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/1.815, allocations: 2.513 MB / 1.07 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/1.816, allocations: 20 kB / 1.07 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.816, allocations: 0 / 1.07 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0034/1.819, allocations: 2.331 MB / 1.072 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009589/1.829, allocations: 5.593 MB / 1.077 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.829, allocations: 0 / 1.077 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/1.831, allocations: 479.3 kB / 1.078 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/1.831, allocations: 11.94 kB / 1.078 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/1.831, allocations: 55.98 kB / 1.078 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/1.831, allocations: 19.92 kB / 1.078 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.831, allocations: 0 / 1.078 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006051/1.837, allocations: 3.993 MB / 1.082 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.838, allocations: 0.5409 MB / 1.082 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.839, allocations: 43.98 kB / 1.082 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.84, allocations: 69.41 kB / 1.083 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/1.84, allocations: 149.7 kB / 1.083 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/1.841, allocations: 71.97 kB / 1.083 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00137/1.842, allocations: 0.9866 MB / 1.084 GB, free: 436 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/1.842, allocations: 0 / 1.084 GB, free: 436 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002366/1.844, allocations: 0.9312 MB / 1.085 GB, free: 15.49 MB / 0.795 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.0008052/1.845, allocations: 379.6 kB / 1.085 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00398/1.849, allocations: 2.34 MB / 1.087 GB, free: 12.78 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.849, allocations: 5.812 kB / 1.087 GB, free: 12.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/1.851, allocations: 1.226 MB / 1.088 GB, free: 11.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/1.856, allocations: 1.299 MB / 1.09 GB, free: 10.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/1.866, allocations: 5.745 MB / 1.095 GB, free: 4.477 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.867, allocations: 1.964 MB / 1.097 GB, free: 2.477 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002673/1.87, allocations: 0.7249 MB / 1.098 GB, free: 1.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/1.87, allocations: 199.3 kB / 1.098 GB, free: 1.555 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/1.87, allocations: 0 / 1.098 GB, free: 1.555 MB / 0.795 GB Notification: Performance of Templates: time 0.08982/1.96, allocations: 47.92 MB / 1.145 GB, free: 2.172 MB / 0.8419 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)