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.646/1.646, allocations: 288.4 MB / 304.3 MB, free: 8.043 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.001166/0.001166, allocations: 183.1 kB / 373 MB, free: 10.15 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.699/1.699, allocations: 205.4 MB / 0.6317 GB, free: 9.91 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.0008919/0.0008919, allocations: 86.31 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 14.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.794/5.055, allocations: 2.137 GB / 3.117 GB, free: 172.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/5.056, allocations: 91.95 kB / 3.117 GB, free: 172.6 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.796/12.85, allocations: 2.095 GB / 5.212 GB, free: 88.46 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.785e-06/12.85, allocations: 0 / 5.212 GB, free: 88.46 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001821/12.85, allocations: 69.34 kB / 5.212 GB, free: 88.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.01586/12.87, allocations: 3.925 MB / 5.216 GB, free: 87.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/12.87, allocations: 10.05 kB / 5.216 GB, free: 87.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007042/12.87, allocations: 0.8392 MB / 5.217 GB, free: 87.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00562/12.88, allocations: 2.086 MB / 5.219 GB, free: 86.82 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/12.88, allocations: 210.6 kB / 5.219 GB, free: 86.81 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005225/12.88, allocations: 294.6 kB / 5.219 GB, free: 86.81 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006304/12.89, allocations: 3.527 MB / 5.223 GB, free: 86.41 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.689e-05/12.89, allocations: 7.594 kB / 5.223 GB, free: 86.41 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/12.89, allocations: 116.3 kB / 5.223 GB, free: 86.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/12.89, allocations: 132.5 kB / 5.223 GB, free: 86.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00557/12.89, allocations: 3.153 MB / 5.226 GB, free: 86.37 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.0179/12.91, allocations: 14.47 MB / 5.24 GB, free: 77.94 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/12.91, allocations: 2.301 MB / 5.242 GB, free: 77.51 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/12.92, allocations: 1.346 MB / 5.244 GB, free: 77.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/12.92, allocations: 1.39 MB / 5.245 GB, free: 76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/12.92, allocations: 1.227 MB / 5.246 GB, free: 75.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=216): time 5.29e-06/12.92, allocations: 0 / 5.246 GB, free: 75.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=216): time 0.0059/12.93, allocations: 3.173 MB / 5.249 GB, free: 75.72 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/12.93, allocations: 73.28 kB / 5.249 GB, free: 75.66 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/12.93, allocations: 1.426 MB / 5.251 GB, free: 75.49 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000354/12.93, allocations: 74.27 kB / 5.251 GB, free: 75.46 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/12.93, allocations: 1.104 MB / 5.252 GB, free: 75.11 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/12.93, allocations: 0.742 MB / 5.253 GB, free: 74.63 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/12.93, allocations: 45.22 kB / 5.253 GB, free: 74.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002063/12.93, allocations: 390 kB / 5.253 GB, free: 74.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/12.93, allocations: 0.9067 MB / 5.254 GB, free: 74.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/12.94, allocations: 1.342 MB / 5.255 GB, free: 73.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/12.94, allocations: 2.312 MB / 5.258 GB, free: 73.56 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/12.94, allocations: 2.875 kB / 5.258 GB, free: 73.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004655/12.94, allocations: 2.601 MB / 5.26 GB, free: 73.35 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/12.94, allocations: 40.77 kB / 5.26 GB, free: 73.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/12.94, allocations: 10.56 kB / 5.26 GB, free: 73.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.519e-05/12.94, allocations: 16.34 kB / 5.26 GB, free: 73.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/12.95, allocations: 460.2 kB / 5.261 GB, free: 73.31 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/12.95, allocations: 20.98 kB / 5.261 GB, free: 73.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/12.95, allocations: 371.9 kB / 5.261 GB, free: 73.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/12.95, allocations: 80.69 kB / 5.261 GB, free: 73.21 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 260 * 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.001779/12.95, allocations: 0.691 MB / 5.262 GB, free: 73.09 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005657/12.95, allocations: 216.8 kB / 5.262 GB, free: 72.98 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/12.96, allocations: 2.517 MB / 5.264 GB, free: 72.87 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/12.96, allocations: 25.94 kB / 5.264 GB, free: 72.87 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/12.96, allocations: 2.156 kB / 5.264 GB, free: 72.87 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003046/12.96, allocations: 2.333 MB / 5.267 GB, free: 72.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/12.97, allocations: 5.599 MB / 5.272 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/12.97, allocations: 10.31 kB / 5.272 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/12.97, allocations: 478 kB / 5.273 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.944e-05/12.97, allocations: 11.03 kB / 5.273 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/12.97, allocations: 59.75 kB / 5.273 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.463e-05/12.97, allocations: 12.09 kB / 5.273 GB, free: 71.84 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/12.97, allocations: 11.02 kB / 5.273 GB, free: 71.84 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006271/12.98, allocations: 3.974 MB / 5.277 GB, free: 71.44 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/12.98, allocations: 0.5498 MB / 5.277 GB, free: 71.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006996/12.98, allocations: 47.67 kB / 5.277 GB, free: 71.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/12.99, allocations: 247.9 kB / 5.277 GB, free: 71.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/12.99, allocations: 138.5 kB / 5.278 GB, free: 71.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/12.99, allocations: 72.02 kB / 5.278 GB, free: 71.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001915/12.99, allocations: 0.972 MB / 5.279 GB, free: 71.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.1e-07/12.99, allocations: 1.594 kB / 5.279 GB, free: 71.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004916/12.99, allocations: 1.383 MB / 5.28 GB, free: 70.94 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 (220): * Single equations (assignments): 218 * 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.007662/13, allocations: 4.86 MB / 5.285 GB, free: 68.61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004677/13, allocations: 2.344 MB / 5.287 GB, free: 68.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/13, allocations: 0 / 5.287 GB, free: 68.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/13.01, allocations: 1.212 MB / 5.288 GB, free: 68.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009332/13.02, allocations: 1.228 MB / 5.289 GB, free: 68.46 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/13.03, allocations: 7.044 MB / 5.296 GB, free: 65.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/13.03, allocations: 1.971 MB / 5.298 GB, free: 64.99 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004268/13.04, allocations: 0.7316 MB / 5.299 GB, free: 64.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/13.04, allocations: 217.8 kB / 5.299 GB, free: 64.96 MB / 1.01 GB Notification: Performance of SimCode: time 9.42e-07/13.04, allocations: 0 / 5.299 GB, free: 64.96 MB / 1.01 GB Notification: Performance of Templates: time 0.1253/13.16, allocations: 92.5 MB / 5.389 GB, free: 59.88 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)