Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9055/0.9055, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 180.7 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009638, allocations: 92.27 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 276.5 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 13.11 kB / 0.6929 GB, free: 59.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2274, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.602/5.829, allocations: 1.942 GB / 2.716 GB, free: 86.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/5.829, allocations: 95.31 kB / 2.716 GB, free: 86.51 MB / 0.7136 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 - DAE generated: time 9.206/15.04, allocations: 2.126 GB / 4.842 GB, free: 60.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.024e-06/15.04, allocations: 0 / 4.842 GB, free: 60.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002623/15.04, allocations: 71.23 kB / 4.842 GB, free: 60.83 MB / 0.7761 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.0189/15.05, allocations: 3.952 MB / 4.846 GB, free: 59.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/15.05, allocations: 9.625 kB / 4.846 GB, free: 59.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008353/15.06, allocations: 0.8334 MB / 4.847 GB, free: 59.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009803/15.07, allocations: 2.166 MB / 4.849 GB, free: 59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/15.07, allocations: 221.3 kB / 4.849 GB, free: 58.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/15.07, allocations: 283.3 kB / 4.85 GB, free: 58.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007386/15.08, allocations: 3.491 MB / 4.853 GB, free: 58.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/15.08, allocations: 9.531 kB / 4.853 GB, free: 58.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/15.08, allocations: 115.7 kB / 4.853 GB, free: 58.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/15.08, allocations: 125.5 kB / 4.853 GB, free: 58.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006212/15.09, allocations: 3.156 MB / 4.856 GB, free: 58.55 MB / 0.7761 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.0367/15.13, allocations: 14.44 MB / 4.87 GB, free: 50 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/15.13, allocations: 2.294 MB / 4.873 GB, free: 49.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/15.13, allocations: 1.387 MB / 4.874 GB, free: 48.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003149/15.13, allocations: 1.202 MB / 4.875 GB, free: 48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=213): time 7.063e-06/15.13, allocations: 6.188 kB / 4.875 GB, free: 48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=213): time 0.007834/15.14, allocations: 3.133 MB / 4.878 GB, free: 47.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/15.14, allocations: 75.94 kB / 4.878 GB, free: 47.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003313/15.15, allocations: 1.252 MB / 4.879 GB, free: 47.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003745/15.15, allocations: 74.45 kB / 4.88 GB, free: 47.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/15.15, allocations: 1.11 MB / 4.881 GB, free: 47.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/15.15, allocations: 0.7275 MB / 4.881 GB, free: 46.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/15.15, allocations: 43.19 kB / 4.881 GB, free: 46.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002218/15.15, allocations: 388.9 kB / 4.882 GB, free: 46.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/15.15, allocations: 0.8986 MB / 4.883 GB, free: 46.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/15.15, allocations: 1.328 MB / 4.884 GB, free: 45.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/15.16, allocations: 1.115 MB / 4.885 GB, free: 45.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/15.16, allocations: 2.438 kB / 4.885 GB, free: 45.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005549/15.16, allocations: 2.581 MB / 4.888 GB, free: 45.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/15.16, allocations: 36.02 kB / 4.888 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/15.16, allocations: 10.44 kB / 4.888 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.854e-05/15.16, allocations: 16.62 kB / 4.888 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/15.16, allocations: 453.6 kB / 4.888 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.704e-05/15.16, allocations: 20.97 kB / 4.888 GB, free: 45.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/15.17, allocations: 368 kB / 4.888 GB, free: 45.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/15.17, allocations: 82.64 kB / 4.888 GB, free: 45.46 MB / 0.7761 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002494/15.17, allocations: 0.6839 MB / 4.889 GB, free: 45.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/15.17, allocations: 214.3 kB / 4.889 GB, free: 45.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005958/15.18, allocations: 2.495 MB / 4.892 GB, free: 45.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/15.18, allocations: 22.09 kB / 4.892 GB, free: 45.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/15.18, allocations: 2.062 kB / 4.892 GB, free: 45.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003918/15.18, allocations: 2.32 MB / 4.894 GB, free: 44.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/15.2, allocations: 5.563 MB / 4.9 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/15.2, allocations: 4.469 kB / 4.9 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/15.2, allocations: 473.6 kB / 4.9 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.214e-05/15.2, allocations: 10.22 kB / 4.9 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/15.2, allocations: 54.92 kB / 4.9 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.957e-05/15.2, allocations: 13.03 kB / 4.9 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/15.2, allocations: 7.344 kB / 4.9 GB, free: 44.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007361/15.21, allocations: 4.108 MB / 4.904 GB, free: 43.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/15.21, allocations: 0.5408 MB / 4.905 GB, free: 43.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008733/15.21, allocations: 50.95 kB / 4.905 GB, free: 43.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/15.21, allocations: 240 kB / 4.905 GB, free: 43.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/15.21, allocations: 145.5 kB / 4.905 GB, free: 43.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/15.21, allocations: 67.39 kB / 4.905 GB, free: 43.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002507/15.22, allocations: 0.9714 MB / 4.906 GB, free: 43.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.7e-07/15.22, allocations: 1.938 kB / 4.906 GB, free: 43.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007566/15.22, allocations: 1.37 MB / 4.907 GB, free: 42.98 MB / 0.7761 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 (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.01017/15.23, allocations: 4.851 MB / 4.912 GB, free: 40.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006734/15.24, allocations: 2.323 MB / 4.914 GB, free: 40.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/15.24, allocations: 7 kB / 4.914 GB, free: 40.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/15.24, allocations: 1.195 MB / 4.916 GB, free: 40.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007456/15.25, allocations: 1.206 MB / 4.917 GB, free: 40.47 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/15.27, allocations: 6.986 MB / 4.924 GB, free: 37.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/15.28, allocations: 2.018 MB / 4.926 GB, free: 37 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005356/15.28, allocations: 0.724 MB / 4.926 GB, free: 36.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/15.28, allocations: 202.2 kB / 4.926 GB, free: 36.98 MB / 0.7761 GB Notification: Performance of SimCode: time 1.563e-06/15.28, allocations: 0 / 4.926 GB, free: 36.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.1533/15.44, allocations: 90.9 MB / 5.015 GB, free: 19.92 MB / 0.7761 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)