Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.158/2.158, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001513/0.001513, allocations: 185 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 82.53 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.162e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.238/7.443, allocations: 2.258 GB / 3.143 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/7.443, allocations: 91.75 kB / 3.143 GB, free: 111 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.68/19.12, allocations: 2.014 GB / 5.156 GB, free: 77.05 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.914e-06/19.12, allocations: 0 / 5.156 GB, free: 77.05 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003633/19.12, allocations: 81 kB / 5.156 GB, free: 77.05 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.02266/19.14, allocations: 3.923 MB / 5.16 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/19.14, allocations: 9.719 kB / 5.16 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009857/19.15, allocations: 0.8846 MB / 5.161 GB, free: 75.25 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/19.16, allocations: 2.314 MB / 5.163 GB, free: 74.74 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/19.16, allocations: 110.4 kB / 5.163 GB, free: 74.73 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/19.17, allocations: 193.2 kB / 5.164 GB, free: 74.73 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01242/19.18, allocations: 3.556 MB / 5.167 GB, free: 74.71 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/19.19, allocations: 3.513 MB / 5.17 GB, free: 74.32 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002414/19.19, allocations: 10.88 kB / 5.17 GB, free: 74.32 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/19.19, allocations: 7.656 kB / 5.17 GB, free: 74.32 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/19.19, allocations: 139.5 kB / 5.171 GB, free: 74.31 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.03456/19.23, allocations: 15.25 MB / 5.186 GB, free: 65.62 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00845/19.24, allocations: 3.404 MB / 5.189 GB, free: 65.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004949/19.24, allocations: 1.751 MB / 5.191 GB, free: 65.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002343/19.24, allocations: 1.607 MB / 5.192 GB, free: 63.45 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005251/19.25, allocations: 1.61 MB / 5.194 GB, free: 63.34 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 9.237e-06/19.25, allocations: 0 / 5.194 GB, free: 63.34 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.01221/19.26, allocations: 3.119 MB / 5.197 GB, free: 63.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/19.26, allocations: 83.5 kB / 5.197 GB, free: 63.04 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/19.26, allocations: 1.06 MB / 5.198 GB, free: 62.88 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008952/19.27, allocations: 32.05 kB / 5.198 GB, free: 62.85 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/19.27, allocations: 1.162 MB / 5.199 GB, free: 62.32 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001943/19.27, allocations: 0.9804 MB / 5.2 GB, free: 61.66 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/19.27, allocations: 0 / 5.2 GB, free: 61.66 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000367/19.27, allocations: 424.7 kB / 5.2 GB, free: 61.35 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/19.27, allocations: 1.2 MB / 5.202 GB, free: 61.34 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004306/19.28, allocations: 1.648 MB / 5.203 GB, free: 60.91 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006132/19.28, allocations: 1.632 MB / 5.205 GB, free: 60.86 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/19.28, allocations: 3.938 kB / 5.205 GB, free: 60.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01311/19.3, allocations: 3.399 MB / 5.208 GB, free: 60.59 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/19.3, allocations: 38.5 kB / 5.208 GB, free: 60.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/19.3, allocations: 13.97 kB / 5.208 GB, free: 60.55 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.686e-05/19.3, allocations: 25.2 kB / 5.208 GB, free: 60.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005872/19.3, allocations: 0.601 MB / 5.209 GB, free: 60.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.03e-05/19.3, allocations: 23.5 kB / 5.209 GB, free: 60.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/19.31, allocations: 343.2 kB / 5.209 GB, free: 60.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/19.31, allocations: 110.5 kB / 5.209 GB, free: 60.4 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.0008856/19.31, allocations: 157.7 kB / 5.209 GB, free: 60.25 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01101/19.32, allocations: 3.086 MB / 5.212 GB, free: 60.01 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/19.32, allocations: 239 kB / 5.213 GB, free: 59.89 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/19.34, allocations: 3.378 MB / 5.216 GB, free: 59.49 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/19.34, allocations: 32.91 kB / 5.216 GB, free: 59.49 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/19.34, allocations: 0 / 5.216 GB, free: 59.49 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01027/19.35, allocations: 3.084 MB / 5.219 GB, free: 58.2 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.02413/19.37, allocations: 6.951 MB / 5.226 GB, free: 55.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/19.37, allocations: 3.938 kB / 5.226 GB, free: 55.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006298/19.38, allocations: 0.605 MB / 5.226 GB, free: 55.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.479e-05/19.38, allocations: 16.92 kB / 5.226 GB, free: 55.23 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007993/19.38, allocations: 46.77 kB / 5.226 GB, free: 55.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-05/19.38, allocations: 17.31 kB / 5.226 GB, free: 55.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/19.38, allocations: 0 / 5.226 GB, free: 55.22 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/19.39, allocations: 5.487 MB / 5.232 GB, free: 52.77 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003387/19.4, allocations: 0.6675 MB / 5.232 GB, free: 52.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/19.4, allocations: 6.5 kB / 5.232 GB, free: 52.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005458/19.4, allocations: 228.3 kB / 5.233 GB, free: 52.35 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/19.41, allocations: 189.8 kB / 5.233 GB, free: 52.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005933/19.41, allocations: 102.4 kB / 5.233 GB, free: 52.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001894/19.41, allocations: 0.8003 MB / 5.234 GB, free: 51.95 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.61e-07/19.41, allocations: 0 / 5.234 GB, free: 51.95 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006455/19.41, allocations: 1.314 MB / 5.235 GB, free: 51.57 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.0261/19.44, allocations: 11.85 MB / 5.247 GB, free: 43.77 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008255/19.45, allocations: 3.075 MB / 5.25 GB, free: 40.91 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/19.45, allocations: 2.688 kB / 5.25 GB, free: 40.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/19.45, allocations: 1.606 MB / 5.251 GB, free: 39.43 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/19.46, allocations: 1.072 MB / 5.252 GB, free: 38.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/19.49, allocations: 6.494 MB / 5.258 GB, free: 33.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/19.49, allocations: 2.195 MB / 5.261 GB, free: 31.49 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007204/19.5, allocations: 0.9836 MB / 5.262 GB, free: 30.79 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003741/19.5, allocations: 1.253 MB / 5.263 GB, free: 29.64 MB / 0.9323 GB Notification: Performance of SimCode: time 1.974e-06/19.5, allocations: 0 / 5.263 GB, free: 29.64 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/20.56, allocations: 97.59 MB / 5.358 GB, free: 105.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003121/20.56, allocations: 175.4 kB / 5.358 GB, free: 105.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/27.7, allocations: 0 / 5.358 GB, free: 105.4 MB / 0.948 GB