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.336/2.336, allocations: 248.5 MB / 261.1 MB, free: 5.977 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.002275/0.002275, allocations: 181.7 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001103/0.001103, allocations: 96.67 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.169e-05/4.178e-05, allocations: 0 / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 106.2 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.279/7.488, allocations: 2.258 GB / 3.149 GB, free: 76 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/7.488, allocations: 88.3 kB / 3.149 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.26/18.75, allocations: 2.036 GB / 5.185 GB, free: 76.33 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.216e-06/18.75, allocations: 0 / 5.185 GB, free: 76.33 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003578/18.75, allocations: 84.58 kB / 5.185 GB, free: 76.32 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.02209/18.77, allocations: 3.926 MB / 5.189 GB, free: 73.71 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/18.77, allocations: 7.688 kB / 5.189 GB, free: 73.71 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00235/18.78, allocations: 441.8 kB / 5.189 GB, free: 73.38 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00985/18.79, allocations: 0.8814 MB / 5.19 GB, free: 72.97 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009522/18.8, allocations: 2.329 MB / 5.192 GB, free: 71.43 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/18.8, allocations: 242.2 kB / 5.192 GB, free: 71.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/18.8, allocations: 329.8 kB / 5.193 GB, free: 71.21 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/18.81, allocations: 3.958 MB / 5.197 GB, free: 67.69 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000191/18.81, allocations: 7.938 kB / 5.197 GB, free: 67.68 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001398/18.81, allocations: 136 kB / 5.197 GB, free: 67.55 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/18.82, allocations: 138.1 kB / 5.197 GB, free: 67.41 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/18.83, allocations: 3.928 MB / 5.201 GB, free: 63.47 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.03367/18.86, allocations: 15.61 MB / 5.216 GB, free: 46.67 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008107/18.87, allocations: 3.103 MB / 5.219 GB, free: 43.57 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00468/18.88, allocations: 1.807 MB / 5.221 GB, free: 41.76 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002231/18.88, allocations: 1.596 MB / 5.222 GB, free: 39.83 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004948/18.88, allocations: 1.624 MB / 5.224 GB, free: 38.17 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 7.805e-06/18.88, allocations: 0 / 5.224 GB, free: 38.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.009901/18.89, allocations: 3 MB / 5.227 GB, free: 35.12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/18.89, allocations: 90.28 kB / 5.227 GB, free: 35.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/18.9, allocations: 1.334 MB / 5.228 GB, free: 33.69 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007735/18.9, allocations: 89.7 kB / 5.228 GB, free: 33.59 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/18.9, allocations: 1.163 MB / 5.229 GB, free: 32.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/18.9, allocations: 1.02 MB / 5.23 GB, free: 31.38 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/18.9, allocations: 56 kB / 5.23 GB, free: 31.32 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003014/18.9, allocations: 415.9 kB / 5.231 GB, free: 30.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003406/18.9, allocations: 1.204 MB / 5.232 GB, free: 29.71 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003997/18.91, allocations: 1.668 MB / 5.234 GB, free: 27.88 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/18.91, allocations: 1.492 MB / 5.235 GB, free: 26.36 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/18.91, allocations: 4 kB / 5.235 GB, free: 26.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.009717/18.92, allocations: 3.363 MB / 5.238 GB, free: 22.95 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/18.92, allocations: 46.89 kB / 5.238 GB, free: 22.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/18.92, allocations: 8 kB / 5.238 GB, free: 22.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-05/18.92, allocations: 24 kB / 5.238 GB, free: 22.87 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005349/18.93, allocations: 0.5773 MB / 5.239 GB, free: 22.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.1e-05/18.93, allocations: 27.92 kB / 5.239 GB, free: 22.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/18.93, allocations: 417.3 kB / 5.239 GB, free: 21.85 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007598/18.93, allocations: 108 kB / 5.24 GB, free: 21.75 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.0008308/18.93, allocations: 268.3 kB / 5.24 GB, free: 21.48 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009287/18.94, allocations: 249 kB / 5.24 GB, free: 21.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009374/18.94, allocations: 3.341 MB / 5.243 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/18.94, allocations: 32 kB / 5.243 GB, free: 17.81 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/18.94, allocations: 0 / 5.243 GB, free: 17.81 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007429/18.95, allocations: 2.989 MB / 5.246 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/18.97, allocations: 7.01 MB / 5.253 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/18.97, allocations: 4 kB / 5.253 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005848/18.98, allocations: 0.5933 MB / 5.254 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-05/18.98, allocations: 15.98 kB / 5.254 GB, free: 6.922 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006705/18.98, allocations: 71.97 kB / 5.254 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.276e-05/18.98, allocations: 12 kB / 5.254 GB, free: 6.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/18.98, allocations: 7.938 kB / 5.254 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/18.99, allocations: 5.362 MB / 5.259 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/19, allocations: 0.6809 MB / 5.26 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000879/19, allocations: 63.89 kB / 5.26 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005023/19, allocations: 259.5 kB / 5.26 GB, free: 280 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/19, allocations: 182 kB / 5.26 GB, free: 96 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004208/19, allocations: 95.95 kB / 5.26 GB, free: 0 / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002946/19.01, allocations: 1.036 MB / 5.261 GB, free: 14.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.62e-07/19.01, allocations: 3.938 kB / 5.261 GB, free: 14.97 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007615/19.01, allocations: 1.521 MB / 5.263 GB, free: 13.45 MB / 0.948 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.027/19.04, allocations: 11.31 MB / 5.274 GB, free: 1.633 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009881/19.05, allocations: 3.076 MB / 5.277 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/19.05, allocations: 128 / 5.277 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00507/19.06, allocations: 1.614 MB / 5.278 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/19.07, allocations: 1.265 MB / 5.28 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/19.09, allocations: 6.689 MB / 5.286 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004756/19.1, allocations: 2.195 MB / 5.288 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007479/19.11, allocations: 0.9914 MB / 5.289 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004149/19.11, allocations: 1.249 MB / 5.29 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of SimCode: time 1.322e-06/19.11, allocations: 0 / 5.29 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.269/20.38, allocations: 143.7 MB / 5.431 GB, free: 118 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/20.38, allocations: 191.9 kB / 5.431 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/30.73, allocations: 0 / 5.431 GB, free: 117.8 MB / 0.9636 GB