Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 180.8 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009431/0.0009434, allocations: 94.23 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.818e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1771, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.059/5.236, allocations: 2.259 GB / 3.144 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/5.237, allocations: 93.28 kB / 3.144 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.475/12.71, allocations: 2.014 GB / 5.158 GB, free: 72.93 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.525e-06/12.71, allocations: 0 / 5.158 GB, free: 72.93 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003816/12.71, allocations: 92.52 kB / 5.158 GB, free: 72.91 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01585/12.73, allocations: 3.927 MB / 5.162 GB, free: 71.45 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/12.73, allocations: 10.84 kB / 5.162 GB, free: 71.45 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007014/12.74, allocations: 0.8702 MB / 5.162 GB, free: 71.26 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006885/12.74, allocations: 2.329 MB / 5.165 GB, free: 70.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/12.74, allocations: 102.5 kB / 5.165 GB, free: 70.77 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/12.74, allocations: 191.4 kB / 5.165 GB, free: 70.77 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008251/12.75, allocations: 3.565 MB / 5.168 GB, free: 70.75 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007375/12.76, allocations: 3.514 MB / 5.172 GB, free: 70.37 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.399e-05/12.76, allocations: 8.812 kB / 5.172 GB, free: 70.37 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/12.76, allocations: 3.438 kB / 5.172 GB, free: 70.37 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/12.76, allocations: 147 kB / 5.172 GB, free: 70.36 MB / 0.9323 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.01804/12.78, allocations: 15.25 MB / 5.187 GB, free: 61.83 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/12.78, allocations: 3.408 MB / 5.19 GB, free: 61.38 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/12.78, allocations: 1.746 MB / 5.192 GB, free: 61.34 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/12.79, allocations: 1.6 MB / 5.193 GB, free: 59.65 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002139/12.79, allocations: 1.596 MB / 5.195 GB, free: 59.55 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 4.608e-06/12.79, allocations: 1.969 kB / 5.195 GB, free: 59.55 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.005717/12.79, allocations: 3.127 MB / 5.198 GB, free: 59.31 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/12.79, allocations: 85.83 kB / 5.198 GB, free: 59.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/12.8, allocations: 1.063 MB / 5.199 GB, free: 59.09 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/12.8, allocations: 28.98 kB / 5.199 GB, free: 59.05 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/12.8, allocations: 1.168 MB / 5.2 GB, free: 58.53 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007729/12.8, allocations: 0.9811 MB / 5.201 GB, free: 57.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/12.8, allocations: 0 / 5.201 GB, free: 57.87 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001313/12.8, allocations: 421.2 kB / 5.202 GB, free: 57.56 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/12.8, allocations: 1.205 MB / 5.203 GB, free: 57.55 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/12.8, allocations: 1.643 MB / 5.205 GB, free: 57.13 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/12.8, allocations: 1.629 MB / 5.206 GB, free: 57.09 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/12.8, allocations: 2.812 kB / 5.206 GB, free: 57.09 MB / 0.9323 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005637/12.81, allocations: 3.399 MB / 5.209 GB, free: 56.85 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/12.81, allocations: 36.48 kB / 5.209 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/12.81, allocations: 11.62 kB / 5.209 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/12.81, allocations: 23.28 kB / 5.21 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/12.81, allocations: 0.6021 MB / 5.21 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/12.81, allocations: 24.77 kB / 5.21 GB, free: 56.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/12.82, allocations: 345.1 kB / 5.21 GB, free: 56.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/12.82, allocations: 107 kB / 5.211 GB, free: 56.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (351): * Single equations (assignments): 350 * 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.0004906/12.82, allocations: 166.7 kB / 5.211 GB, free: 56.56 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005572/12.82, allocations: 3.081 MB / 5.214 GB, free: 56.33 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/12.82, allocations: 233.8 kB / 5.214 GB, free: 56.21 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/12.83, allocations: 3.388 MB / 5.217 GB, free: 56.02 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/12.83, allocations: 28.31 kB / 5.217 GB, free: 56.02 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/12.83, allocations: 3.062 kB / 5.217 GB, free: 56.02 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004669/12.83, allocations: 3.091 MB / 5.22 GB, free: 55.58 MB / 0.9323 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.01552/12.85, allocations: 6.937 MB / 5.227 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/12.85, allocations: 3.953 kB / 5.227 GB, free: 54.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/12.85, allocations: 0.6106 MB / 5.228 GB, free: 54.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.785e-05/12.85, allocations: 17.34 kB / 5.228 GB, free: 54.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003912/12.85, allocations: 44.89 kB / 5.228 GB, free: 54.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.609e-05/12.85, allocations: 10.09 kB / 5.228 GB, free: 54.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/12.85, allocations: 3.156 kB / 5.228 GB, free: 54.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008318/12.86, allocations: 5.492 MB / 5.233 GB, free: 53.96 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/12.86, allocations: 0.6676 MB / 5.234 GB, free: 53.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007652/12.86, allocations: 14.48 kB / 5.234 GB, free: 53.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/12.87, allocations: 220.5 kB / 5.234 GB, free: 53.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/12.87, allocations: 186.6 kB / 5.234 GB, free: 53.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/12.87, allocations: 100.8 kB / 5.234 GB, free: 53.69 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001575/12.87, allocations: 0.8052 MB / 5.235 GB, free: 53.35 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/12.87, allocations: 2.75 kB / 5.235 GB, free: 53.35 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005077/12.87, allocations: 1.318 MB / 5.236 GB, free: 52.96 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,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 (301): * Single equations (assignments): 299 * 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.01714/12.89, allocations: 11.85 MB / 5.248 GB, free: 47 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006776/12.9, allocations: 3.071 MB / 5.251 GB, free: 45.84 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/12.9, allocations: 7.969 kB / 5.251 GB, free: 45.84 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/12.9, allocations: 1.612 MB / 5.252 GB, free: 45.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006769/12.91, allocations: 1.065 MB / 5.254 GB, free: 45.05 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/12.93, allocations: 6.488 MB / 5.26 GB, free: 42.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/12.93, allocations: 2.191 MB / 5.262 GB, free: 41.77 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004906/12.93, allocations: 0.9924 MB / 5.263 GB, free: 41.64 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002637/12.94, allocations: 1.251 MB / 5.264 GB, free: 40.69 MB / 0.9323 GB Notification: Performance of SimCode: time 1.212e-06/12.94, allocations: 0 / 5.264 GB, free: 40.69 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7645/13.7, allocations: 97.61 MB / 5.36 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/13.7, allocations: 178.9 kB / 5.36 GB, free: 120 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.121/18.82, allocations: 0 / 5.36 GB, free: 120 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)