Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008094/0.008101, allocations: 104.5 kB / 15.73 MB, free: 6.047 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.001784/0.001785, allocations: 192.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 251.7 MB / 0.5094 GB, free: 3.137 MB / 414.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.001365/0.001365, allocations: 79.88 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2926, allocations: 104.7 MB / 0.8281 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.255/1.548, allocations: 295.1 MB / 1.116 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03638/1.584, allocations: 21.04 MB / 1.137 GB, free: 304 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005582/1.59, allocations: 71.69 kB / 1.137 GB, free: 232 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008537/1.599, allocations: 1.908 MB / 1.139 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.02289/1.621, allocations: 6.28 MB / 1.145 GB, free: 8 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01179/1.633, allocations: 3.064 MB / 1.148 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01544/1.649, allocations: 8.006 MB / 1.156 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007814/1.657, allocations: 3.202 MB / 1.159 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/1.667, allocations: 3.164 MB / 1.162 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007338/1.674, allocations: 2.949 MB / 1.165 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/1.676, allocations: 392 kB / 1.165 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02485/1.701, allocations: 5.818 MB / 1.171 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005042/1.706, allocations: 1.683 MB / 1.172 GB, free: 11.67 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00675/1.713, allocations: 2.151 MB / 1.175 GB, free: 9.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02389/1.737, allocations: 7.424 MB / 1.182 GB, free: 2.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.737, allocations: 3.938 kB / 1.182 GB, free: 2.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/1.737, allocations: 0 / 1.182 GB, free: 2.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002427/1.737, allocations: 0 / 1.182 GB, free: 2.062 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01969/1.757, allocations: 4.511 MB / 1.186 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/1.757, allocations: 8.031 kB / 1.186 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/1.763, allocations: 0.8816 MB / 1.187 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/1.768, allocations: 1.995 MB / 1.189 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/1.768, allocations: 234.2 kB / 1.189 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007201/1.769, allocations: 320 kB / 1.19 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008002/1.777, allocations: 4.157 MB / 1.194 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.56e-05/1.777, allocations: 15.78 kB / 1.194 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/1.777, allocations: 132 kB / 1.194 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/1.777, allocations: 158.1 kB / 1.194 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007479/1.785, allocations: 4.193 MB / 1.198 GB, free: 1.211 MB / 0.9356 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.02149/1.806, allocations: 15.35 MB / 1.213 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/1.812, allocations: 3.483 MB / 1.216 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/1.814, allocations: 1.877 MB / 1.218 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/1.816, allocations: 1.596 MB / 1.22 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002876/1.819, allocations: 1.69 MB / 1.221 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=301): time 4.739e-06/1.819, allocations: 0 / 1.221 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=301): time 0.00773/1.827, allocations: 4.366 MB / 1.226 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/1.827, allocations: 81.78 kB / 1.226 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.829, allocations: 1.566 MB / 1.227 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003023/1.83, allocations: 81.7 kB / 1.227 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.831, allocations: 1.148 MB / 1.228 GB, free: 276 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.832, allocations: 1.029 MB / 1.229 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007412/1.833, allocations: 473.9 kB / 1.23 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.833, allocations: 309.1 kB / 1.23 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.835, allocations: 1.266 MB / 1.231 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/1.837, allocations: 1.667 MB / 1.233 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/1.842, allocations: 3.153 MB / 1.236 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/1.842, allocations: 4 kB / 1.236 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006251/1.848, allocations: 3.483 MB / 1.24 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/1.848, allocations: 37.69 kB / 1.24 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.848, allocations: 8 kB / 1.24 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/1.848, allocations: 20 kB / 1.24 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/1.851, allocations: 0.5971 MB / 1.24 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.821e-05/1.851, allocations: 20 kB / 1.24 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.853, allocations: 253.3 kB / 1.24 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/1.854, allocations: 99.98 kB / 1.241 GB, free: 3.523 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (351): * Single equations (assignments): 350 * 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.001438/1.855, allocations: 0.7897 MB / 1.241 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/1.856, allocations: 249.1 kB / 1.242 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/1.861, allocations: 3.452 MB / 1.245 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/1.861, allocations: 28 kB / 1.245 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.861, allocations: 0 / 1.245 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004543/1.866, allocations: 3.098 MB / 1.248 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.878, allocations: 7.124 MB / 1.255 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.878, allocations: 4 kB / 1.255 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/1.88, allocations: 0.6124 MB / 1.256 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.461e-05/1.88, allocations: 16.03 kB / 1.256 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/1.881, allocations: 72.03 kB / 1.256 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/1.881, allocations: 16 kB / 1.256 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.881, allocations: 0 / 1.256 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008143/1.889, allocations: 5.393 MB / 1.261 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.891, allocations: 0.6731 MB / 1.262 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004678/1.891, allocations: 63.98 kB / 1.262 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/1.893, allocations: 74.88 kB / 1.262 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/1.893, allocations: 194 kB / 1.262 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.893, allocations: 95.95 kB / 1.262 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001539/1.895, allocations: 1.074 MB / 1.263 GB, free: 12.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.895, allocations: 0 / 1.263 GB, free: 12.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002528/1.897, allocations: 1.099 MB / 1.264 GB, free: 10.94 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,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 (301): * Single equations (assignments): 299 * 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.0008318/1.898, allocations: 399.4 kB / 1.265 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005254/1.904, allocations: 3.216 MB / 1.268 GB, free: 7.297 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.904, allocations: 0 / 1.268 GB, free: 7.297 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.906, allocations: 1.691 MB / 1.269 GB, free: 5.602 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/1.913, allocations: 1.37 MB / 1.271 GB, free: 4.254 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.923, allocations: 6.818 MB / 1.277 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/1.925, allocations: 2.129 MB / 1.279 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003587/1.929, allocations: 0.9858 MB / 1.28 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008584/1.93, allocations: 235.4 kB / 1.281 GB, free: 9.988 MB / 1.029 GB Notification: Performance of SimCode: time 2.705e-06/1.93, allocations: 0 / 1.281 GB, free: 9.988 MB / 1.029 GB Notification: Performance of Templates: time 0.5912/2.521, allocations: 54.48 MB / 1.334 GB, free: 387.6 MB / 1.045 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)