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.495/1.495, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 183.2 kB / 326.6 MB, free: 2.223 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.028/2.028, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0009458/0.0009459, allocations: 99.55 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003923, allocations: 8.906 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.265, allocations: 106.4 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.9199/1.185, allocations: 269.6 MB / 1.164 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03028/1.215, allocations: 19.69 MB / 1.183 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005616/1.221, allocations: 60.22 kB / 1.183 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005972/1.227, allocations: 1.204 MB / 1.184 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01933/1.246, allocations: 4.455 MB / 1.188 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009639/1.256, allocations: 2.134 MB / 1.19 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01436/1.27, allocations: 9.641 MB / 1.2 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006193/1.277, allocations: 2.425 MB / 1.202 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/1.284, allocations: 2.552 MB / 1.205 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007032/1.291, allocations: 2.866 MB / 1.208 GB, free: 8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/1.293, allocations: 192 kB / 1.208 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/1.306, allocations: 2.903 MB / 1.211 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003812/1.31, allocations: 1.484 MB / 1.212 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003424/1.313, allocations: 0.7499 MB / 1.213 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/1.326, allocations: 5.009 MB / 1.218 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/1.326, allocations: 4 kB / 1.218 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.445e-06/1.326, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003181/1.326, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.7448 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.01395/1.34, allocations: 3.907 MB / 1.221 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/1.34, allocations: 12.03 kB / 1.221 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001781/1.342, allocations: 446.7 kB / 1.222 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006872/1.349, allocations: 0.8816 MB / 1.223 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007092/1.356, allocations: 1.988 MB / 1.225 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004072/1.357, allocations: 242.2 kB / 1.225 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/1.359, allocations: 319.9 kB / 1.225 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/1.373, allocations: 4.137 MB / 1.229 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/1.374, allocations: 4 kB / 1.229 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/1.375, allocations: 136 kB / 1.229 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/1.375, allocations: 166 kB / 1.23 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/1.386, allocations: 4.189 MB / 1.234 GB, free: 12.96 MB / 0.7605 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.02867/1.415, allocations: 15.33 MB / 1.249 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007271/1.422, allocations: 3.498 MB / 1.252 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/1.426, allocations: 1.885 MB / 1.254 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/1.428, allocations: 1.608 MB / 1.255 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003808/1.432, allocations: 1.702 MB / 1.257 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=304): time 7.123e-06/1.432, allocations: 0 / 1.257 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of matching and sorting (n=304): time 0.009853/1.442, allocations: 4.386 MB / 1.261 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/1.442, allocations: 85.75 kB / 1.261 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/1.445, allocations: 1.546 MB / 1.263 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/1.445, allocations: 85.7 kB / 1.263 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/1.447, allocations: 1.156 MB / 1.264 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.448, allocations: 1.032 MB / 1.265 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/1.449, allocations: 56 kB / 1.265 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002916/1.449, allocations: 415.7 kB / 1.266 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/1.451, allocations: 1.263 MB / 1.267 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/1.455, allocations: 1.689 MB / 1.269 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/1.458, allocations: 1.544 MB / 1.27 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-05/1.458, allocations: 4 kB / 1.27 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.007312/1.465, allocations: 3.488 MB / 1.273 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/1.466, allocations: 41.72 kB / 1.274 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/1.466, allocations: 8 kB / 1.274 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-05/1.466, allocations: 24 kB / 1.274 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/1.468, allocations: 0.6046 MB / 1.274 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.963e-05/1.468, allocations: 31.92 kB / 1.274 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/1.472, allocations: 425.7 kB / 1.275 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/1.472, allocations: 108 kB / 1.275 GB, free: 1.023 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (354): * Single equations (assignments): 353 * 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.002067/1.474, allocations: 0.7821 MB / 1.275 GB, free: 236 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.476, allocations: 249.3 kB / 1.276 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007137/1.483, allocations: 3.497 MB / 1.279 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.483, allocations: 28 kB / 1.279 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.483, allocations: 0 / 1.279 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005213/1.488, allocations: 3.106 MB / 1.282 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.503, allocations: 7.162 MB / 1.289 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.503, allocations: 8 kB / 1.289 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.506, allocations: 0.6284 MB / 1.29 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-05/1.506, allocations: 15.98 kB / 1.29 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/1.506, allocations: 67.98 kB / 1.29 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.887e-05/1.507, allocations: 12 kB / 1.29 GB, free: 1.141 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.507, allocations: 7.984 kB / 1.29 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009487/1.516, allocations: 5.419 MB / 1.295 GB, free: 11.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.518, allocations: 0.677 MB / 1.296 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007416/1.519, allocations: 64 kB / 1.296 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003157/1.522, allocations: 270.9 kB / 1.296 GB, free: 10.58 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/1.523, allocations: 205.9 kB / 1.296 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/1.523, allocations: 95.91 kB / 1.296 GB, free: 10.28 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002337/1.525, allocations: 1.051 MB / 1.297 GB, free: 9.238 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.525, allocations: 0 / 1.297 GB, free: 9.238 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003969/1.529, allocations: 1.099 MB / 1.299 GB, free: 8.137 MB / 0.823 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 302 * 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.01085/1.54, allocations: 6.299 MB / 1.305 GB, free: 1.727 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006134/1.546, allocations: 3.215 MB / 1.308 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.546, allocations: 3.938 kB / 1.308 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002928/1.549, allocations: 1.697 MB / 1.309 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008349/1.558, allocations: 1.324 MB / 1.311 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04576/1.604, allocations: 19.96 MB / 1.33 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/1.607, allocations: 2.133 MB / 1.332 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005274/1.612, allocations: 0.9976 MB / 1.333 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002657/1.615, allocations: 1.241 MB / 1.335 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/1.615, allocations: 0 / 1.335 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6509/2.266, allocations: 74.82 MB / 1.408 GB, free: 352.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/2.266, allocations: 232.6 kB / 1.408 GB, free: 352.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.127/7.393, allocations: 0 / 1.408 GB, free: 352.1 MB / 0.9167 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)