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 2.026/2.026, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.00157/0.001571, allocations: 186.4 kB / 371.8 MB, free: 10.28 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.431/2.431, allocations: 205.4 MB / 0.6306 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 93.81 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004465, allocations: 11.28 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.345/6.659, allocations: 2.136 GB / 3.116 GB, free: 130.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/6.66, allocations: 90.89 kB / 3.116 GB, free: 130.4 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.863/16.52, allocations: 2.099 GB / 5.215 GB, free: 91.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 5.3e-06/16.52, allocations: 0 / 5.215 GB, free: 91.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003238/16.52, allocations: 76.09 kB / 5.215 GB, free: 91.91 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.02026/16.54, allocations: 3.946 MB / 5.219 GB, free: 90.55 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/16.54, allocations: 9.312 kB / 5.219 GB, free: 90.55 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00787/16.55, allocations: 0.836 MB / 5.22 GB, free: 90.38 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007874/16.56, allocations: 2.17 MB / 5.222 GB, free: 90.05 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/16.56, allocations: 212.9 kB / 5.222 GB, free: 90.05 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009669/16.56, allocations: 290.2 kB / 5.223 GB, free: 90.04 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00726/16.57, allocations: 3.494 MB / 5.226 GB, free: 89.65 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/16.57, allocations: 7.844 kB / 5.226 GB, free: 89.65 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/16.57, allocations: 113.6 kB / 5.226 GB, free: 89.65 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/16.57, allocations: 131.7 kB / 5.226 GB, free: 89.64 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008057/16.58, allocations: 3.141 MB / 5.229 GB, free: 89.61 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.02413/16.6, allocations: 14.45 MB / 5.243 GB, free: 81.12 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/16.61, allocations: 2.295 MB / 5.246 GB, free: 80.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/16.61, allocations: 1.384 MB / 5.247 GB, free: 79.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002276/16.61, allocations: 1.199 MB / 5.248 GB, free: 79.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 6.472e-06/16.61, allocations: 0 / 5.248 GB, free: 79.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.006677/16.62, allocations: 3.142 MB / 5.251 GB, free: 78.93 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/16.62, allocations: 74.72 kB / 5.251 GB, free: 78.87 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/16.62, allocations: 1.252 MB / 5.253 GB, free: 78.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/16.62, allocations: 67.89 kB / 5.253 GB, free: 78.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/16.62, allocations: 1.112 MB / 5.254 GB, free: 78.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008734/16.62, allocations: 0.7343 MB / 5.254 GB, free: 77.74 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/16.62, allocations: 44.16 kB / 5.254 GB, free: 77.74 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001487/16.62, allocations: 379.2 kB / 5.255 GB, free: 77.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/16.62, allocations: 0.9068 MB / 5.256 GB, free: 77.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/16.62, allocations: 1.321 MB / 5.257 GB, free: 76.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/16.63, allocations: 1.121 MB / 5.258 GB, free: 76.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/16.63, allocations: 3.188 kB / 5.258 GB, free: 76.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004615/16.63, allocations: 2.575 MB / 5.261 GB, free: 76.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/16.63, allocations: 37.89 kB / 5.261 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/16.63, allocations: 7.312 kB / 5.261 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.347e-05/16.63, allocations: 28.52 kB / 5.261 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/16.63, allocations: 451.9 kB / 5.261 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.44e-05/16.63, allocations: 21.97 kB / 5.261 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/16.64, allocations: 369.4 kB / 5.262 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/16.64, allocations: 80.5 kB / 5.262 GB, free: 76.59 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.002156/16.64, allocations: 0.6796 MB / 5.262 GB, free: 76.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008197/16.64, allocations: 216 kB / 5.262 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/16.64, allocations: 2.5 MB / 5.265 GB, free: 76.24 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/16.64, allocations: 26.14 kB / 5.265 GB, free: 76.23 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/16.64, allocations: 0 / 5.265 GB, free: 76.23 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003275/16.65, allocations: 2.307 MB / 5.267 GB, free: 75.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/16.66, allocations: 5.567 MB / 5.273 GB, free: 75.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/16.66, allocations: 2.688 kB / 5.273 GB, free: 75.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/16.66, allocations: 469.7 kB / 5.273 GB, free: 75.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/16.66, allocations: 11.06 kB / 5.273 GB, free: 75.22 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/16.66, allocations: 56.23 kB / 5.273 GB, free: 75.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/16.66, allocations: 11 kB / 5.273 GB, free: 75.22 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/16.66, allocations: 6.562 kB / 5.273 GB, free: 75.22 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005926/16.67, allocations: 4.111 MB / 5.277 GB, free: 74.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/16.67, allocations: 0.5374 MB / 5.278 GB, free: 74.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004935/16.67, allocations: 46.05 kB / 5.278 GB, free: 74.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/16.67, allocations: 244.4 kB / 5.278 GB, free: 74.36 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/16.67, allocations: 144.8 kB / 5.278 GB, free: 74.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/16.67, allocations: 75.02 kB / 5.278 GB, free: 74.35 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001431/16.67, allocations: 0.9686 MB / 5.279 GB, free: 74.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.8e-07/16.67, allocations: 1.969 kB / 5.279 GB, free: 74.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004696/16.68, allocations: 1.366 MB / 5.28 GB, free: 74.11 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.007234/16.69, allocations: 4.844 MB / 5.285 GB, free: 71.72 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004191/16.69, allocations: 2.316 MB / 5.287 GB, free: 71.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/16.69, allocations: 4.375 kB / 5.287 GB, free: 71.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/16.69, allocations: 1.2 MB / 5.289 GB, free: 71.61 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005985/16.7, allocations: 1.203 MB / 5.29 GB, free: 71.57 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/16.71, allocations: 6.98 MB / 5.297 GB, free: 68.86 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/16.71, allocations: 2.017 MB / 5.299 GB, free: 68.11 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003499/16.71, allocations: 0.7239 MB / 5.299 GB, free: 68.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/16.72, allocations: 204.9 kB / 5.299 GB, free: 68.08 MB / 1.01 GB Notification: Performance of SimCode: time 1.433e-06/16.72, allocations: 0 / 5.299 GB, free: 68.08 MB / 1.01 GB Notification: Performance of Templates: time 0.128/16.84, allocations: 90.83 MB / 5.388 GB, free: 62.38 MB / 1.01 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)