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 2.944/2.944, allocations: 287.3 MB / 302.3 MB, free: 8.383 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.001619/0.001619, allocations: 179 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.285/2.285, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00113/0.00113, allocations: 97.09 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006279/0.0006281, allocations: 15.8 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2084, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.057/1.266, allocations: 238.6 MB / 1.211 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.04756/1.313, allocations: 21.13 MB / 1.232 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004496/1.318, allocations: 51.69 kB / 1.232 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.008218/1.326, allocations: 1.536 MB / 1.233 GB, free: 4.027 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.02086/1.347, allocations: 4.458 MB / 1.238 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009809/1.357, allocations: 2.162 MB / 1.24 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.367, allocations: 4.142 MB / 1.244 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005067/1.373, allocations: 2.288 MB / 1.246 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007044/1.38, allocations: 2.224 MB / 1.248 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/1.384, allocations: 1.74 MB / 1.25 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009081/1.385, allocations: 168 kB / 1.25 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/1.396, allocations: 2.402 MB / 1.253 GB, free: 416 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002637/1.398, allocations: 1.165 MB / 1.254 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001818/1.4, allocations: 0.6681 MB / 1.254 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.009964/1.41, allocations: 4.193 MB / 1.259 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/1.41, allocations: 3.938 kB / 1.259 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.076e-06/1.41, allocations: 0 / 1.259 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001542/1.41, allocations: 0 / 1.259 GB, free: 10.36 MB / 0.7917 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.01542/1.426, allocations: 3.379 MB / 1.262 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.426, allocations: 16.03 kB / 1.262 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001658/1.428, allocations: 392 kB / 1.262 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009013/1.437, allocations: 0.8625 MB / 1.263 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006211/1.443, allocations: 1.737 MB / 1.265 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/1.443, allocations: 213.4 kB / 1.265 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/1.444, allocations: 279.9 kB / 1.265 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/1.456, allocations: 3.563 MB / 1.269 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/1.456, allocations: 3.938 kB / 1.269 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007086/1.457, allocations: 116 kB / 1.269 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002784/1.457, allocations: 149.3 kB / 1.269 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/1.469, allocations: 3.284 MB / 1.272 GB, free: 12.11 MB / 0.8073 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.02914/1.498, allocations: 14.15 MB / 1.286 GB, free: 12.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007328/1.506, allocations: 2.572 MB / 1.288 GB, free: 10.09 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/1.507, allocations: 1.299 MB / 1.29 GB, free: 8.516 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003917/1.511, allocations: 1.234 MB / 1.291 GB, free: 7.27 MB / 0.823 GB Notification: Performance of pre-optimization done (n=216): time 7.124e-06/1.512, allocations: 0 / 1.291 GB, free: 7.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=216): time 0.01095/1.522, allocations: 3.191 MB / 1.294 GB, free: 4.074 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/1.523, allocations: 77.41 kB / 1.294 GB, free: 3.984 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/1.526, allocations: 1.424 MB / 1.296 GB, free: 2.555 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004998/1.526, allocations: 69.7 kB / 1.296 GB, free: 2.48 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.528, allocations: 1.103 MB / 1.297 GB, free: 1.363 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.529, allocations: 0.747 MB / 1.297 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/1.529, allocations: 44 kB / 1.297 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002686/1.53, allocations: 386 kB / 1.298 GB, free: 184 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/1.533, allocations: 0.9175 MB / 1.299 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.537, allocations: 1.283 MB / 1.3 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/1.54, allocations: 1.136 MB / 1.301 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/1.541, allocations: 0 / 1.301 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.008495/1.549, allocations: 2.609 MB / 1.304 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/1.549, allocations: 35.89 kB / 1.304 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/1.549, allocations: 11.95 kB / 1.304 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.765e-05/1.549, allocations: 20 kB / 1.304 GB, free: 10 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/1.554, allocations: 479.9 kB / 1.304 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.474e-05/1.554, allocations: 19.94 kB / 1.304 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.559, allocations: 361.8 kB / 1.305 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004455/1.559, allocations: 79.98 kB / 1.305 GB, free: 9.078 MB / 0.8386 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.002157/1.561, allocations: 0.6807 MB / 1.305 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008156/1.562, allocations: 213.5 kB / 1.305 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008225/1.57, allocations: 2.55 MB / 1.308 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/1.57, allocations: 27.95 kB / 1.308 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.57, allocations: 3.938 kB / 1.308 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006731/1.577, allocations: 2.35 MB / 1.31 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/1.595, allocations: 5.622 MB / 1.316 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.595, allocations: 4 kB / 1.316 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004921/1.6, allocations: 499.5 kB / 1.316 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-05/1.6, allocations: 12 kB / 1.316 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004462/1.6, allocations: 55.92 kB / 1.316 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.069e-05/1.6, allocations: 15.94 kB / 1.316 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.6, allocations: 7.984 kB / 1.316 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.612, allocations: 4.169 MB / 1.32 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.615, allocations: 0.5449 MB / 1.321 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007955/1.615, allocations: 51.98 kB / 1.321 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004299/1.62, allocations: 244.3 kB / 1.321 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/1.62, allocations: 161.7 kB / 1.321 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/1.621, allocations: 63.98 kB / 1.321 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002465/1.623, allocations: 0.9705 MB / 1.322 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.91e-07/1.623, allocations: 0 / 1.322 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004189/1.627, allocations: 0.939 MB / 1.323 GB, free: 5.578 MB / 0.8542 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.01386/1.641, allocations: 5.665 MB / 1.329 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007395/1.649, allocations: 2.353 MB / 1.331 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.649, allocations: 4.5 kB / 1.331 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/1.653, allocations: 1.241 MB / 1.332 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/1.663, allocations: 1.206 MB / 1.334 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04718/1.71, allocations: 21.01 MB / 1.354 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/1.713, allocations: 2.022 MB / 1.356 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004969/1.718, allocations: 0.7329 MB / 1.357 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003008/1.721, allocations: 1.085 MB / 1.358 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of SimCode: time 1.723e-06/1.721, allocations: 0 / 1.358 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.174/1.895, allocations: 65.85 MB / 1.422 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/1.895, allocations: 221.3 kB / 1.422 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.231/7.126, allocations: 0 / 1.422 GB, free: 15.46 MB / 0.9636 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)