Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.577/1.577, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 176.8 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001084, allocations: 97.38 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.996e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6792, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.322/6.001, allocations: 2.137 GB / 3.11 GB, free: 275 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/6.002, allocations: 89.75 kB / 3.11 GB, free: 274.9 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 7.547/13.55, allocations: 2.075 GB / 5.185 GB, free: 88.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.963e-06/13.55, allocations: 0 / 5.185 GB, free: 88.77 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002924/13.55, allocations: 71.2 kB / 5.185 GB, free: 88.7 MB / 1.01 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.01364/13.56, allocations: 3.592 MB / 5.189 GB, free: 85.05 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/13.56, allocations: 8.031 kB / 5.189 GB, free: 85.05 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0064/13.57, allocations: 0.8429 MB / 5.19 GB, free: 84.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006539/13.58, allocations: 2.15 MB / 5.192 GB, free: 82.05 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/13.58, allocations: 88 kB / 5.192 GB, free: 81.96 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/13.58, allocations: 181.3 kB / 5.192 GB, free: 81.79 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007326/13.59, allocations: 2.682 MB / 5.195 GB, free: 79.11 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008672/13.59, allocations: 3.033 MB / 5.198 GB, free: 75.94 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/13.59, allocations: 7.938 kB / 5.198 GB, free: 75.93 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007718/13.59, allocations: 4 kB / 5.198 GB, free: 75.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/13.59, allocations: 133.2 kB / 5.198 GB, free: 75.8 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.0169/13.61, allocations: 14.14 MB / 5.212 GB, free: 60.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/13.61, allocations: 2.778 MB / 5.214 GB, free: 57.68 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/13.62, allocations: 1.251 MB / 5.215 GB, free: 56.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009341/13.62, allocations: 1.388 MB / 5.217 GB, free: 54.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/13.62, allocations: 1.163 MB / 5.218 GB, free: 53.59 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.067e-06/13.62, allocations: 4 kB / 5.218 GB, free: 53.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.003707/13.62, allocations: 2.182 MB / 5.22 GB, free: 51.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/13.62, allocations: 85.41 kB / 5.22 GB, free: 51.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/13.62, allocations: 0.9619 MB / 5.221 GB, free: 50.33 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/13.62, allocations: 33.7 kB / 5.221 GB, free: 50.29 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/13.62, allocations: 1.106 MB / 5.222 GB, free: 49.17 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005717/13.63, allocations: 0.7081 MB / 5.223 GB, free: 48.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/13.63, allocations: 0 / 5.223 GB, free: 48.45 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001112/13.63, allocations: 385.9 kB / 5.223 GB, free: 48.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/13.63, allocations: 0.8631 MB / 5.224 GB, free: 47.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/13.63, allocations: 1.282 MB / 5.225 GB, free: 45.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/13.63, allocations: 1.101 MB / 5.226 GB, free: 44.65 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/13.63, allocations: 0 / 5.226 GB, free: 44.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004147/13.63, allocations: 2.428 MB / 5.229 GB, free: 42.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/13.63, allocations: 43.56 kB / 5.229 GB, free: 42.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/13.63, allocations: 8 kB / 5.229 GB, free: 42.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.635e-05/13.63, allocations: 19.94 kB / 5.229 GB, free: 42.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/13.64, allocations: 479.2 kB / 5.229 GB, free: 41.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.56e-05/13.64, allocations: 19.94 kB / 5.229 GB, free: 41.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/13.64, allocations: 302.1 kB / 5.23 GB, free: 41.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/13.64, allocations: 87.58 kB / 5.23 GB, free: 41.27 MB / 1.01 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.0004812/13.64, allocations: 152.6 kB / 5.23 GB, free: 41.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007336/13.64, allocations: 193.7 kB / 5.23 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/13.65, allocations: 2.388 MB / 5.232 GB, free: 38.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/13.65, allocations: 20 kB / 5.232 GB, free: 38.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/13.65, allocations: 0 / 5.232 GB, free: 38.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0032/13.65, allocations: 2.253 MB / 5.235 GB, free: 36.18 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01023/13.66, allocations: 5.515 MB / 5.24 GB, free: 30.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/13.66, allocations: 4 kB / 5.24 GB, free: 30.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/13.66, allocations: 487.7 kB / 5.24 GB, free: 30.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.393e-05/13.66, allocations: 12 kB / 5.24 GB, free: 30.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/13.66, allocations: 35.95 kB / 5.24 GB, free: 30.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/13.66, allocations: 15.94 kB / 5.241 GB, free: 30.02 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/13.66, allocations: 4 kB / 5.241 GB, free: 30.02 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/13.67, allocations: 4.012 MB / 5.244 GB, free: 25.88 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/13.67, allocations: 0.5373 MB / 5.245 GB, free: 25.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/13.67, allocations: 12 kB / 5.245 GB, free: 25.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/13.67, allocations: 211.5 kB / 5.245 GB, free: 25.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/13.67, allocations: 129.8 kB / 5.245 GB, free: 24.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/13.67, allocations: 83.94 kB / 5.245 GB, free: 24.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001124/13.67, allocations: 0.7313 MB / 5.246 GB, free: 24.17 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.91e-07/13.67, allocations: 0 / 5.246 GB, free: 24.17 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003682/13.68, allocations: 1.196 MB / 5.247 GB, free: 22.97 MB / 1.01 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) * 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.007003/13.68, allocations: 5.291 MB / 5.252 GB, free: 17.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003653/13.69, allocations: 2.243 MB / 5.255 GB, free: 15.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/13.69, allocations: 0 / 5.255 GB, free: 15.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/13.69, allocations: 1.165 MB / 5.256 GB, free: 14.13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005725/13.69, allocations: 1.013 MB / 5.257 GB, free: 13.14 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/13.7, allocations: 4.823 MB / 5.261 GB, free: 8.312 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/13.71, allocations: 2.017 MB / 5.263 GB, free: 6.258 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003132/13.71, allocations: 0.71 MB / 5.264 GB, free: 5.57 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/13.71, allocations: 207.3 kB / 5.264 GB, free: 5.367 MB / 1.01 GB Notification: Performance of SimCode: time 1.814e-06/13.71, allocations: 0 / 5.264 GB, free: 5.367 MB / 1.01 GB Notification: Performance of Templates: time 0.7752/14.49, allocations: 61.91 MB / 5.325 GB, free: 123.6 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)