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.673/2.673, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001441/0.00144, allocations: 176.7 kB / 371 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.351/2.351, allocations: 205.4 MB / 0.6297 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.001025/0.001025, allocations: 93.28 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004939, allocations: 14.52 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2313, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.134/1.366, allocations: 268.8 MB / 1.241 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.04642/1.412, allocations: 21.39 MB / 1.262 GB, free: 9.715 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/1.416, allocations: 55.69 kB / 1.262 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006204/1.423, allocations: 1.18 MB / 1.263 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01954/1.442, allocations: 4.412 MB / 1.267 GB, free: 4.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/1.452, allocations: 2.081 MB / 1.269 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01612/1.468, allocations: 8.936 MB / 1.278 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006076/1.475, allocations: 2.248 MB / 1.28 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00751/1.482, allocations: 2.362 MB / 1.283 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00702/1.489, allocations: 2.612 MB / 1.285 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001493/1.491, allocations: 168 kB / 1.285 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/1.505, allocations: 3.141 MB / 1.288 GB, free: 14.43 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005328/1.511, allocations: 1.274 MB / 1.29 GB, free: 13.15 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003887/1.515, allocations: 0.6798 MB / 1.29 GB, free: 12.46 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/1.532, allocations: 4.649 MB / 1.295 GB, free: 7.805 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/1.532, allocations: 0 / 1.295 GB, free: 7.805 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.458e-06/1.532, allocations: 4 kB / 1.295 GB, free: 7.801 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002268/1.532, allocations: 0 / 1.295 GB, free: 7.801 MB / 0.823 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.02488/1.557, allocations: 3.535 MB / 1.298 GB, free: 4.195 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/1.557, allocations: 8.031 kB / 1.298 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001758/1.559, allocations: 392 kB / 1.299 GB, free: 3.797 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/1.569, allocations: 0.843 MB / 1.299 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007115/1.577, allocations: 1.83 MB / 1.301 GB, free: 1.062 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/1.577, allocations: 209.4 kB / 1.301 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/1.578, allocations: 283.9 kB / 1.302 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/1.591, allocations: 3.579 MB / 1.305 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/1.592, allocations: 11.92 kB / 1.305 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008816/1.592, allocations: 108 kB / 1.305 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003072/1.593, allocations: 153.2 kB / 1.305 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/1.605, allocations: 3.28 MB / 1.309 GB, free: 9.312 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.03101/1.636, allocations: 14.16 MB / 1.322 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007476/1.644, allocations: 2.563 MB / 1.325 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00417/1.648, allocations: 1.368 MB / 1.326 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/1.65, allocations: 1.382 MB / 1.328 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004151/1.654, allocations: 1.237 MB / 1.329 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=216): time 6.753e-06/1.654, allocations: 3.938 kB / 1.329 GB, free: 3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=216): time 0.01186/1.666, allocations: 3.187 MB / 1.332 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/1.666, allocations: 77.41 kB / 1.332 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/1.67, allocations: 1.424 MB / 1.333 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005343/1.671, allocations: 73.69 kB / 1.334 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/1.672, allocations: 1.099 MB / 1.335 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.674, allocations: 0.7508 MB / 1.335 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/1.674, allocations: 40 kB / 1.335 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000306/1.675, allocations: 390 kB / 1.336 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/1.678, allocations: 0.9137 MB / 1.337 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/1.682, allocations: 1.295 MB / 1.338 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/1.686, allocations: 1.132 MB / 1.339 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/1.686, allocations: 4 kB / 1.339 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009409/1.695, allocations: 2.609 MB / 1.342 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/1.695, allocations: 41.64 kB / 1.342 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.695, allocations: 4 kB / 1.342 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.546e-05/1.695, allocations: 20 kB / 1.342 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/1.7, allocations: 479.8 kB / 1.342 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/1.7, allocations: 16 kB / 1.342 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/1.705, allocations: 369.8 kB / 1.342 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/1.705, allocations: 79.98 kB / 1.343 GB, free: 4.793 MB / 0.8698 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.00242/1.708, allocations: 0.6846 MB / 1.343 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008523/1.709, allocations: 217.4 kB / 1.343 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008968/1.718, allocations: 2.542 MB / 1.346 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/1.718, allocations: 20 kB / 1.346 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.718, allocations: 0 / 1.346 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00716/1.725, allocations: 2.346 MB / 1.348 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.743, allocations: 5.618 MB / 1.354 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/1.743, allocations: 4.312 kB / 1.354 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00489/1.748, allocations: 0.4993 MB / 1.354 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.044e-05/1.748, allocations: 12 kB / 1.354 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000495/1.749, allocations: 55.98 kB / 1.354 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.687e-05/1.749, allocations: 11.98 kB / 1.354 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.749, allocations: 7.953 kB / 1.354 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.761, allocations: 4.008 MB / 1.358 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.763, allocations: 0.5488 MB / 1.359 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007702/1.764, allocations: 47.98 kB / 1.359 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004238/1.769, allocations: 248.3 kB / 1.359 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007188/1.769, allocations: 161.6 kB / 1.359 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/1.77, allocations: 71.97 kB / 1.359 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002476/1.772, allocations: 0.9705 MB / 1.36 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.72e-07/1.772, allocations: 0 / 1.36 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004014/1.776, allocations: 0.9429 MB / 1.361 GB, free: 1.516 MB / 0.8855 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.01334/1.79, allocations: 4.869 MB / 1.366 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007274/1.797, allocations: 2.353 MB / 1.368 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.797, allocations: 0 / 1.368 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004047/1.801, allocations: 1.242 MB / 1.369 GB, free: 9.004 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/1.812, allocations: 1.244 MB / 1.371 GB, free: 7.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0483/1.86, allocations: 16.48 MB / 1.387 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.864, allocations: 1.971 MB / 1.389 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005251/1.869, allocations: 0.7251 MB / 1.389 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003256/1.873, allocations: 1.085 MB / 1.39 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of SimCode: time 1.864e-06/1.873, allocations: 0 / 1.39 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8038/2.677, allocations: 65.93 MB / 1.455 GB, free: 338.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/2.677, allocations: 226.5 kB / 1.455 GB, free: 338 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.281/7.958, allocations: 4 kB / 1.455 GB, free: 338 MB / 0.948 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)