Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 191.6 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4659/0.4659, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 97.03 kB / 415.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.739e-06/9.769e-06, allocations: 4 kB / 493.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3842, allocations: 72.3 MB / 0.5529 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.778/4.162, allocations: 1.935 GB / 2.488 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/4.162, allocations: 89.83 kB / 2.488 GB, free: 123.2 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 7.096/11.26, allocations: 2.138 GB / 4.626 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003757/11.26, allocations: 74.55 kB / 4.626 GB, free: 44.67 MB / 0.6823 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.01596/11.27, allocations: 3.634 MB / 4.63 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/11.27, allocations: 7.281 kB / 4.63 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007468/11.28, allocations: 0.8987 MB / 4.63 GB, free: 43.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/11.29, allocations: 2.228 MB / 4.633 GB, free: 42.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/11.29, allocations: 91.84 kB / 4.633 GB, free: 42.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/11.29, allocations: 172.2 kB / 4.633 GB, free: 42.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008147/11.3, allocations: 2.832 MB / 4.636 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008776/11.31, allocations: 3.135 MB / 4.639 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/11.31, allocations: 7.281 kB / 4.639 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006734/11.31, allocations: 3.125 kB / 4.639 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/11.31, allocations: 130.5 kB / 4.639 GB, free: 42.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/11.33, allocations: 15.86 MB / 4.654 GB, free: 32.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/11.33, allocations: 1.513 MB / 4.656 GB, free: 32.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/11.33, allocations: 1.347 MB / 4.657 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/11.34, allocations: 1.389 MB / 4.659 GB, free: 31.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/11.34, allocations: 1.279 MB / 4.66 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=213): time 5.02e-06/11.34, allocations: 1.812 kB / 4.66 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213): time 0.006492/11.34, allocations: 2.487 MB / 4.662 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/11.34, allocations: 75.66 kB / 4.662 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/11.35, allocations: 0.9865 MB / 4.663 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002378/11.35, allocations: 25.7 kB / 4.663 GB, free: 30.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/11.35, allocations: 0.8754 MB / 4.664 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009522/11.35, allocations: 0.7068 MB / 4.665 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/11.35, allocations: 0 / 4.665 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002229/11.35, allocations: 386.5 kB / 4.665 GB, free: 29.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/11.35, allocations: 0.9359 MB / 4.666 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/11.35, allocations: 1.328 MB / 4.667 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/11.35, allocations: 1.211 MB / 4.669 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/11.35, allocations: 0 / 4.669 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004471/11.36, allocations: 2.623 MB / 4.671 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/11.36, allocations: 3.5 kB / 4.671 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/11.36, allocations: 7.594 kB / 4.671 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/11.36, allocations: 23.59 kB / 4.671 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/11.36, allocations: 467.9 kB / 4.672 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/11.36, allocations: 19.88 kB / 4.672 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/11.36, allocations: 346.6 kB / 4.672 GB, free: 28.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/11.36, allocations: 86.61 kB / 4.672 GB, free: 28.62 MB / 0.6823 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 ($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 (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.0003684/11.36, allocations: 155.8 kB / 4.672 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/11.37, allocations: 196.1 kB / 4.672 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/11.37, allocations: 2.558 MB / 4.675 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/11.37, allocations: 21.19 kB / 4.675 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/11.37, allocations: 7.75 kB / 4.675 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003079/11.37, allocations: 2.359 MB / 4.677 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/11.38, allocations: 5.481 MB / 4.683 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/11.38, allocations: 2.406 kB / 4.683 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/11.38, allocations: 484 kB / 4.683 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-05/11.38, allocations: 7.406 kB / 4.683 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/11.39, allocations: 39.3 kB / 4.683 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/11.39, allocations: 14.84 kB / 4.683 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/11.39, allocations: 3.656 kB / 4.683 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005202/11.39, allocations: 3.893 MB / 4.687 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/11.39, allocations: 0.5419 MB / 4.687 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/11.39, allocations: 10.28 kB / 4.687 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/11.39, allocations: 214.4 kB / 4.688 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/11.39, allocations: 133.8 kB / 4.688 GB, free: 26.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/11.4, allocations: 81.73 kB / 4.688 GB, free: 26.42 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001215/11.4, allocations: 0.7438 MB / 4.689 GB, free: 26.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003998/11.4, allocations: 1.208 MB / 4.69 GB, free: 26.16 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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 (217): * Single equations (assignments): 215 * 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.007313/11.41, allocations: 5.316 MB / 4.695 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004213/11.41, allocations: 2.336 MB / 4.697 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/11.41, allocations: 0 / 4.697 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/11.41, allocations: 1.226 MB / 4.698 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005341/11.42, allocations: 0.9666 MB / 4.699 GB, free: 23.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/11.43, allocations: 4.97 MB / 4.704 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/11.43, allocations: 2.276 MB / 4.706 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/11.43, allocations: 4.312 kB / 4.706 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of Templates: time 0.09952/11.53, allocations: 67.45 MB / 4.772 GB, free: 5.609 MB / 0.6823 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)