Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_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.0006969/0.000697, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0007468/0.0007468, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.4 MB / 222.1 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.543/1.543, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 17.69 kB / 0.6738 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5639/0.741, allocations: 268.8 MB / 1.05 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.7654, allocations: 21.39 MB / 1.071 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.7684, allocations: 59 kB / 1.071 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.7718, allocations: 1.185 MB / 1.072 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.7825, allocations: 4.401 MB / 1.076 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.7879, allocations: 2.086 MB / 1.078 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008828/0.7967, allocations: 8.922 MB / 1.087 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.8004, allocations: 2.248 MB / 1.089 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.8052, allocations: 2.362 MB / 1.092 GB, free: 4.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.8096, allocations: 2.604 MB / 1.094 GB, free: 1.766 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007694/0.8103, allocations: 172 kB / 1.094 GB, free: 1.598 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00831/0.8187, allocations: 3.133 MB / 1.097 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.8208, allocations: 1.282 MB / 1.099 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.8226, allocations: 0.6798 MB / 1.099 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006731/0.8294, allocations: 4.657 MB / 1.104 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8294, allocations: 0 / 1.104 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8294, allocations: 0 / 1.104 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001509/0.8296, allocations: 0 / 1.104 GB, free: 7.816 MB / 0.8106 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.008467/0.838, allocations: 3.52 MB / 1.107 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.8381, allocations: 8.031 kB / 1.107 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007925/0.8389, allocations: 396 kB / 1.108 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.8438, allocations: 0.843 MB / 1.108 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.8472, allocations: 1.83 MB / 1.11 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.8474, allocations: 213.4 kB / 1.11 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004141/0.8479, allocations: 287.9 kB / 1.111 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/0.8533, allocations: 3.577 MB / 1.114 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.8533, allocations: 7.938 kB / 1.114 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.8536, allocations: 111.9 kB / 1.114 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.8537, allocations: 145.3 kB / 1.114 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/0.8586, allocations: 3.284 MB / 1.118 GB, free: 9.336 MB / 0.8262 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.01292/0.8716, allocations: 14.15 MB / 1.131 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.875, allocations: 2.585 MB / 1.134 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.8768, allocations: 1.364 MB / 1.135 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.8779, allocations: 1.378 MB / 1.137 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.8797, allocations: 1.237 MB / 1.138 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=216): time 4.098e-06/0.8797, allocations: 0 / 1.138 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216): time 0.00504/0.8847, allocations: 3.187 MB / 1.141 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.8848, allocations: 85.39 kB / 1.141 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.8865, allocations: 1.428 MB / 1.142 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.8867, allocations: 65.7 kB / 1.142 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000767/0.8874, allocations: 1.103 MB / 1.144 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005913/0.888, allocations: 0.7431 MB / 1.144 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.8881, allocations: 44 kB / 1.144 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8883, allocations: 382 kB / 1.145 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.8897, allocations: 0.9176 MB / 1.146 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.8914, allocations: 1.295 MB / 1.147 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.893, allocations: 1.14 MB / 1.148 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8931, allocations: 4 kB / 1.148 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003917/0.897, allocations: 2.605 MB / 1.151 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.897, allocations: 45.64 kB / 1.151 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.8971, allocations: 8 kB / 1.151 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.8971, allocations: 20 kB / 1.151 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.8989, allocations: 479.9 kB / 1.151 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.251e-05/0.8989, allocations: 19.94 kB / 1.151 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.9012, allocations: 364.7 kB / 1.151 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.9013, allocations: 75.98 kB / 1.151 GB, free: 4.805 MB / 0.8575 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.001031/0.9024, allocations: 0.6846 MB / 1.152 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/0.9027, allocations: 217.4 kB / 1.152 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/0.9068, allocations: 2.546 MB / 1.155 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.9068, allocations: 24 kB / 1.155 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9068, allocations: 0 / 1.155 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003095/0.9099, allocations: 2.35 MB / 1.157 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007962/0.9179, allocations: 5.615 MB / 1.163 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.9179, allocations: 4 kB / 1.163 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/0.9199, allocations: 0.4915 MB / 1.163 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.573e-05/0.92, allocations: 12 kB / 1.163 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.9201, allocations: 55.97 kB / 1.163 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.9202, allocations: 8 kB / 1.163 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.9202, allocations: 11.89 kB / 1.163 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/0.926, allocations: 4.014 MB / 1.167 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.9272, allocations: 0.5526 MB / 1.168 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.9276, allocations: 43.94 kB / 1.168 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/0.9295, allocations: 247.5 kB / 1.168 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.9298, allocations: 157.7 kB / 1.168 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.9299, allocations: 75.97 kB / 1.168 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001505/0.9314, allocations: 0.9705 MB / 1.169 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9314, allocations: 0 / 1.169 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002156/0.9336, allocations: 0.939 MB / 1.17 GB, free: 1.527 MB / 0.8731 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.006481/0.9401, allocations: 4.871 MB / 1.175 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.9437, allocations: 2.352 MB / 1.177 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9437, allocations: 0.625 kB / 1.177 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.9455, allocations: 1.237 MB / 1.178 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/0.9505, allocations: 1.25 MB / 1.18 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/0.9762, allocations: 16.48 MB / 1.196 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.9782, allocations: 1.964 MB / 1.198 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002835/0.9811, allocations: 0.7251 MB / 1.198 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/0.9827, allocations: 1.085 MB / 1.199 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of SimCode: time 9.71e-07/0.9827, allocations: 0 / 1.199 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09237/1.075, allocations: 65.93 MB / 1.264 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.075, allocations: 231.3 kB / 1.264 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/3.993, allocations: 0 / 1.264 GB, free: 0.9531 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) Environment - environmentSimulation: