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.009933/0.009933, allocations: 102.7 kB / 15.73 MB, free: 6.016 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.002232/0.002232, allocations: 196.3 kB / 16.68 MB, free: 5.934 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.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 71.91 kB / 0.5857 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6065, allocations: 80.92 MB / 0.6647 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.9645/1.571, allocations: 294.2 MB / 0.952 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03434/1.605, allocations: 23.03 MB / 0.9745 GB, free: 420 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006268/1.612, allocations: 75.81 kB / 0.9746 GB, free: 420 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006723/1.618, allocations: 1.873 MB / 0.9764 GB, free: 336 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02299/1.642, allocations: 6.307 MB / 0.9826 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01209/1.654, allocations: 2.92 MB / 0.9854 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01505/1.669, allocations: 7.321 MB / 0.9926 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007584/1.676, allocations: 2.98 MB / 0.9955 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/1.687, allocations: 2.959 MB / 0.9984 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/1.697, allocations: 2.706 MB / 1.001 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002492/1.7, allocations: 340 kB / 1.001 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/1.719, allocations: 6.014 MB / 1.007 GB, free: 108 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003779/1.723, allocations: 1.463 MB / 1.009 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007157/1.73, allocations: 1.909 MB / 1.01 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02212/1.752, allocations: 6.94 MB / 1.017 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/1.752, allocations: 4 kB / 1.017 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/1.752, allocations: 0 / 1.017 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002558/1.752, allocations: 0 / 1.017 GB, free: 6.227 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.01577/1.768, allocations: 4.09 MB / 1.021 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.768, allocations: 11.22 kB / 1.021 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/1.775, allocations: 0.8421 MB / 1.022 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005287/1.78, allocations: 1.852 MB / 1.024 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/1.78, allocations: 215.5 kB / 1.024 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/1.781, allocations: 278.1 kB / 1.024 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/1.791, allocations: 3.604 MB / 1.028 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/1.792, allocations: 7.094 kB / 1.028 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006973/1.792, allocations: 113.3 kB / 1.028 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/1.792, allocations: 153.3 kB / 1.028 GB, free: 11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00769/1.8, allocations: 3.274 MB / 1.031 GB, free: 7.734 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.02328/1.824, allocations: 14.19 MB / 1.045 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/1.828, allocations: 2.505 MB / 1.048 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/1.831, allocations: 1.352 MB / 1.049 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.832, allocations: 1.379 MB / 1.05 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002494/1.835, allocations: 1.216 MB / 1.052 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 4.789e-06/1.835, allocations: 4 kB / 1.052 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.006747/1.842, allocations: 3.163 MB / 1.055 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.842, allocations: 77.39 kB / 1.055 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/1.845, allocations: 1.452 MB / 1.056 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002493/1.845, allocations: 69.69 kB / 1.056 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.846, allocations: 1.118 MB / 1.057 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009287/1.847, allocations: 0.7356 MB / 1.058 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/1.848, allocations: 359.5 kB / 1.058 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.848, allocations: 301.1 kB / 1.059 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.85, allocations: 0.9136 MB / 1.06 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/1.852, allocations: 1.265 MB / 1.061 GB, free: 8.188 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/1.856, allocations: 2.326 MB / 1.063 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.856, allocations: 7.938 kB / 1.063 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005176/1.861, allocations: 2.593 MB / 1.066 GB, free: 3.211 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/1.861, allocations: 41.64 kB / 1.066 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.861, allocations: 8.781 kB / 1.066 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.277e-05/1.861, allocations: 16 kB / 1.066 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/1.863, allocations: 467.7 kB / 1.066 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.535e-05/1.863, allocations: 19.19 kB / 1.066 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/1.866, allocations: 194 kB / 1.066 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/1.866, allocations: 72 kB / 1.066 GB, free: 2.434 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.001567/1.867, allocations: 0.6933 MB / 1.067 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007633/1.868, allocations: 217.4 kB / 1.067 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/1.873, allocations: 2.514 MB / 1.07 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.873, allocations: 23.98 kB / 1.07 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.873, allocations: 0 / 1.07 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003686/1.877, allocations: 2.316 MB / 1.072 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.888, allocations: 5.592 MB / 1.077 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.888, allocations: 0 / 1.077 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.89, allocations: 486.1 kB / 1.078 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.265e-05/1.89, allocations: 8.031 kB / 1.078 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/1.89, allocations: 59.98 kB / 1.078 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.311e-05/1.89, allocations: 15.94 kB / 1.078 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.89, allocations: 3.938 kB / 1.078 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00672/1.897, allocations: 3.993 MB / 1.082 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.898, allocations: 0.5448 MB / 1.082 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005827/1.899, allocations: 44 kB / 1.082 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.901, allocations: 65.58 kB / 1.083 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/1.901, allocations: 145.8 kB / 1.083 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.901, allocations: 67.98 kB / 1.083 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002176/1.904, allocations: 0.9944 MB / 1.084 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/1.904, allocations: 4 kB / 1.084 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003108/1.907, allocations: 0.9234 MB / 1.085 GB, free: 15.59 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.0009639/1.908, allocations: 384.3 kB / 1.085 GB, free: 15.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004585/1.912, allocations: 2.341 MB / 1.087 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.912, allocations: 4.125 kB / 1.087 GB, free: 12.87 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.914, allocations: 1.229 MB / 1.088 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006623/1.921, allocations: 1.292 MB / 1.09 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.934, allocations: 5.751 MB / 1.095 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.936, allocations: 1.968 MB / 1.097 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003646/1.94, allocations: 0.721 MB / 1.098 GB, free: 1.844 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/1.94, allocations: 191.4 kB / 1.098 GB, free: 1.656 MB / 0.795 GB Notification: Performance of SimCode: time 1.694e-06/1.94, allocations: 0 / 1.098 GB, free: 1.656 MB / 0.795 GB Notification: Performance of Templates: time 0.09184/2.032, allocations: 47.92 MB / 1.145 GB, free: 2.27 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)