Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.547/2.547, allocations: 287.5 MB / 303.2 MB, free: 8.359 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.001236/0.001236, allocations: 170.7 kB / 371.8 MB, free: 10.82 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.011/2.011, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0009127/0.0009124, allocations: 91.86 kB / 0.7438 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 11.8 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.475/6.687, allocations: 2.136 GB / 3.116 GB, free: 177 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/6.687, allocations: 93.83 kB / 3.116 GB, free: 176.9 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 11.13/17.82, allocations: 2.094 GB / 5.21 GB, free: 87.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.615e-06/17.82, allocations: 0 / 5.21 GB, free: 87.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000313/17.82, allocations: 77.08 kB / 5.21 GB, free: 87.38 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.02105/17.84, allocations: 3.911 MB / 5.214 GB, free: 86.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/17.84, allocations: 12.53 kB / 5.214 GB, free: 86.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009372/17.85, allocations: 0.836 MB / 5.214 GB, free: 86.12 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00731/17.86, allocations: 2.002 MB / 5.216 GB, free: 85.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/17.86, allocations: 218 kB / 5.217 GB, free: 85.73 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/17.86, allocations: 282.3 kB / 5.217 GB, free: 85.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/17.87, allocations: 3.519 MB / 5.22 GB, free: 85.34 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/17.87, allocations: 15.19 kB / 5.22 GB, free: 85.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006417/17.88, allocations: 112.9 kB / 5.22 GB, free: 85.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/17.88, allocations: 127.8 kB / 5.221 GB, free: 85.33 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/17.89, allocations: 3.147 MB / 5.224 GB, free: 85.3 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.02676/17.91, allocations: 14.46 MB / 5.238 GB, free: 76.85 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005656/17.92, allocations: 2.285 MB / 5.24 GB, free: 76.44 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/17.92, allocations: 1.335 MB / 5.241 GB, free: 76.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/17.92, allocations: 1.384 MB / 5.243 GB, free: 74.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003422/17.93, allocations: 1.205 MB / 5.244 GB, free: 74.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 6.252e-06/17.93, allocations: 2.625 kB / 5.244 GB, free: 74.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.009765/17.94, allocations: 3.144 MB / 5.247 GB, free: 74.64 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/17.94, allocations: 76.19 kB / 5.247 GB, free: 74.58 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/17.94, allocations: 1.432 MB / 5.248 GB, free: 74.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0005796/17.94, allocations: 67.67 kB / 5.248 GB, free: 74.38 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/17.94, allocations: 1.107 MB / 5.25 GB, free: 74.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/17.94, allocations: 0.7385 MB / 5.25 GB, free: 73.57 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/17.94, allocations: 38.16 kB / 5.25 GB, free: 73.57 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002133/17.94, allocations: 386 kB / 5.251 GB, free: 73.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/17.95, allocations: 0.8961 MB / 5.252 GB, free: 73.26 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/17.95, allocations: 1.342 MB / 5.253 GB, free: 72.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005921/17.96, allocations: 2.297 MB / 5.255 GB, free: 72.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/17.96, allocations: 0 / 5.255 GB, free: 72.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007137/17.96, allocations: 2.575 MB / 5.258 GB, free: 72.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/17.96, allocations: 42.31 kB / 5.258 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/17.96, allocations: 6.344 kB / 5.258 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.403e-05/17.96, allocations: 21.69 kB / 5.258 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/17.97, allocations: 455.7 kB / 5.258 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.215e-05/17.97, allocations: 17.41 kB / 5.258 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/17.97, allocations: 367 kB / 5.258 GB, free: 72.15 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/17.97, allocations: 79.83 kB / 5.259 GB, free: 72.15 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.002338/17.98, allocations: 0.6852 MB / 5.259 GB, free: 72.03 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008607/17.98, allocations: 211.8 kB / 5.259 GB, free: 71.93 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00754/17.98, allocations: 2.52 MB / 5.262 GB, free: 71.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/17.98, allocations: 19.16 kB / 5.262 GB, free: 71.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/17.98, allocations: 0 / 5.262 GB, free: 71.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006115/17.99, allocations: 2.31 MB / 5.264 GB, free: 71.41 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/18.01, allocations: 5.561 MB / 5.27 GB, free: 70.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/18.01, allocations: 3.969 kB / 5.27 GB, free: 70.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004401/18.01, allocations: 471.8 kB / 5.27 GB, free: 70.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/18.01, allocations: 11.75 kB / 5.27 GB, free: 70.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/18.01, allocations: 61.72 kB / 5.27 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-05/18.01, allocations: 13.19 kB / 5.27 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/18.01, allocations: 3.938 kB / 5.27 GB, free: 70.78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009858/18.02, allocations: 3.954 MB / 5.274 GB, free: 70.36 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/18.02, allocations: 0.5385 MB / 5.274 GB, free: 70.14 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008279/18.02, allocations: 51.06 kB / 5.275 GB, free: 70.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/18.03, allocations: 240.8 kB / 5.275 GB, free: 70.12 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/18.03, allocations: 141.7 kB / 5.275 GB, free: 70.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/18.03, allocations: 72.98 kB / 5.275 GB, free: 70.12 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002064/18.03, allocations: 0.9652 MB / 5.276 GB, free: 70.01 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.71e-07/18.03, allocations: 0 / 5.276 GB, free: 70.01 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005496/18.04, allocations: 1.37 MB / 5.277 GB, free: 69.88 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.008836/18.05, allocations: 4.85 MB / 5.282 GB, free: 67.54 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00658/18.05, allocations: 2.323 MB / 5.284 GB, free: 67.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/18.05, allocations: 0 / 5.284 GB, free: 67.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003316/18.06, allocations: 1.198 MB / 5.285 GB, free: 67.42 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01542/18.07, allocations: 1.21 MB / 5.287 GB, free: 67.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/18.09, allocations: 6.994 MB / 5.293 GB, free: 64.68 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/18.09, allocations: 1.962 MB / 5.295 GB, free: 63.93 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005124/18.09, allocations: 0.7331 MB / 5.296 GB, free: 63.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/18.1, allocations: 200.6 kB / 5.296 GB, free: 63.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.483e-06/18.1, allocations: 0 / 5.296 GB, free: 63.9 MB / 1.01 GB Notification: Performance of Templates: time 0.2148/18.31, allocations: 90.93 MB / 5.385 GB, free: 58.98 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)