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.0008155/0.0008156, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005215/0.005215, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.17/1.17, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.498/1.498, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004524/0.0004525, allocations: 12.84 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5757/0.7491, allocations: 288 MB / 1.069 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.7759, allocations: 22.87 MB / 1.092 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.7786, allocations: 59.62 kB / 1.092 GB, free: 4.918 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003924/0.7826, allocations: 1.555 MB / 1.093 GB, free: 3.355 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.7951, allocations: 5.721 MB / 1.099 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006007/0.8011, allocations: 2.669 MB / 1.101 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009913/0.8111, allocations: 10.69 MB / 1.112 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.8144, allocations: 2.439 MB / 1.114 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005436/0.8198, allocations: 2.436 MB / 1.117 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.824, allocations: 2.692 MB / 1.119 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.8244, allocations: 168 kB / 1.119 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.8347, allocations: 6.877 MB / 1.126 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.8359, allocations: 1.274 MB / 1.127 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.8379, allocations: 1.705 MB / 1.129 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.8473, allocations: 7.084 MB / 1.136 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8473, allocations: 3.938 kB / 1.136 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8473, allocations: 0 / 1.136 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.095e-05/0.8474, allocations: 0 / 1.136 GB, free: 7.453 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.007523/0.8549, allocations: 3.484 MB / 1.139 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.8549, allocations: 8.031 kB / 1.139 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004382/0.8554, allocations: 392 kB / 1.14 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.8601, allocations: 0.843 MB / 1.141 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.8625, allocations: 1.778 MB / 1.142 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.8626, allocations: 209.4 kB / 1.142 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/0.863, allocations: 272 kB / 1.143 GB, free: 352 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005037/0.8681, allocations: 3.601 MB / 1.146 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.8681, allocations: 3.906 kB / 1.146 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.8684, allocations: 120 kB / 1.146 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.8685, allocations: 149.2 kB / 1.146 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/0.8734, allocations: 3.288 MB / 1.15 GB, free: 9.047 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.01292/0.8864, allocations: 14.15 MB / 1.164 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.8897, allocations: 2.545 MB / 1.166 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.8916, allocations: 1.356 MB / 1.167 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.8927, allocations: 1.382 MB / 1.169 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.8946, allocations: 1.231 MB / 1.17 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 3.547e-06/0.8946, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.005256/0.8998, allocations: 3.172 MB / 1.173 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.8999, allocations: 77.41 kB / 1.173 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.9016, allocations: 1.44 MB / 1.174 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.9017, allocations: 65.7 kB / 1.175 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/0.9025, allocations: 1.115 MB / 1.176 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/0.9031, allocations: 0.7238 MB / 1.176 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.9033, allocations: 173.6 kB / 1.176 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.9034, allocations: 305.1 kB / 1.177 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.9049, allocations: 0.9136 MB / 1.178 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.9065, allocations: 1.277 MB / 1.179 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.9097, allocations: 2.337 MB / 1.181 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9097, allocations: 0 / 1.181 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003705/0.9134, allocations: 2.597 MB / 1.184 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.9134, allocations: 33.7 kB / 1.184 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.9135, allocations: 8 kB / 1.184 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.9135, allocations: 16 kB / 1.184 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.9153, allocations: 483.9 kB / 1.184 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.9153, allocations: 16 kB / 1.184 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.9175, allocations: 375.2 kB / 1.185 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.9177, allocations: 79.98 kB / 1.185 GB, free: 3.277 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.0009429/0.9186, allocations: 0.6807 MB / 1.185 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.9189, allocations: 213.5 kB / 1.186 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.9227, allocations: 2.526 MB / 1.188 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.9228, allocations: 20 kB / 1.188 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9228, allocations: 4 kB / 1.188 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003074/0.9259, allocations: 2.331 MB / 1.19 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007487/0.9334, allocations: 5.595 MB / 1.196 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9334, allocations: 8.312 kB / 1.196 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/0.9354, allocations: 0.4915 MB / 1.196 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.9354, allocations: 8 kB / 1.196 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.9356, allocations: 55.98 kB / 1.196 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.9356, allocations: 8 kB / 1.196 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9356, allocations: 4 kB / 1.196 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.941, allocations: 4.002 MB / 1.2 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.942, allocations: 0.5371 MB / 1.201 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.9423, allocations: 44 kB / 1.201 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.944, allocations: 251.5 kB / 1.201 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.9443, allocations: 153.7 kB / 1.201 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.9444, allocations: 71.97 kB / 1.201 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00117/0.9456, allocations: 0.9821 MB / 1.202 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9456, allocations: 0 / 1.202 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001808/0.9474, allocations: 0.9351 MB / 1.203 GB, free: 100 kB / 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.0059/0.9533, allocations: 4.833 MB / 1.208 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003252/0.9566, allocations: 2.344 MB / 1.21 GB, free: 8.855 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9566, allocations: 1.562 kB / 1.21 GB, free: 8.855 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.9582, allocations: 1.234 MB / 1.211 GB, free: 7.629 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/0.9635, allocations: 1.229 MB / 1.213 GB, free: 6.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02655/0.9901, allocations: 21.48 MB / 1.234 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.9915, allocations: 1.967 MB / 1.235 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002419/0.9939, allocations: 0.7132 MB / 1.236 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.9953, allocations: 1.089 MB / 1.237 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.9953, allocations: 0 / 1.237 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3754/1.371, allocations: 62.64 MB / 1.298 GB, free: 372.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/1.371, allocations: 236.8 kB / 1.299 GB, free: 372.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/4.424, allocations: 0 / 1.299 GB, free: 372.1 MB / 0.9825 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)