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.747/1.747, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.00167/0.00167, allocations: 181.1 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.6367 GB, free: 8.645 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.001153/0.001153, allocations: 87.19 kB / 0.751 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 8 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 116.3 MB / 0.9884 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.086/7.371, allocations: 2.137 GB / 3.126 GB, free: 43.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/7.372, allocations: 87.95 kB / 3.126 GB, free: 43.89 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 9.035/16.41, allocations: 2.099 GB / 5.225 GB, free: 82.63 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.264e-06/16.41, allocations: 0 / 5.225 GB, free: 82.63 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002529/16.41, allocations: 75.59 kB / 5.225 GB, free: 82.62 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.01803/16.42, allocations: 3.957 MB / 5.229 GB, free: 80.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/16.43, allocations: 10.03 kB / 5.229 GB, free: 80.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007525/16.43, allocations: 0.8346 MB / 5.23 GB, free: 80.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007219/16.44, allocations: 2.157 MB / 5.232 GB, free: 80.27 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/16.44, allocations: 215.6 kB / 5.232 GB, free: 80.25 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/16.44, allocations: 289 kB / 5.233 GB, free: 80.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/16.45, allocations: 3.498 MB / 5.236 GB, free: 79.85 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/16.45, allocations: 3.719 kB / 5.236 GB, free: 79.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/16.45, allocations: 115.8 kB / 5.236 GB, free: 79.84 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/16.45, allocations: 134.6 kB / 5.236 GB, free: 79.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00843/16.46, allocations: 3.155 MB / 5.239 GB, free: 79.78 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.02253/16.48, allocations: 14.44 MB / 5.253 GB, free: 71.08 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/16.49, allocations: 2.288 MB / 5.256 GB, free: 70.65 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/16.49, allocations: 1.383 MB / 5.257 GB, free: 69.15 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/16.49, allocations: 1.207 MB / 5.258 GB, free: 69.07 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 6.031e-06/16.49, allocations: 0 / 5.258 GB, free: 69.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.007232/16.5, allocations: 3.139 MB / 5.261 GB, free: 68.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/16.5, allocations: 77.16 kB / 5.261 GB, free: 68.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/16.5, allocations: 1.252 MB / 5.262 GB, free: 68.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003375/16.5, allocations: 71.08 kB / 5.263 GB, free: 68.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001793/16.5, allocations: 1.102 MB / 5.264 GB, free: 68.16 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/16.5, allocations: 0.7365 MB / 5.264 GB, free: 67.69 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/16.5, allocations: 40.06 kB / 5.264 GB, free: 67.69 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002535/16.51, allocations: 384.6 kB / 5.265 GB, free: 67.38 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/16.51, allocations: 0.9004 MB / 5.266 GB, free: 67.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/16.51, allocations: 1.323 MB / 5.267 GB, free: 66.93 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/16.51, allocations: 1.126 MB / 5.268 GB, free: 66.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/16.51, allocations: 10.45 kB / 5.268 GB, free: 66.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00567/16.52, allocations: 2.581 MB / 5.271 GB, free: 66.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/16.52, allocations: 32.98 kB / 5.271 GB, free: 66.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/16.52, allocations: 7.406 kB / 5.271 GB, free: 66.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.596e-05/16.52, allocations: 19.84 kB / 5.271 GB, free: 66.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/16.52, allocations: 458.1 kB / 5.271 GB, free: 66.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.293e-05/16.52, allocations: 23.52 kB / 5.271 GB, free: 66.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/16.52, allocations: 361.5 kB / 5.271 GB, free: 66.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/16.52, allocations: 77.36 kB / 5.271 GB, free: 66.44 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 () * 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.002486/16.53, allocations: 0.6928 MB / 5.272 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/16.53, allocations: 212.8 kB / 5.272 GB, free: 66.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/16.53, allocations: 2.508 MB / 5.275 GB, free: 66.06 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/16.53, allocations: 21.97 kB / 5.275 GB, free: 66.06 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/16.53, allocations: 0 / 5.275 GB, free: 66.06 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003556/16.54, allocations: 2.313 MB / 5.277 GB, free: 65.66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/16.55, allocations: 5.569 MB / 5.283 GB, free: 64.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/16.55, allocations: 7.125 kB / 5.283 GB, free: 64.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/16.55, allocations: 468.8 kB / 5.283 GB, free: 64.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-05/16.55, allocations: 13.52 kB / 5.283 GB, free: 64.73 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/16.55, allocations: 58.48 kB / 5.283 GB, free: 64.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-05/16.55, allocations: 16.48 kB / 5.283 GB, free: 64.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/16.55, allocations: 6.938 kB / 5.283 GB, free: 64.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006974/16.56, allocations: 4.092 MB / 5.287 GB, free: 62.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/16.56, allocations: 0.5388 MB / 5.288 GB, free: 62.42 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008752/16.56, allocations: 49.88 kB / 5.288 GB, free: 62.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/16.57, allocations: 246.9 kB / 5.288 GB, free: 62.35 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/16.57, allocations: 134.5 kB / 5.288 GB, free: 62.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/16.57, allocations: 75.34 kB / 5.288 GB, free: 62.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002555/16.57, allocations: 0.9716 MB / 5.289 GB, free: 61.94 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.073e-06/16.57, allocations: 3.156 kB / 5.289 GB, free: 61.94 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006374/16.58, allocations: 1.372 MB / 5.29 GB, free: 61.51 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 (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.009796/16.59, allocations: 4.846 MB / 5.295 GB, free: 59.01 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006223/16.59, allocations: 2.317 MB / 5.297 GB, free: 58.17 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/16.59, allocations: 3.844 kB / 5.297 GB, free: 58.17 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002738/16.59, allocations: 1.192 MB / 5.299 GB, free: 57.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007342/16.6, allocations: 1.201 MB / 5.3 GB, free: 57.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/16.62, allocations: 6.985 MB / 5.307 GB, free: 53.76 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003269/16.62, allocations: 2.018 MB / 5.308 GB, free: 52.87 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004617/16.62, allocations: 0.7226 MB / 5.309 GB, free: 52.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/16.63, allocations: 200.6 kB / 5.309 GB, free: 52.75 MB / 1.01 GB Notification: Performance of SimCode: time 1.442e-06/16.63, allocations: 3.906 kB / 5.309 GB, free: 52.75 MB / 1.01 GB Notification: Performance of Templates: time 0.1416/16.77, allocations: 90.83 MB / 5.398 GB, free: 7.285 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)