Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 184.3 kB / 360.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.3 MB / 0.6192 GB, free: 12.1 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.8 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.238e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8173, allocations: 115.2 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.786/7.603, allocations: 2.136 GB / 3.099 GB, free: 289.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/7.604, allocations: 87.97 kB / 3.099 GB, free: 289.5 MB / 0.948 GB [/var/lib/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() [/var/lib/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() [/var/lib/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() [/var/lib/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 11.63/19.23, allocations: 2.075 GB / 5.174 GB, free: 97.55 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.124e-06/19.23, allocations: 0 / 5.174 GB, free: 97.55 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003055/19.23, allocations: 76.02 kB / 5.174 GB, free: 97.54 MB / 0.9948 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.01954/19.25, allocations: 3.595 MB / 5.178 GB, free: 95.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/19.25, allocations: 11.34 kB / 5.178 GB, free: 95.12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00928/19.26, allocations: 0.837 MB / 5.179 GB, free: 94.75 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008584/19.27, allocations: 2.154 MB / 5.181 GB, free: 93.36 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/19.27, allocations: 93.86 kB / 5.181 GB, free: 93.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/19.27, allocations: 167.8 kB / 5.181 GB, free: 93.36 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009064/19.28, allocations: 2.689 MB / 5.184 GB, free: 92.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/19.29, allocations: 3.03 MB / 5.187 GB, free: 89.89 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/19.29, allocations: 7.938 kB / 5.187 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004522/19.29, allocations: 7.953 kB / 5.187 GB, free: 89.88 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/19.29, allocations: 134.6 kB / 5.187 GB, free: 89.75 MB / 0.9948 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.02768/19.32, allocations: 14.12 MB / 5.201 GB, free: 74.62 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009221/19.33, allocations: 2.77 MB / 5.203 GB, free: 71.67 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005066/19.34, allocations: 1.253 MB / 5.204 GB, free: 70.43 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002266/19.34, allocations: 1.391 MB / 5.206 GB, free: 68.76 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005025/19.34, allocations: 1.17 MB / 5.207 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=213): time 8.987e-06/19.34, allocations: 0 / 5.207 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213): time 0.01139/19.35, allocations: 2.19 MB / 5.209 GB, free: 65.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/19.36, allocations: 73.41 kB / 5.209 GB, free: 65.29 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/19.36, allocations: 0.9658 MB / 5.21 GB, free: 64.32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006131/19.36, allocations: 29.7 kB / 5.21 GB, free: 64.29 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/19.36, allocations: 1.11 MB / 5.211 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/19.36, allocations: 0.7081 MB / 5.212 GB, free: 62.44 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/19.36, allocations: 0 / 5.212 GB, free: 62.44 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002376/19.36, allocations: 393.9 kB / 5.212 GB, free: 62.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/19.36, allocations: 0.8747 MB / 5.213 GB, free: 61.17 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/19.37, allocations: 1.278 MB / 5.214 GB, free: 59.73 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/19.37, allocations: 1.093 MB / 5.215 GB, free: 58.63 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/19.37, allocations: 4 kB / 5.216 GB, free: 58.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007597/19.38, allocations: 2.425 MB / 5.218 GB, free: 56.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/19.38, allocations: 42.31 kB / 5.218 GB, free: 56.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/19.38, allocations: 8 kB / 5.218 GB, free: 56.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.653e-05/19.38, allocations: 20 kB / 5.218 GB, free: 56.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004194/19.38, allocations: 463.3 kB / 5.218 GB, free: 55.67 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.546e-05/19.38, allocations: 23.94 kB / 5.218 GB, free: 55.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005137/19.39, allocations: 309.2 kB / 5.219 GB, free: 55.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006614/19.39, allocations: 87.97 kB / 5.219 GB, free: 55.26 MB / 0.9948 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.0006886/19.39, allocations: 150 kB / 5.219 GB, free: 55.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008649/19.39, allocations: 201.7 kB / 5.219 GB, free: 54.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/19.4, allocations: 2.387 MB / 5.221 GB, free: 52.51 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/19.4, allocations: 20 kB / 5.221 GB, free: 52.49 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/19.4, allocations: 4 kB / 5.221 GB, free: 52.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005948/19.4, allocations: 2.25 MB / 5.224 GB, free: 50.16 MB / 0.9948 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.01748/19.42, allocations: 5.514 MB / 5.229 GB, free: 44.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/19.42, allocations: 4 kB / 5.229 GB, free: 44.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004907/19.43, allocations: 487.6 kB / 5.23 GB, free: 44.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.351e-05/19.43, allocations: 8 kB / 5.23 GB, free: 44.06 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005404/19.43, allocations: 43.95 kB / 5.23 GB, free: 44.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/19.43, allocations: 8 kB / 5.23 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/19.43, allocations: 4 kB / 5.23 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009764/19.44, allocations: 4.014 MB / 5.234 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/19.44, allocations: 0.5412 MB / 5.234 GB, free: 39.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007758/19.44, allocations: 4 kB / 5.234 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004526/19.44, allocations: 215.5 kB / 5.234 GB, free: 39.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005587/19.45, allocations: 145.8 kB / 5.234 GB, free: 38.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003274/19.45, allocations: 75.91 kB / 5.234 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001593/19.45, allocations: 0.7352 MB / 5.235 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.31e-07/19.45, allocations: 0 / 5.235 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004981/19.45, allocations: 1.192 MB / 5.236 GB, free: 36.95 MB / 0.9948 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.00933/19.46, allocations: 5.289 MB / 5.241 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005589/19.47, allocations: 2.237 MB / 5.244 GB, free: 29.54 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/19.47, allocations: 4 kB / 5.244 GB, free: 29.54 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/19.47, allocations: 1.167 MB / 5.245 GB, free: 28.37 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008896/19.48, allocations: 1.012 MB / 5.246 GB, free: 27.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/19.49, allocations: 4.816 MB / 5.251 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/19.49, allocations: 2.021 MB / 5.252 GB, free: 20.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005064/19.5, allocations: 0.7101 MB / 5.253 GB, free: 19.82 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/19.5, allocations: 207.3 kB / 5.253 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of SimCode: time 2.274e-06/19.5, allocations: 0 / 5.253 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of Templates: time 1.045/20.55, allocations: 61.9 MB / 5.314 GB, free: 144.4 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)