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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.878/1.878, allocations: 293 MB / 309 MB, free: 4.812 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.001124/0.001125, allocations: 180.5 kB / 378.7 MB, free: 1.035 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.834/1.834, allocations: 205.4 MB / 0.6383 GB, free: 8.152 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.0008229/0.0008229, allocations: 97.86 kB / 0.7527 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.932/6.228, allocations: 2.138 GB / 3.128 GB, free: 77.13 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/6.229, allocations: 88.61 kB / 3.128 GB, free: 77.05 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 8.999/15.23, allocations: 2.095 GB / 5.223 GB, free: 74.39 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.564e-06/15.23, allocations: 0 / 5.223 GB, free: 74.39 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003452/15.23, allocations: 72.28 kB / 5.223 GB, free: 74.38 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.01846/15.25, allocations: 3.921 MB / 5.227 GB, free: 72.93 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/15.25, allocations: 11.12 kB / 5.227 GB, free: 72.93 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007804/15.25, allocations: 0.828 MB / 5.227 GB, free: 72.76 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/15.26, allocations: 2.084 MB / 5.229 GB, free: 72.24 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/15.26, allocations: 211.4 kB / 5.23 GB, free: 72.23 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/15.26, allocations: 290 kB / 5.23 GB, free: 72.23 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/15.27, allocations: 3.519 MB / 5.233 GB, free: 71.84 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.627e-05/15.27, allocations: 16.23 kB / 5.233 GB, free: 71.83 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002964/15.27, allocations: 118.8 kB / 5.234 GB, free: 71.83 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/15.27, allocations: 124.6 kB / 5.234 GB, free: 71.82 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005236/15.27, allocations: 3.156 MB / 5.237 GB, free: 71.79 MB / 1.01 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.0163/15.29, allocations: 14.47 MB / 5.251 GB, free: 63.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/15.29, allocations: 2.309 MB / 5.253 GB, free: 62.81 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/15.3, allocations: 1.342 MB / 5.254 GB, free: 62.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009876/15.3, allocations: 1.387 MB / 5.256 GB, free: 61.29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/15.3, allocations: 1.227 MB / 5.257 GB, free: 61.21 MB / 1.01 GB Notification: Performance of pre-optimization done (n=216): time 4.969e-06/15.3, allocations: 0 / 5.257 GB, free: 61.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=216): time 0.005687/15.3, allocations: 3.174 MB / 5.26 GB, free: 61.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/15.3, allocations: 74.97 kB / 5.26 GB, free: 60.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/15.31, allocations: 1.436 MB / 5.262 GB, free: 60.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/15.31, allocations: 73.17 kB / 5.262 GB, free: 60.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/15.31, allocations: 1.105 MB / 5.263 GB, free: 60.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000697/15.31, allocations: 0.7434 MB / 5.263 GB, free: 59.81 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/15.31, allocations: 44.81 kB / 5.263 GB, free: 59.81 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001376/15.31, allocations: 385.1 kB / 5.264 GB, free: 59.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/15.31, allocations: 0.9104 MB / 5.265 GB, free: 59.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/15.31, allocations: 1.336 MB / 5.266 GB, free: 59.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/15.31, allocations: 2.32 MB / 5.268 GB, free: 58.74 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/15.31, allocations: 0 / 5.268 GB, free: 58.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004453/15.32, allocations: 2.6 MB / 5.271 GB, free: 58.53 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/15.32, allocations: 37.17 kB / 5.271 GB, free: 58.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/15.32, allocations: 11.41 kB / 5.271 GB, free: 58.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/15.32, allocations: 20.28 kB / 5.271 GB, free: 58.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/15.32, allocations: 452.2 kB / 5.271 GB, free: 58.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.031e-05/15.32, allocations: 26.83 kB / 5.271 GB, free: 58.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/15.32, allocations: 368.7 kB / 5.272 GB, free: 58.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/15.32, allocations: 81.58 kB / 5.272 GB, free: 58.39 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 260 * 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.001697/15.33, allocations: 0.6847 MB / 5.272 GB, free: 58.27 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/15.33, allocations: 225.1 kB / 5.273 GB, free: 58.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/15.33, allocations: 2.529 MB / 5.275 GB, free: 58.04 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/15.33, allocations: 22.38 kB / 5.275 GB, free: 58.04 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/15.33, allocations: 1.641 kB / 5.275 GB, free: 58.04 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003086/15.33, allocations: 2.331 MB / 5.277 GB, free: 57.65 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009531/15.34, allocations: 5.6 MB / 5.283 GB, free: 57.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/15.34, allocations: 3.531 kB / 5.283 GB, free: 57.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/15.35, allocations: 474.5 kB / 5.283 GB, free: 57.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/15.35, allocations: 10.38 kB / 5.283 GB, free: 57.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/15.35, allocations: 60.72 kB / 5.283 GB, free: 57.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-05/15.35, allocations: 18.06 kB / 5.283 GB, free: 57.02 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/15.35, allocations: 10.19 kB / 5.283 GB, free: 57.01 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/15.35, allocations: 3.984 MB / 5.287 GB, free: 56.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/15.35, allocations: 0.5487 MB / 5.288 GB, free: 56.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/15.35, allocations: 48.17 kB / 5.288 GB, free: 56.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/15.36, allocations: 243.6 kB / 5.288 GB, free: 56.35 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/15.36, allocations: 136.4 kB / 5.288 GB, free: 56.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/15.36, allocations: 78.77 kB / 5.288 GB, free: 56.35 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001899/15.36, allocations: 0.9686 MB / 5.289 GB, free: 56.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.91e-07/15.36, allocations: 0 / 5.289 GB, free: 56.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008101/15.37, allocations: 1.376 MB / 5.291 GB, free: 56.11 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 218 * 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.01186/15.38, allocations: 4.862 MB / 5.295 GB, free: 53.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005254/15.38, allocations: 2.344 MB / 5.298 GB, free: 53.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/15.38, allocations: 3 kB / 5.298 GB, free: 53.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/15.39, allocations: 1.207 MB / 5.299 GB, free: 53.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007838/15.39, allocations: 1.226 MB / 5.3 GB, free: 53.45 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/15.41, allocations: 7.039 MB / 5.307 GB, free: 50.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/15.41, allocations: 1.967 MB / 5.309 GB, free: 49.93 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003632/15.41, allocations: 0.7374 MB / 5.31 GB, free: 49.83 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/15.41, allocations: 218 kB / 5.31 GB, free: 49.82 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/15.41, allocations: 0 / 5.31 GB, free: 49.82 MB / 1.01 GB Notification: Performance of Templates: time 0.1286/15.54, allocations: 92.5 MB / 5.4 GB, free: 11.07 MB / 1.01 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)