Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Annex60.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.277/0.277, allocations: 54.4 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001402/0.001402, allocations: 179.5 kB / 75.37 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.615/1.615, allocations: 194.2 MB / 283.2 MB, free: 3.508 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00188/0.00188, allocations: 113.3 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.306e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.88/4.029, allocations: 2.151 GB / 2.603 GB, free: 48.31 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/4.029, allocations: 87.95 kB / 2.603 GB, free: 48.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.504/9.533, allocations: 1.642 GB / 4.245 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003192/9.533, allocations: 79.94 kB / 4.245 GB, free: 10.01 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.01602/9.549, allocations: 4.107 MB / 4.249 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/9.549, allocations: 11.97 kB / 4.249 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007626/9.557, allocations: 0.936 MB / 4.25 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/9.564, allocations: 2.148 MB / 4.252 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/9.564, allocations: 108 kB / 4.252 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/9.565, allocations: 195.9 kB / 4.252 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008643/9.574, allocations: 3.738 MB / 4.256 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/9.584, allocations: 3.704 MB / 4.26 GB, free: 10.8 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/9.584, allocations: 4 kB / 4.26 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007547/9.585, allocations: 7.906 kB / 4.26 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/9.585, allocations: 150.2 kB / 4.26 GB, free: 10.63 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3199/9.905, allocations: 17.02 MB / 4.276 GB, free: 75.06 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/9.91, allocations: 2.959 MB / 4.279 GB, free: 75 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/9.912, allocations: 1.819 MB / 4.281 GB, free: 74.98 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/9.913, allocations: 1.344 MB / 4.282 GB, free: 73.57 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002483/9.916, allocations: 1.868 MB / 4.284 GB, free: 73.41 MB / 0.573 GB Notification: Performance of pre-optimization done (n=297): time 4.779e-06/9.916, allocations: 0 / 4.284 GB, free: 73.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=297): time 0.007348/9.923, allocations: 3.412 MB / 4.288 GB, free: 73.29 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/9.923, allocations: 267.7 kB / 4.288 GB, free: 73 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/9.925, allocations: 1.061 MB / 4.289 GB, free: 72.86 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002617/9.925, allocations: 29.14 kB / 4.289 GB, free: 72.82 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007376/9.926, allocations: 0.9467 MB / 4.29 GB, free: 72.49 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007492/9.927, allocations: 0.9728 MB / 4.291 GB, free: 71.97 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/9.927, allocations: 1.312 kB / 4.291 GB, free: 71.97 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001279/9.927, allocations: 422.2 kB / 4.291 GB, free: 71.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/9.929, allocations: 1.278 MB / 4.292 GB, free: 71.65 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/9.931, allocations: 1.795 MB / 4.294 GB, free: 71.15 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/9.934, allocations: 1.799 MB / 4.296 GB, free: 71.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/9.934, allocations: 7 kB / 4.296 GB, free: 71.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.006993/9.941, allocations: 3.678 MB / 4.299 GB, free: 70.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/9.941, allocations: 6.219 kB / 4.299 GB, free: 70.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/9.941, allocations: 10.72 kB / 4.299 GB, free: 70.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/9.941, allocations: 20.94 kB / 4.299 GB, free: 70.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/9.944, allocations: 0.6287 MB / 4.3 GB, free: 70.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/9.944, allocations: 21.59 kB / 4.3 GB, free: 70.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/9.948, allocations: 367.7 kB / 4.3 GB, free: 70.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/9.948, allocations: 115.7 kB / 4.301 GB, free: 70.81 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005984/9.949, allocations: 164.6 kB / 4.301 GB, free: 70.71 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005625/9.95, allocations: 240.8 kB / 4.301 GB, free: 70.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006939/9.957, allocations: 3.731 MB / 4.305 GB, free: 70.41 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/9.957, allocations: 30.06 kB / 4.305 GB, free: 70.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/9.957, allocations: 2.562 kB / 4.305 GB, free: 70.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005034/9.962, allocations: 3.262 MB / 4.308 GB, free: 69.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/9.974, allocations: 7.066 MB / 4.315 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/9.974, allocations: 2.219 kB / 4.315 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/9.978, allocations: 0.6153 MB / 4.315 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-05/9.978, allocations: 17.31 kB / 4.315 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/9.978, allocations: 41.41 kB / 4.315 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/9.978, allocations: 13.84 kB / 4.315 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/9.978, allocations: 6.969 kB / 4.315 GB, free: 69.29 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008507/9.986, allocations: 5.715 MB / 4.321 GB, free: 68.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/9.988, allocations: 0.6873 MB / 4.322 GB, free: 68.47 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006036/9.989, allocations: 10.61 kB / 4.322 GB, free: 68.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002859/9.992, allocations: 219 kB / 4.322 GB, free: 68.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/9.992, allocations: 173.5 kB / 4.322 GB, free: 68.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/9.992, allocations: 101.1 kB / 4.322 GB, free: 68.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001205/9.994, allocations: 0.8006 MB / 4.323 GB, free: 68.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004418/9.998, allocations: 1.357 MB / 4.324 GB, free: 68.27 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006525/10, allocations: 5.28 MB / 4.329 GB, free: 66.04 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005445/10.01, allocations: 3.236 MB / 4.333 GB, free: 65.92 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/10.01, allocations: 0 / 4.333 GB, free: 65.92 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/10.01, allocations: 1.675 MB / 4.334 GB, free: 65.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/10.02, allocations: 1.041 MB / 4.335 GB, free: 65.89 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/10.03, allocations: 5.955 MB / 4.341 GB, free: 64.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/10.03, allocations: 2.514 MB / 4.343 GB, free: 64.03 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/10.03, allocations: 0 / 4.343 GB, free: 64.03 MB / 0.573 GB Notification: Performance of Templates: time 0.1095/10.14, allocations: 76.7 MB / 4.418 GB, free: 59.06 MB / 0.573 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)