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.000991/0.000991, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009617/0.0009617, allocations: 192.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.475/1.475, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001281/0.001281, allocations: 62.94 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2044, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6394/0.8438, allocations: 290.8 MB / 1.067 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02587/0.8697, allocations: 22.8 MB / 1.089 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003899/0.8737, allocations: 59.69 kB / 1.089 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/0.8782, allocations: 1.61 MB / 1.091 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.8919, allocations: 5.7 MB / 1.096 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006812/0.8987, allocations: 2.693 MB / 1.099 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00778/0.9065, allocations: 7.28 MB / 1.106 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003095/0.9096, allocations: 2.867 MB / 1.109 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/0.9155, allocations: 2.929 MB / 1.112 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004301/0.9198, allocations: 2.874 MB / 1.115 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0006237/0.9205, allocations: 344 kB / 1.115 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.9338, allocations: 6.226 MB / 1.121 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.9354, allocations: 1.469 MB / 1.122 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.9377, allocations: 1.906 MB / 1.124 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.9531, allocations: 7.3 MB / 1.131 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.9531, allocations: 0 / 1.131 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9532, allocations: 0 / 1.131 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.916e-05/0.9532, allocations: 0 / 1.131 GB, free: 14.14 MB / 0.8419 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.008769/0.962, allocations: 4.096 MB / 1.135 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.9621, allocations: 12.03 kB / 1.135 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004128/0.9625, allocations: 392.1 kB / 1.136 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/0.9676, allocations: 0.8353 MB / 1.137 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.9703, allocations: 1.778 MB / 1.138 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.9705, allocations: 205.4 kB / 1.139 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.9708, allocations: 276 kB / 1.139 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/0.9762, allocations: 3.597 MB / 1.142 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.9763, allocations: 4 kB / 1.142 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.9765, allocations: 116 kB / 1.142 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.9767, allocations: 153.2 kB / 1.143 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/0.9816, allocations: 3.28 MB / 1.146 GB, free: 15.13 MB / 0.8575 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.01413/0.9958, allocations: 14.13 MB / 1.16 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.9991, allocations: 2.545 MB / 1.162 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/1.001, allocations: 1.349 MB / 1.163 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.002, allocations: 1.375 MB / 1.165 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/1.004, allocations: 1.223 MB / 1.166 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 6.763e-06/1.004, allocations: 0 / 1.166 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.005171/1.009, allocations: 3.164 MB / 1.169 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.009, allocations: 73.41 kB / 1.169 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/1.011, allocations: 1.44 MB / 1.171 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/1.011, allocations: 61.7 kB / 1.171 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008076/1.012, allocations: 1.115 MB / 1.172 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000578/1.012, allocations: 0.7316 MB / 1.172 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/1.013, allocations: 359.5 kB / 1.173 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/1.013, allocations: 305.1 kB / 1.173 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/1.014, allocations: 0.9097 MB / 1.174 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/1.016, allocations: 1.269 MB / 1.175 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/1.019, allocations: 2.321 MB / 1.177 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.019, allocations: 4 kB / 1.177 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003906/1.023, allocations: 2.586 MB / 1.18 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/1.023, allocations: 37.7 kB / 1.18 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.023, allocations: 8 kB / 1.18 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/1.023, allocations: 20.59 kB / 1.18 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.025, allocations: 463.4 kB / 1.18 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/1.025, allocations: 19.94 kB / 1.18 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.027, allocations: 368.7 kB / 1.181 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.028, allocations: 79.98 kB / 1.181 GB, free: 9.285 MB / 0.8887 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.001206/1.029, allocations: 0.6807 MB / 1.182 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/1.029, allocations: 209.5 kB / 1.182 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/1.033, allocations: 2.511 MB / 1.184 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.033, allocations: 24 kB / 1.184 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.033, allocations: 0 / 1.184 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003055/1.036, allocations: 2.323 MB / 1.186 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007891/1.044, allocations: 5.587 MB / 1.192 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.044, allocations: 4 kB / 1.192 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.046, allocations: 487.7 kB / 1.192 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/1.046, allocations: 12 kB / 1.192 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.046, allocations: 51.98 kB / 1.192 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.046, allocations: 19.88 kB / 1.193 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.046, allocations: 8 kB / 1.193 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/1.051, allocations: 3.979 MB / 1.196 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/1.052, allocations: 0.5332 MB / 1.197 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/1.053, allocations: 52 kB / 1.197 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.054, allocations: 239.5 kB / 1.197 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/1.055, allocations: 153.6 kB / 1.197 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.055, allocations: 71.97 kB / 1.197 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001167/1.056, allocations: 0.9861 MB / 1.198 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.056, allocations: 0 / 1.198 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001963/1.058, allocations: 0.9351 MB / 1.199 GB, free: 6.172 MB / 0.9044 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 (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.005954/1.064, allocations: 4.808 MB / 1.204 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007103/1.071, allocations: 3.884 MB / 1.208 GB, free: 13.41 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.071, allocations: 0.5625 kB / 1.208 GB, free: 13.41 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.073, allocations: 1.233 MB / 1.209 GB, free: 12.18 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004883/1.078, allocations: 1.289 MB / 1.21 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/1.105, allocations: 21.19 MB / 1.231 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.107, allocations: 1.963 MB / 1.233 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002414/1.109, allocations: 0.721 MB / 1.234 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.11, allocations: 1.085 MB / 1.235 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/1.11, allocations: 0 / 1.235 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8423/1.953, allocations: 64.84 MB / 1.298 GB, free: 440 kB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.953, allocations: 240.3 kB / 1.298 GB, free: 180 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/5.292, allocations: 0 / 1.298 GB, free: 180 kB / 0.9981 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/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)