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.201/1.201, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009319/0.000932, allocations: 174 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205 MB / 0.576 GB, free: 21 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.0006832/0.0006832, allocations: 92.8 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 8.719 kB / 0.7932 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1387, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5404/0.6792, allocations: 292.6 MB / 1.182 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02317/0.7024, allocations: 21.25 MB / 1.203 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.7053, allocations: 61.78 kB / 1.203 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.7094, allocations: 1.578 MB / 1.204 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.7216, allocations: 5.769 MB / 1.21 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006046/0.7277, allocations: 2.749 MB / 1.213 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009731/0.7374, allocations: 11.52 MB / 1.224 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/0.7408, allocations: 2.605 MB / 1.226 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.7449, allocations: 2.553 MB / 1.229 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004372/0.7493, allocations: 2.965 MB / 1.232 GB, free: 200 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006009/0.7499, allocations: 192 kB / 1.232 GB, free: 8 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009879/0.7598, allocations: 6.678 MB / 1.238 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.7613, allocations: 1.484 MB / 1.24 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.7636, allocations: 1.901 MB / 1.242 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008805/0.7725, allocations: 7.57 MB / 1.249 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7725, allocations: 0 / 1.249 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7725, allocations: 0 / 1.249 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.739e-05/0.7725, allocations: 0 / 1.249 GB, free: 14.32 MB / 0.7761 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.00797/0.7805, allocations: 3.869 MB / 1.253 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7806, allocations: 8.031 kB / 1.253 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004576/0.781, allocations: 446.8 kB / 1.253 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.7855, allocations: 0.8854 MB / 1.254 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.7886, allocations: 2.053 MB / 1.256 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.7887, allocations: 242.2 kB / 1.256 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.7891, allocations: 327.9 kB / 1.257 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/0.7945, allocations: 4.157 MB / 1.261 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.7946, allocations: 11.94 kB / 1.261 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.7949, allocations: 128 kB / 1.261 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.795, allocations: 158.1 kB / 1.261 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00584/0.8008, allocations: 4.216 MB / 1.265 GB, free: 13.57 MB / 0.7917 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.014/0.8148, allocations: 15.34 MB / 1.28 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.8191, allocations: 3.507 MB / 1.284 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.8214, allocations: 1.901 MB / 1.286 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.8228, allocations: 1.607 MB / 1.287 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/0.8251, allocations: 1.706 MB / 1.289 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=304): time 4.248e-06/0.8251, allocations: 4 kB / 1.289 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of matching and sorting (n=304): time 0.006421/0.8315, allocations: 4.41 MB / 1.293 GB, free: 15.42 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.8316, allocations: 85.8 kB / 1.293 GB, free: 15.32 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.8332, allocations: 1.562 MB / 1.295 GB, free: 13.76 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.8334, allocations: 85.64 kB / 1.295 GB, free: 13.67 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.8341, allocations: 1.156 MB / 1.296 GB, free: 12.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/0.8347, allocations: 1.04 MB / 1.297 GB, free: 11.45 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.835, allocations: 223.4 kB / 1.297 GB, free: 11.22 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.8351, allocations: 309.6 kB / 1.297 GB, free: 10.92 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.8369, allocations: 1.278 MB / 1.299 GB, free: 9.637 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.839, allocations: 1.693 MB / 1.3 GB, free: 7.812 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/0.8431, allocations: 3.18 MB / 1.303 GB, free: 4.492 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.8431, allocations: 4 kB / 1.303 GB, free: 4.488 MB / 0.823 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.004768/0.8479, allocations: 3.512 MB / 1.307 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.8479, allocations: 44.12 kB / 1.307 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.8479, allocations: 8 kB / 1.307 GB, free: 0.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.848, allocations: 20 kB / 1.307 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.8502, allocations: 0.6088 MB / 1.307 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.8502, allocations: 28.62 kB / 1.308 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.8525, allocations: 421.8 kB / 1.308 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.8527, allocations: 108 kB / 1.308 GB, free: 15.7 MB / 0.8386 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 (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 (354): * Single equations (assignments): 353 * 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.001051/0.8537, allocations: 0.782 MB / 1.309 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.8541, allocations: 249.1 kB / 1.309 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005163/0.8592, allocations: 3.505 MB / 1.312 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.8593, allocations: 28 kB / 1.312 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8593, allocations: 7.938 kB / 1.312 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003992/0.8633, allocations: 3.118 MB / 1.316 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009345/0.8727, allocations: 7.177 MB / 1.323 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.8727, allocations: 4 kB / 1.323 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/0.8751, allocations: 0.6245 MB / 1.323 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.8752, allocations: 12 kB / 1.323 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.8753, allocations: 67.98 kB / 1.323 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/0.8753, allocations: 20.03 kB / 1.323 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.8753, allocations: 11.92 kB / 1.323 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006806/0.8822, allocations: 5.444 MB / 1.329 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.8833, allocations: 0.6732 MB / 1.329 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.8836, allocations: 56 kB / 1.329 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.8854, allocations: 272.9 kB / 1.33 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.8858, allocations: 194 kB / 1.33 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.886, allocations: 99.97 kB / 1.33 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001184/0.8872, allocations: 1.067 MB / 1.331 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8872, allocations: 4 kB / 1.331 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001947/0.8891, allocations: 1.111 MB / 1.332 GB, free: 6.723 MB / 0.8542 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 (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.007529/0.8967, allocations: 6.324 MB / 1.338 GB, free: 288 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004208/0.9009, allocations: 3.23 MB / 1.341 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9009, allocations: 5.5 kB / 1.341 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.903, allocations: 1.712 MB / 1.343 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/0.9082, allocations: 1.318 MB / 1.344 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/0.939, allocations: 26.13 MB / 1.37 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.9405, allocations: 2.144 MB / 1.372 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002872/0.9434, allocations: 1.002 MB / 1.373 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/0.9449, allocations: 1.245 MB / 1.374 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of SimCode: time 3.4e-07/0.9449, allocations: 0 / 1.374 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.504/1.449, allocations: 72 MB / 1.444 GB, free: 339.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/1.449, allocations: 252 kB / 1.445 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/5.421, allocations: 7.938 kB / 1.445 GB, free: 339.5 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)