Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_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.0008414/0.0008414, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007418/0.007418, allocations: 172.1 kB / 16.27 MB, free: 6.648 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.577/1.577, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.642/2.642, allocations: 390.9 MB / 0.6664 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 142.4 MB / 0.9552 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3651/1.392, allocations: 288.1 MB / 1.237 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9674/2.36, allocations: 22.98 MB / 1.259 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006012/2.366, allocations: 64.22 kB / 1.259 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007665/2.373, allocations: 1.56 MB / 1.261 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02477/2.398, allocations: 5.777 MB / 1.266 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01252/2.411, allocations: 2.63 MB / 1.269 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02419/2.435, allocations: 10.72 MB / 1.279 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007147/2.442, allocations: 2.438 MB / 1.282 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/2.454, allocations: 2.433 MB / 1.284 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008633/2.462, allocations: 2.7 MB / 1.287 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002171/2.464, allocations: 168.7 kB / 1.287 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0216/2.486, allocations: 6.868 MB / 1.293 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004447/2.49, allocations: 1.271 MB / 1.295 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0109/2.501, allocations: 1.709 MB / 1.296 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02858/2.53, allocations: 7.076 MB / 1.303 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/2.53, allocations: 4 kB / 1.303 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.801e-06/2.53, allocations: 0 / 1.303 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003269/2.531, allocations: 0 / 1.303 GB, free: 1.816 MB / 0.9981 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.01549/2.546, allocations: 3.486 MB / 1.307 GB, free: 16.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.237e-05/2.546, allocations: 11.56 kB / 1.307 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002314/2.548, allocations: 389.5 kB / 1.307 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008053/2.557, allocations: 0.8549 MB / 1.308 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007516/2.564, allocations: 1.786 MB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003991/2.565, allocations: 208.8 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/2.566, allocations: 270.5 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/2.579, allocations: 3.607 MB / 1.314 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/2.579, allocations: 11.23 kB / 1.314 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003988/2.58, allocations: 113.7 kB / 1.314 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/2.58, allocations: 150.4 kB / 1.314 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/2.591, allocations: 3.296 MB / 1.317 GB, free: 15.03 MB / 1.014 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.02789/2.619, allocations: 14.17 MB / 1.331 GB, free: 6.238 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/2.624, allocations: 2.503 MB / 1.333 GB, free: 5.543 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/2.627, allocations: 1.353 MB / 1.335 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/2.628, allocations: 1.378 MB / 1.336 GB, free: 3.824 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002245/2.631, allocations: 1.233 MB / 1.337 GB, free: 3.488 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 4.568e-06/2.631, allocations: 0 / 1.337 GB, free: 3.488 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.006379/2.637, allocations: 3.188 MB / 1.34 GB, free: 2.945 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/2.637, allocations: 74.72 kB / 1.34 GB, free: 2.883 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/2.64, allocations: 1.458 MB / 1.342 GB, free: 2.477 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/2.64, allocations: 65.36 kB / 1.342 GB, free: 2.445 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/2.641, allocations: 1.118 MB / 1.343 GB, free: 1.863 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009891/2.642, allocations: 0.7309 MB / 1.344 GB, free: 1.324 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/2.643, allocations: 173.9 kB / 1.344 GB, free: 1.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001157/2.643, allocations: 301.1 kB / 1.344 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/2.645, allocations: 0.9197 MB / 1.345 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/2.646, allocations: 1.259 MB / 1.346 GB, free: 368 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/2.65, allocations: 2.338 MB / 1.349 GB, free: 15.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/2.65, allocations: 0 / 1.349 GB, free: 15.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005292/2.655, allocations: 2.614 MB / 1.351 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/2.656, allocations: 35.8 kB / 1.351 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/2.656, allocations: 13.55 kB / 1.351 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.365e-05/2.656, allocations: 21.34 kB / 1.351 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/2.658, allocations: 477.8 kB / 1.352 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.292e-05/2.658, allocations: 23.66 kB / 1.352 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/2.661, allocations: 396.6 kB / 1.352 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/2.662, allocations: 76.45 kB / 1.352 GB, free: 15.06 MB / 1.029 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.002211/2.664, allocations: 0.6839 MB / 1.353 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007897/2.665, allocations: 212.7 kB / 1.353 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/2.669, allocations: 2.545 MB / 1.356 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/2.669, allocations: 26.69 kB / 1.356 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/2.669, allocations: 0 / 1.356 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003531/2.673, allocations: 2.336 MB / 1.358 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/2.684, allocations: 5.612 MB / 1.363 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/2.684, allocations: 6.484 kB / 1.363 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/2.686, allocations: 488.7 kB / 1.364 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/2.686, allocations: 15.88 kB / 1.364 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/2.686, allocations: 57.84 kB / 1.364 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/2.686, allocations: 9.969 kB / 1.364 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/2.686, allocations: 9.719 kB / 1.364 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006662/2.693, allocations: 3.81 MB / 1.368 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/2.695, allocations: 0.5365 MB / 1.368 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/2.696, allocations: 49.44 kB / 1.368 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/2.698, allocations: 243.8 kB / 1.368 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/2.699, allocations: 151.9 kB / 1.369 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/2.699, allocations: 69.09 kB / 1.369 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001781/2.701, allocations: 0.9864 MB / 1.37 GB, free: 10.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.51e-07/2.701, allocations: 7.344 kB / 1.37 GB, free: 10.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003389/2.704, allocations: 0.9384 MB / 1.37 GB, free: 10.18 MB / 1.029 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.008655/2.713, allocations: 4.644 MB / 1.375 GB, free: 6.797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005786/2.718, allocations: 2.343 MB / 1.377 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/2.719, allocations: 0 / 1.377 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002739/2.721, allocations: 1.234 MB / 1.379 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/2.733, allocations: 1.22 MB / 1.38 GB, free: 3.363 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/2.781, allocations: 21.67 MB / 1.401 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/2.783, allocations: 1.964 MB / 1.403 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003827/2.787, allocations: 0.729 MB / 1.404 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/2.789, allocations: 1.089 MB / 1.405 GB, free: 9.531 MB / 1.061 GB Notification: Performance of SimCode: time 1.112e-06/2.789, allocations: 6.734 kB / 1.405 GB, free: 9.527 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2925/3.082, allocations: 62.46 MB / 1.466 GB, free: 11.89 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003852/3.082, allocations: 242.8 kB / 1.466 GB, free: 11.64 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/6.947, allocations: 3.938 kB / 1.466 GB, free: 11.64 MB / 1.123 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)