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.611/1.611, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001229/0.001229, allocations: 180.9 kB / 361.4 MB, free: 6.801 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.735/1.735, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008685/0.0008686, allocations: 92.52 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.985e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7712, allocations: 115.3 MB / 0.9643 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.098/5.87, allocations: 2.136 GB / 3.1 GB, free: 23.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/5.87, allocations: 88.52 kB / 3.1 GB, free: 23.62 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.317/14.19, allocations: 2.075 GB / 5.175 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.517e-06/14.19, allocations: 0 / 5.175 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003754/14.19, allocations: 80.59 kB / 5.175 GB, free: 92.17 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.01704/14.2, allocations: 3.587 MB / 5.179 GB, free: 90.63 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/14.2, allocations: 10.66 kB / 5.179 GB, free: 90.63 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006762/14.21, allocations: 0.8343 MB / 5.18 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006176/14.22, allocations: 2.15 MB / 5.182 GB, free: 89.92 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/14.22, allocations: 85.59 kB / 5.182 GB, free: 89.92 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/14.22, allocations: 178 kB / 5.182 GB, free: 89.91 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005786/14.22, allocations: 2.687 MB / 5.185 GB, free: 89.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00498/14.23, allocations: 3.028 MB / 5.188 GB, free: 89.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/14.23, allocations: 9.812 kB / 5.188 GB, free: 89.51 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/14.23, allocations: 3.312 kB / 5.188 GB, free: 89.51 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/14.23, allocations: 132.8 kB / 5.188 GB, free: 89.5 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.01595/14.25, allocations: 14.14 MB / 5.202 GB, free: 80.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/14.25, allocations: 2.777 MB / 5.204 GB, free: 79.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/14.25, allocations: 1.25 MB / 5.206 GB, free: 79.88 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009813/14.25, allocations: 1.385 MB / 5.207 GB, free: 78.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/14.25, allocations: 1.165 MB / 5.208 GB, free: 78.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=213): time 5.19e-06/14.25, allocations: 0 / 5.208 GB, free: 78.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213): time 0.003959/14.26, allocations: 2.2 MB / 5.21 GB, free: 78.12 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/14.26, allocations: 75.95 kB / 5.21 GB, free: 78.06 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/14.26, allocations: 0.969 MB / 5.211 GB, free: 77.91 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/14.26, allocations: 28.92 kB / 5.211 GB, free: 77.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009222/14.26, allocations: 1.11 MB / 5.212 GB, free: 77.37 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/14.26, allocations: 0.7037 MB / 5.213 GB, free: 76.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/14.26, allocations: 0 / 5.213 GB, free: 76.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001225/14.26, allocations: 385.3 kB / 5.213 GB, free: 76.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/14.26, allocations: 0.8689 MB / 5.214 GB, free: 76.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/14.26, allocations: 1.278 MB / 5.216 GB, free: 76.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/14.26, allocations: 1.099 MB / 5.217 GB, free: 76.12 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/14.27, allocations: 3.969 kB / 5.217 GB, free: 76.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00415/14.27, allocations: 2.432 MB / 5.219 GB, free: 75.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/14.27, allocations: 38.98 kB / 5.219 GB, free: 75.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/14.27, allocations: 10.58 kB / 5.219 GB, free: 75.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/14.27, allocations: 18.69 kB / 5.219 GB, free: 75.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/14.27, allocations: 467.4 kB / 5.219 GB, free: 75.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/14.27, allocations: 22.23 kB / 5.219 GB, free: 75.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/14.27, allocations: 299.9 kB / 5.22 GB, free: 75.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/14.27, allocations: 90.84 kB / 5.22 GB, free: 75.76 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.0003914/14.27, allocations: 150.8 kB / 5.22 GB, free: 75.62 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/14.28, allocations: 190.9 kB / 5.22 GB, free: 75.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/14.28, allocations: 2.395 MB / 5.223 GB, free: 75.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/14.28, allocations: 21 kB / 5.223 GB, free: 75.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/14.28, allocations: 2.75 kB / 5.223 GB, free: 75.39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002789/14.28, allocations: 2.247 MB / 5.225 GB, free: 74.99 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.008994/14.29, allocations: 5.509 MB / 5.23 GB, free: 73.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/14.29, allocations: 7.734 kB / 5.23 GB, free: 73.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/14.29, allocations: 482.5 kB / 5.231 GB, free: 73.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/14.29, allocations: 11.78 kB / 5.231 GB, free: 73.14 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/14.29, allocations: 40.69 kB / 5.231 GB, free: 73.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/14.29, allocations: 20.42 kB / 5.231 GB, free: 73.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/14.29, allocations: 3.375 kB / 5.231 GB, free: 73.13 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/14.3, allocations: 4.011 MB / 5.235 GB, free: 71.25 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/14.3, allocations: 0.5367 MB / 5.235 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/14.3, allocations: 11.7 kB / 5.235 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/14.3, allocations: 211.3 kB / 5.235 GB, free: 70.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/14.3, allocations: 145.9 kB / 5.235 GB, free: 70.87 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/14.3, allocations: 79.56 kB / 5.236 GB, free: 70.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009879/14.3, allocations: 0.7297 MB / 5.236 GB, free: 70.53 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/14.3, allocations: 0 / 5.236 GB, free: 70.53 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003344/14.31, allocations: 1.195 MB / 5.237 GB, free: 70.14 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.006562/14.31, allocations: 5.286 MB / 5.243 GB, free: 67.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00349/14.32, allocations: 2.241 MB / 5.245 GB, free: 66.77 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/14.32, allocations: 0 / 5.245 GB, free: 66.77 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/14.32, allocations: 1.173 MB / 5.246 GB, free: 66.34 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/14.32, allocations: 1.012 MB / 5.247 GB, free: 66.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/14.33, allocations: 4.824 MB / 5.252 GB, free: 64.16 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/14.33, allocations: 2.024 MB / 5.254 GB, free: 63.27 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003157/14.34, allocations: 0.7091 MB / 5.254 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/14.34, allocations: 209.9 kB / 5.254 GB, free: 63.14 MB / 0.9948 GB Notification: Performance of SimCode: time 1.172e-06/14.34, allocations: 0 / 5.254 GB, free: 63.14 MB / 0.9948 GB Notification: Performance of Templates: time 0.08783/14.43, allocations: 61.9 MB / 5.315 GB, free: 16.25 MB / 0.9948 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)