Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002042, allocations: 72.81 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5921, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.684/2.276, allocations: 290.9 MB / 1.336 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03589/2.312, allocations: 22.91 MB / 1.359 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006384/2.319, allocations: 68.47 kB / 1.359 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007137/2.326, allocations: 1.609 MB / 1.36 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0227/2.349, allocations: 5.77 MB / 1.366 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01024/2.359, allocations: 2.655 MB / 1.369 GB, free: 416 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01311/2.372, allocations: 7.302 MB / 1.376 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005727/2.378, allocations: 2.884 MB / 1.379 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/2.389, allocations: 2.917 MB / 1.381 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007427/2.396, allocations: 2.883 MB / 1.384 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001405/2.398, allocations: 342 kB / 1.385 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/2.417, allocations: 6.219 MB / 1.391 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003851/2.421, allocations: 1.472 MB / 1.392 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005979/2.427, allocations: 1.901 MB / 1.394 GB, free: 9.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02126/2.448, allocations: 7.296 MB / 1.401 GB, free: 5.062 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/2.448, allocations: 0 / 1.401 GB, free: 5.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/2.448, allocations: 0 / 1.401 GB, free: 5.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002754/2.449, allocations: 0 / 1.401 GB, free: 5.062 MB / 1.014 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.0174/2.466, allocations: 4.097 MB / 1.405 GB, free: 2.289 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/2.466, allocations: 9.625 kB / 1.405 GB, free: 2.289 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001732/2.468, allocations: 387.5 kB / 1.406 GB, free: 2.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007354/2.475, allocations: 0.844 MB / 1.406 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006653/2.482, allocations: 1.789 MB / 1.408 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/2.482, allocations: 209.5 kB / 1.408 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/2.484, allocations: 277.7 kB / 1.409 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/2.496, allocations: 3.604 MB / 1.412 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/2.496, allocations: 11.94 kB / 1.412 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009057/2.497, allocations: 118.3 kB / 1.412 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/2.497, allocations: 141.3 kB / 1.412 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008544/2.506, allocations: 3.284 MB / 1.416 GB, free: 9.879 MB / 1.029 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.02769/2.534, allocations: 14.14 MB / 1.429 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/2.539, allocations: 2.489 MB / 1.432 GB, free: 8.094 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002586/2.541, allocations: 1.349 MB / 1.433 GB, free: 6.742 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/2.543, allocations: 1.379 MB / 1.434 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00271/2.546, allocations: 1.222 MB / 1.436 GB, free: 3.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 5.33e-06/2.546, allocations: 0 / 1.436 GB, free: 3.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.007121/2.553, allocations: 3.176 MB / 1.439 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/2.553, allocations: 77.41 kB / 1.439 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/2.556, allocations: 1.452 MB / 1.44 GB, free: 15.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003342/2.556, allocations: 65.7 kB / 1.44 GB, free: 15.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/2.558, allocations: 1.118 MB / 1.441 GB, free: 13.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/2.559, allocations: 0.7339 MB / 1.442 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009711/2.56, allocations: 367.4 kB / 1.442 GB, free: 12.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001383/2.56, allocations: 305.1 kB / 1.443 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/2.562, allocations: 0.9097 MB / 1.444 GB, free: 11.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/2.564, allocations: 1.263 MB / 1.445 GB, free: 10.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004067/2.568, allocations: 2.325 MB / 1.447 GB, free: 7.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/2.568, allocations: 7.875 kB / 1.447 GB, free: 7.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005464/2.573, allocations: 2.598 MB / 1.45 GB, free: 5.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/2.574, allocations: 37.7 kB / 1.45 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/2.574, allocations: 8 kB / 1.45 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.08e-05/2.574, allocations: 16 kB / 1.45 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/2.576, allocations: 467.3 kB / 1.45 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-05/2.576, allocations: 16 kB / 1.45 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/2.579, allocations: 397.8 kB / 1.451 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/2.58, allocations: 79.98 kB / 1.451 GB, free: 4.164 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001978/2.582, allocations: 0.6885 MB / 1.451 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/2.583, allocations: 213.5 kB / 1.452 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/2.588, allocations: 2.522 MB / 1.454 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/2.588, allocations: 20 kB / 1.454 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/2.588, allocations: 0 / 1.454 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003983/2.592, allocations: 2.335 MB / 1.456 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/2.606, allocations: 5.603 MB / 1.462 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/2.606, allocations: 7.938 kB / 1.462 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/2.608, allocations: 475.7 kB / 1.462 GB, free: 8.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-05/2.608, allocations: 8 kB / 1.462 GB, free: 8.152 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/2.608, allocations: 55.97 kB / 1.462 GB, free: 8.098 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.65e-05/2.608, allocations: 15.94 kB / 1.462 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/2.608, allocations: 3.984 kB / 1.462 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007033/2.616, allocations: 3.799 MB / 1.466 GB, free: 4.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/2.618, allocations: 0.541 MB / 1.467 GB, free: 3.668 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008466/2.619, allocations: 47.98 kB / 1.467 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/2.622, allocations: 239.5 kB / 1.467 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004534/2.622, allocations: 149.7 kB / 1.467 GB, free: 3.242 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/2.622, allocations: 75.91 kB / 1.467 GB, free: 3.168 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00225/2.625, allocations: 0.9866 MB / 1.468 GB, free: 2.188 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.81e-07/2.625, allocations: 3.938 kB / 1.468 GB, free: 2.184 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003977/2.629, allocations: 0.9351 MB / 1.469 GB, free: 1.246 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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 (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008584/2.637, allocations: 4.629 MB / 1.473 GB, free: 12.58 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00948/2.647, allocations: 3.883 MB / 1.477 GB, free: 8.684 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/2.647, allocations: 4 kB / 1.477 GB, free: 8.68 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002683/2.65, allocations: 1.223 MB / 1.478 GB, free: 7.461 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008442/2.658, allocations: 1.284 MB / 1.48 GB, free: 6.203 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05563/2.714, allocations: 21.38 MB / 1.501 GB, free: 15.44 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/2.717, allocations: 1.971 MB / 1.502 GB, free: 13.43 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.004192/2.721, allocations: 0.7212 MB / 1.503 GB, free: 12.7 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002604/2.724, allocations: 1.097 MB / 1.504 GB, free: 11.61 MB / 1.123 GB Notification: Performance of SimCode: time 1.683e-06/2.724, allocations: 4 kB / 1.504 GB, free: 11.6 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1452/2.869, allocations: 64.64 MB / 1.567 GB, free: 11.64 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/2.869, allocations: 252.6 kB / 1.568 GB, free: 11.38 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.802/7.671, allocations: 0 / 1.568 GB, free: 11.38 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)