Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.532/1.532, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.001003/0.001003, allocations: 177.5 kB / 372.3 MB, free: 10.13 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.323/1.323, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0008623/0.0008623, allocations: 98.27 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 11.09 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6509/0.8357, allocations: 268.8 MB / 1.243 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.8628, allocations: 21.4 MB / 1.264 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.8666, allocations: 59.62 kB / 1.264 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.8714, allocations: 1.403 MB / 1.265 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01427/0.8857, allocations: 5.324 MB / 1.27 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.007273/0.893, allocations: 2.359 MB / 1.272 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.9035, allocations: 8.955 MB / 1.281 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004666/0.9082, allocations: 2.419 MB / 1.284 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00575/0.914, allocations: 2.355 MB / 1.286 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005253/0.9193, allocations: 2.621 MB / 1.288 GB, free: 14.68 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008947/0.9202, allocations: 168 kB / 1.289 GB, free: 14.51 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/0.9339, allocations: 6.756 MB / 1.295 GB, free: 7.738 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002559/0.9365, allocations: 1.285 MB / 1.296 GB, free: 6.449 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004333/0.9409, allocations: 1.639 MB / 1.298 GB, free: 4.797 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.008984/0.9499, allocations: 5.078 MB / 1.303 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.9499, allocations: 0 / 1.303 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.326e-06/0.95, allocations: 0 / 1.303 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002112/0.9502, allocations: 0 / 1.303 GB, free: 15.71 MB / 0.8386 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.01034/0.9605, allocations: 3.488 MB / 1.306 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9606, allocations: 8.031 kB / 1.306 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009822/0.9616, allocations: 388.1 kB / 1.307 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005509/0.9671, allocations: 0.8469 MB / 1.308 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/0.972, allocations: 1.892 MB / 1.309 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.9723, allocations: 213.4 kB / 1.31 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000916/0.9732, allocations: 279.9 kB / 1.31 GB, free: 8.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008065/0.9813, allocations: 3.581 MB / 1.313 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.9814, allocations: 4 kB / 1.313 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/0.9817, allocations: 120 kB / 1.314 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.9818, allocations: 145.2 kB / 1.314 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006002/0.9878, allocations: 3.28 MB / 1.317 GB, free: 1.207 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.01752/1.005, allocations: 14.17 MB / 1.331 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/1.009, allocations: 2.564 MB / 1.333 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/1.011, allocations: 1.364 MB / 1.335 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.012, allocations: 1.378 MB / 1.336 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001969/1.014, allocations: 1.23 MB / 1.337 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=216): time 5.721e-06/1.014, allocations: 0 / 1.337 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=216): time 0.005519/1.02, allocations: 3.199 MB / 1.34 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/1.02, allocations: 73.41 kB / 1.34 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/1.022, allocations: 1.433 MB / 1.342 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/1.022, allocations: 73.7 kB / 1.342 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008955/1.023, allocations: 1.107 MB / 1.343 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006479/1.024, allocations: 0.7431 MB / 1.344 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.024, allocations: 40 kB / 1.344 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.024, allocations: 385.9 kB / 1.344 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/1.025, allocations: 0.9176 MB / 1.345 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/1.027, allocations: 1.303 MB / 1.346 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/1.03, allocations: 2.32 MB / 1.348 GB, free: 15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.03, allocations: 0 / 1.348 GB, free: 15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004374/1.035, allocations: 2.617 MB / 1.351 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/1.035, allocations: 34.95 kB / 1.351 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.035, allocations: 8 kB / 1.351 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/1.035, allocations: 16 kB / 1.351 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/1.037, allocations: 483.9 kB / 1.351 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/1.037, allocations: 19.94 kB / 1.352 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/1.04, allocations: 364.4 kB / 1.352 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/1.04, allocations: 83.98 kB / 1.352 GB, free: 11.38 MB / 0.8855 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.001413/1.041, allocations: 0.6845 MB / 1.353 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/1.042, allocations: 217.5 kB / 1.353 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/1.046, allocations: 2.542 MB / 1.355 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/1.046, allocations: 20 kB / 1.355 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.046, allocations: 4 kB / 1.355 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003253/1.049, allocations: 2.35 MB / 1.358 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009342/1.059, allocations: 5.618 MB / 1.363 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.059, allocations: 0 / 1.363 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.061, allocations: 0.4956 MB / 1.364 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/1.061, allocations: 8 kB / 1.364 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/1.061, allocations: 55.98 kB / 1.364 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.061, allocations: 12 kB / 1.364 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.061, allocations: 3.938 kB / 1.364 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/1.067, allocations: 4.023 MB / 1.368 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.069, allocations: 0.5449 MB / 1.368 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/1.069, allocations: 44 kB / 1.368 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.071, allocations: 253.2 kB / 1.368 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/1.071, allocations: 149.7 kB / 1.369 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.071, allocations: 75.97 kB / 1.369 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001307/1.073, allocations: 0.9666 MB / 1.37 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/1.073, allocations: 3.938 kB / 1.37 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002177/1.075, allocations: 0.9429 MB / 1.37 GB, free: 8.102 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.006709/1.082, allocations: 4.876 MB / 1.375 GB, free: 3.188 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003755/1.085, allocations: 2.353 MB / 1.378 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.085, allocations: 4.25 kB / 1.378 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.087, allocations: 1.229 MB / 1.379 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006407/1.094, allocations: 1.228 MB / 1.38 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.12, allocations: 16.49 MB / 1.396 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.122, allocations: 1.964 MB / 1.398 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003038/1.125, allocations: 0.729 MB / 1.399 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.127, allocations: 1.085 MB / 1.4 GB, free: 9.035 MB / 0.9323 GB Notification: Performance of SimCode: time 8.22e-07/1.127, allocations: 3.938 kB / 1.4 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/2.158, allocations: 66.66 MB / 1.465 GB, free: 329.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/2.158, allocations: 238.2 kB / 1.465 GB, free: 329.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.25/6.408, allocations: 2.25 kB / 1.465 GB, free: 329.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)