Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.4 MB / 298 MB, free: 5.98 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.001289/0.001289, allocations: 180.8 kB / 366.4 MB, free: 2.098 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.586/1.586, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.000898/0.000898, allocations: 94.44 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.99e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7648, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.617/6.382, allocations: 2.136 GB / 3.107 GB, free: 280.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/6.383, allocations: 91.16 kB / 3.107 GB, free: 280.2 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.83/14.21, allocations: 2.097 GB / 5.205 GB, free: 82.53 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.853e-06/14.21, allocations: 0 / 5.205 GB, free: 82.53 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002047/14.21, allocations: 75.92 kB / 5.205 GB, free: 82.46 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.01368/14.23, allocations: 3.589 MB / 5.208 GB, free: 78.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/14.23, allocations: 12.03 kB / 5.208 GB, free: 78.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008134/14.23, allocations: 0.839 MB / 5.209 GB, free: 77.95 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006147/14.24, allocations: 2.151 MB / 5.211 GB, free: 75.75 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/14.24, allocations: 217.4 kB / 5.211 GB, free: 75.53 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005533/14.24, allocations: 291.9 kB / 5.212 GB, free: 75.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005624/14.25, allocations: 3.414 MB / 5.215 GB, free: 71.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.078e-05/14.25, allocations: 7.938 kB / 5.215 GB, free: 71.69 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/14.25, allocations: 116 kB / 5.215 GB, free: 71.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/14.25, allocations: 132.5 kB / 5.215 GB, free: 71.45 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/14.25, allocations: 3.027 MB / 5.218 GB, free: 68.41 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.01586/14.27, allocations: 14.44 MB / 5.232 GB, free: 52.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/14.27, allocations: 2.22 MB / 5.235 GB, free: 50.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/14.27, allocations: 1.29 MB / 5.236 GB, free: 49.19 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009884/14.27, allocations: 1.386 MB / 5.237 GB, free: 47.51 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/14.28, allocations: 1.171 MB / 5.238 GB, free: 46.33 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.96e-06/14.28, allocations: 0 / 5.238 GB, free: 46.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.004003/14.28, allocations: 2.179 MB / 5.24 GB, free: 44.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/14.28, allocations: 77.41 kB / 5.24 GB, free: 44.05 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/14.28, allocations: 1.236 MB / 5.242 GB, free: 42.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/14.28, allocations: 77.7 kB / 5.242 GB, free: 42.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009376/14.28, allocations: 1.104 MB / 5.243 GB, free: 41.61 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005983/14.28, allocations: 0.7393 MB / 5.244 GB, free: 40.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/14.28, allocations: 40 kB / 5.244 GB, free: 40.82 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001278/14.28, allocations: 385.9 kB / 5.244 GB, free: 40.44 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/14.28, allocations: 0.8591 MB / 5.245 GB, free: 39.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/14.29, allocations: 1.282 MB / 5.246 GB, free: 38.12 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/14.29, allocations: 1.087 MB / 5.247 GB, free: 37.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/14.29, allocations: 4 kB / 5.247 GB, free: 37.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004247/14.29, allocations: 2.492 MB / 5.25 GB, free: 34.51 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/14.29, allocations: 46.98 kB / 5.25 GB, free: 34.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/14.29, allocations: 4 kB / 5.25 GB, free: 34.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.949e-05/14.29, allocations: 20 kB / 5.25 GB, free: 34.44 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/14.29, allocations: 455.2 kB / 5.25 GB, free: 33.99 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/14.29, allocations: 27.88 kB / 5.25 GB, free: 33.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/14.3, allocations: 365.7 kB / 5.25 GB, free: 33.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/14.3, allocations: 79.98 kB / 5.251 GB, free: 33.53 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.0003883/14.3, allocations: 220.7 kB / 5.251 GB, free: 33.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/14.3, allocations: 217.5 kB / 5.251 GB, free: 33.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/14.3, allocations: 2.428 MB / 5.253 GB, free: 30.65 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/14.3, allocations: 20 kB / 5.253 GB, free: 30.63 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/14.3, allocations: 0 / 5.253 GB, free: 30.63 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002638/14.3, allocations: 2.234 MB / 5.255 GB, free: 28.33 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/14.31, allocations: 5.489 MB / 5.261 GB, free: 22.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/14.31, allocations: 4.312 kB / 5.261 GB, free: 22.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/14.32, allocations: 471.4 kB / 5.261 GB, free: 22.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/14.32, allocations: 8 kB / 5.261 GB, free: 22.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/14.32, allocations: 59.97 kB / 5.261 GB, free: 22.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/14.32, allocations: 19.94 kB / 5.261 GB, free: 22.17 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/14.32, allocations: 0 / 5.261 GB, free: 22.17 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/14.32, allocations: 3.982 MB / 5.265 GB, free: 18.08 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/14.32, allocations: 0.541 MB / 5.266 GB, free: 17.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/14.32, allocations: 48 kB / 5.266 GB, free: 17.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/14.33, allocations: 243.4 kB / 5.266 GB, free: 17.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/14.33, allocations: 137.8 kB / 5.266 GB, free: 17.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/14.33, allocations: 71.97 kB / 5.266 GB, free: 17.03 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001412/14.33, allocations: 0.9582 MB / 5.267 GB, free: 16.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 2e-07/14.33, allocations: 0 / 5.267 GB, free: 16.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006249/14.33, allocations: 1.372 MB / 5.269 GB, free: 14.7 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.007562/14.34, allocations: 4.853 MB / 5.273 GB, free: 9.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00386/14.35, allocations: 2.244 MB / 5.275 GB, free: 7.223 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/14.35, allocations: 0 / 5.275 GB, free: 7.223 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/14.35, allocations: 1.159 MB / 5.277 GB, free: 6.066 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007011/14.36, allocations: 1.202 MB / 5.278 GB, free: 4.891 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0088/14.36, allocations: 4.865 MB / 5.283 GB, free: 15.98 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/14.37, allocations: 2.022 MB / 5.285 GB, free: 13.93 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.003379/14.37, allocations: 0.7171 MB / 5.285 GB, free: 13.21 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007403/14.37, allocations: 203.4 kB / 5.285 GB, free: 13.01 MB / 1.026 GB Notification: Performance of SimCode: time 1.022e-06/14.37, allocations: 0 / 5.285 GB, free: 13.01 MB / 1.026 GB Notification: Performance of Templates: time 0.9/15.27, allocations: 101.1 MB / 5.384 GB, free: 122.3 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)