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.534/2.534, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001587/0.001586, allocations: 183.3 kB / 371 MB, free: 10.79 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.041/2.041, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 86.92 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004944, allocations: 11.44 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2414, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.731/6.973, allocations: 2.136 GB / 3.115 GB, free: 134.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/6.973, allocations: 93.06 kB / 3.115 GB, free: 134.3 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.27/18.24, allocations: 2.099 GB / 5.214 GB, free: 95.5 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.926e-06/18.24, allocations: 2.406 kB / 5.214 GB, free: 95.5 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003085/18.24, allocations: 70.45 kB / 5.214 GB, free: 95.49 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.02185/18.27, allocations: 3.95 MB / 5.218 GB, free: 94.13 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/18.27, allocations: 10.94 kB / 5.218 GB, free: 94.13 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00939/18.27, allocations: 0.8358 MB / 5.219 GB, free: 93.96 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008341/18.28, allocations: 2.169 MB / 5.221 GB, free: 93.62 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/18.28, allocations: 209.5 kB / 5.221 GB, free: 93.61 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/18.29, allocations: 291.4 kB / 5.221 GB, free: 93.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/18.3, allocations: 3.498 MB / 5.225 GB, free: 93.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/18.3, allocations: 3.562 kB / 5.225 GB, free: 93.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007441/18.3, allocations: 115.8 kB / 5.225 GB, free: 93.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/18.3, allocations: 125.6 kB / 5.225 GB, free: 93.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/18.31, allocations: 3.148 MB / 5.228 GB, free: 93.17 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.02815/18.34, allocations: 14.45 MB / 5.242 GB, free: 84.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/18.34, allocations: 2.287 MB / 5.244 GB, free: 84.19 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/18.34, allocations: 1.39 MB / 5.246 GB, free: 82.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003637/18.35, allocations: 1.207 MB / 5.247 GB, free: 82.62 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 6.121e-06/18.35, allocations: 0 / 5.247 GB, free: 82.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.0101/18.36, allocations: 3.137 MB / 5.25 GB, free: 82.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/18.36, allocations: 76.94 kB / 5.25 GB, free: 82.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/18.36, allocations: 1.25 MB / 5.251 GB, free: 82.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006067/18.36, allocations: 70.17 kB / 5.251 GB, free: 82.18 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/18.36, allocations: 1.107 MB / 5.253 GB, free: 81.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/18.36, allocations: 0.735 MB / 5.253 GB, free: 81.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/18.37, allocations: 41.62 kB / 5.253 GB, free: 81.23 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001758/18.37, allocations: 381.9 kB / 5.254 GB, free: 80.93 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/18.37, allocations: 0.9024 MB / 5.255 GB, free: 80.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/18.37, allocations: 1.326 MB / 5.256 GB, free: 80.48 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/18.37, allocations: 1.126 MB / 5.257 GB, free: 80.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/18.37, allocations: 3.406 kB / 5.257 GB, free: 80.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007823/18.38, allocations: 2.571 MB / 5.259 GB, free: 80.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/18.38, allocations: 43.09 kB / 5.259 GB, free: 80.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/18.38, allocations: 16.22 kB / 5.259 GB, free: 80.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.634e-05/18.38, allocations: 16.44 kB / 5.259 GB, free: 80.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/18.39, allocations: 449.9 kB / 5.26 GB, free: 80.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.964e-05/18.39, allocations: 20.41 kB / 5.26 GB, free: 80.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00499/18.39, allocations: 362.3 kB / 5.26 GB, free: 80.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00053/18.39, allocations: 85.53 kB / 5.26 GB, free: 80.08 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.002462/18.39, allocations: 0.6892 MB / 5.261 GB, free: 79.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008346/18.4, allocations: 216.6 kB / 5.261 GB, free: 79.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007404/18.4, allocations: 2.501 MB / 5.264 GB, free: 79.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/18.4, allocations: 18 kB / 5.264 GB, free: 79.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/18.4, allocations: 0 / 5.264 GB, free: 79.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005976/18.41, allocations: 2.321 MB / 5.266 GB, free: 79.33 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/18.43, allocations: 5.565 MB / 5.271 GB, free: 78.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/18.43, allocations: 3.281 kB / 5.271 GB, free: 78.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004435/18.43, allocations: 472.1 kB / 5.272 GB, free: 78.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.192e-05/18.43, allocations: 10.72 kB / 5.272 GB, free: 78.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003773/18.43, allocations: 57.55 kB / 5.272 GB, free: 78.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.766e-05/18.43, allocations: 10.38 kB / 5.272 GB, free: 78.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/18.43, allocations: 7.172 kB / 5.272 GB, free: 78.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/18.44, allocations: 4.097 MB / 5.276 GB, free: 78.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/18.44, allocations: 0.5372 MB / 5.276 GB, free: 77.86 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007856/18.44, allocations: 52.2 kB / 5.277 GB, free: 77.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004301/18.45, allocations: 247.9 kB / 5.277 GB, free: 77.84 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000541/18.45, allocations: 137.5 kB / 5.277 GB, free: 77.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/18.45, allocations: 81.69 kB / 5.277 GB, free: 77.84 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00219/18.45, allocations: 0.9665 MB / 5.278 GB, free: 77.73 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.51e-07/18.45, allocations: 0 / 5.278 GB, free: 77.73 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005648/18.46, allocations: 1.371 MB / 5.279 GB, free: 77.6 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.008942/18.47, allocations: 4.844 MB / 5.284 GB, free: 75.21 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006596/18.47, allocations: 2.318 MB / 5.286 GB, free: 75.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/18.47, allocations: 0 / 5.286 GB, free: 75.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003245/18.48, allocations: 1.199 MB / 5.287 GB, free: 75.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/18.49, allocations: 1.203 MB / 5.289 GB, free: 75.06 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/18.5, allocations: 6.986 MB / 5.295 GB, free: 72.35 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/18.51, allocations: 2.012 MB / 5.297 GB, free: 71.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005387/18.51, allocations: 0.7279 MB / 5.298 GB, free: 71.58 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/18.51, allocations: 203.7 kB / 5.298 GB, free: 71.57 MB / 1.01 GB Notification: Performance of SimCode: time 1.483e-06/18.51, allocations: 0 / 5.298 GB, free: 71.57 MB / 1.01 GB Notification: Performance of Templates: time 0.2026/18.72, allocations: 90.83 MB / 5.387 GB, free: 57.12 MB / 1.01 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)