Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 1.415/1.415, allocations: 287.4 MB / 302.6 MB, free: 8.133 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.0008816/0.0008816, allocations: 174.7 kB / 371.1 MB, free: 10.73 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.163/1.163, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0007725/0.0007729, allocations: 96.78 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003183, allocations: 11.72 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1483, allocations: 115.3 MB / 0.9787 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5378/0.6861, allocations: 268.8 MB / 1.241 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.7104, allocations: 21.4 MB / 1.262 GB, free: 9.484 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.7133, allocations: 55.69 kB / 1.262 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.7165, allocations: 1.173 MB / 1.263 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.7277, allocations: 4.406 MB / 1.268 GB, free: 3.824 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005511/0.7332, allocations: 2.082 MB / 1.27 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008773/0.742, allocations: 8.964 MB / 1.278 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.745, allocations: 2.38 MB / 1.281 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.7485, allocations: 2.362 MB / 1.283 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.7515, allocations: 2.612 MB / 1.286 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.7519, allocations: 168 kB / 1.286 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007304/0.7592, allocations: 3.133 MB / 1.289 GB, free: 14.04 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.7606, allocations: 1.282 MB / 1.29 GB, free: 12.75 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.7617, allocations: 0.6759 MB / 1.291 GB, free: 12.07 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005895/0.7676, allocations: 4.653 MB / 1.295 GB, free: 7.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7676, allocations: 4 kB / 1.295 GB, free: 7.402 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7677, allocations: 0 / 1.295 GB, free: 7.402 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.825e-05/0.7677, allocations: 0 / 1.295 GB, free: 7.402 MB / 0.823 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.007461/0.7752, allocations: 3.496 MB / 1.299 GB, free: 3.836 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7752, allocations: 8.031 kB / 1.299 GB, free: 3.828 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000418/0.7757, allocations: 384.1 kB / 1.299 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/0.78, allocations: 0.8468 MB / 1.3 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.7829, allocations: 1.895 MB / 1.302 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.7831, allocations: 213.3 kB / 1.302 GB, free: 440 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.7834, allocations: 279.9 kB / 1.302 GB, free: 160 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00494/0.7884, allocations: 3.579 MB / 1.306 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.7884, allocations: 11.88 kB / 1.306 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.7887, allocations: 116 kB / 1.306 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.7888, allocations: 145.3 kB / 1.306 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/0.7937, allocations: 3.288 MB / 1.309 GB, free: 8.883 MB / 0.8386 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.01312/0.8069, allocations: 14.17 MB / 1.323 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.8102, allocations: 2.562 MB / 1.325 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.812, allocations: 1.372 MB / 1.327 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.8131, allocations: 1.382 MB / 1.328 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.8149, allocations: 1.234 MB / 1.329 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=216): time 3.807e-06/0.8149, allocations: 0 / 1.329 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of matching and sorting (n=216): time 0.005033/0.8199, allocations: 3.191 MB / 1.332 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.82, allocations: 73.41 kB / 1.333 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.8216, allocations: 1.429 MB / 1.334 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.8217, allocations: 69.7 kB / 1.334 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007141/0.8224, allocations: 1.103 MB / 1.335 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/0.823, allocations: 0.7431 MB / 1.336 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.8231, allocations: 40 kB / 1.336 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8232, allocations: 405.8 kB / 1.336 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.8246, allocations: 0.9137 MB / 1.337 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.8263, allocations: 1.291 MB / 1.338 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.8294, allocations: 2.328 MB / 1.341 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.8294, allocations: 4 kB / 1.341 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003763/0.8332, allocations: 2.605 MB / 1.343 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.8333, allocations: 33.7 kB / 1.343 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.8333, allocations: 15.92 kB / 1.343 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.8333, allocations: 16 kB / 1.343 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.8351, allocations: 475.5 kB / 1.344 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.8352, allocations: 19.98 kB / 1.344 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.8373, allocations: 365.8 kB / 1.344 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.8374, allocations: 75.98 kB / 1.344 GB, free: 3.07 MB / 0.8698 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.0009629/0.8384, allocations: 0.6885 MB / 1.345 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.8386, allocations: 213.5 kB / 1.345 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.8425, allocations: 2.546 MB / 1.348 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8425, allocations: 24 kB / 1.348 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8426, allocations: 0 / 1.348 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003146/0.8457, allocations: 2.338 MB / 1.35 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007942/0.8537, allocations: 5.637 MB / 1.355 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.8537, allocations: 4 kB / 1.355 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.8557, allocations: 499.7 kB / 1.356 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.8558, allocations: 20 kB / 1.356 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.8559, allocations: 55.97 kB / 1.356 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.8559, allocations: 8 kB / 1.356 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.8559, allocations: 4 kB / 1.356 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/0.8612, allocations: 4.026 MB / 1.36 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/0.862, allocations: 0.5371 MB / 1.36 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.8623, allocations: 47.98 kB / 1.36 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.8639, allocations: 244.4 kB / 1.361 GB, free: 1.922 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.8642, allocations: 157.7 kB / 1.361 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.8643, allocations: 71.97 kB / 1.361 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001119/0.8655, allocations: 0.9666 MB / 1.362 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8655, allocations: 4 kB / 1.362 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001701/0.8672, allocations: 0.9391 MB / 1.363 GB, free: 15.79 MB / 0.9011 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.005953/0.8731, allocations: 4.871 MB / 1.367 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00326/0.8764, allocations: 2.356 MB / 1.37 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8764, allocations: 0 / 1.37 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.8781, allocations: 1.243 MB / 1.371 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/0.8832, allocations: 1.226 MB / 1.372 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.9045, allocations: 16.47 MB / 1.388 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.9059, allocations: 1.968 MB / 1.39 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002454/0.9084, allocations: 0.7173 MB / 1.391 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.9098, allocations: 1.085 MB / 1.392 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of SimCode: time 1.432e-06/0.9098, allocations: 4 kB / 1.392 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4081/1.318, allocations: 65.97 MB / 1.456 GB, free: 241.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000119/1.318, allocations: 233.8 kB / 1.457 GB, free: 241.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.465/4.783, allocations: 0 / 1.457 GB, free: 241.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)