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: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001333/0.001333, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001343/0.001343, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.732/1.732, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001416/0.001417, allocations: 67.89 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2206, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.686/0.9067, allocations: 294.2 MB / 1.072 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02968/0.9364, allocations: 22.92 MB / 1.094 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.9401, allocations: 75.69 kB / 1.095 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005282/0.9455, allocations: 1.794 MB / 1.096 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01531/0.9609, allocations: 6.049 MB / 1.102 GB, free: 4.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007964/0.9689, allocations: 2.941 MB / 1.105 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009555/0.9784, allocations: 7.277 MB / 1.112 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004324/0.9828, allocations: 2.98 MB / 1.115 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006817/0.9897, allocations: 2.872 MB / 1.118 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.9958, allocations: 2.708 MB / 1.121 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009309/0.9968, allocations: 344 kB / 1.121 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/1.011, allocations: 5.99 MB / 1.127 GB, free: 11.33 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003162/1.014, allocations: 1.461 MB / 1.128 GB, free: 9.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003894/1.018, allocations: 1.902 MB / 1.13 GB, free: 7.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01386/1.032, allocations: 6.938 MB / 1.137 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.032, allocations: 0 / 1.137 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.934e-06/1.032, allocations: 0 / 1.137 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001307/1.032, allocations: 0 / 1.137 GB, free: 0.9961 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.4018/1.434, allocations: 4.083 MB / 1.141 GB, free: 308.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.434, allocations: 10.5 kB / 1.141 GB, free: 308.1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/1.439, allocations: 0.8439 MB / 1.142 GB, free: 307.9 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/1.443, allocations: 1.832 MB / 1.143 GB, free: 307.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/1.443, allocations: 212.2 kB / 1.144 GB, free: 307.4 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/1.443, allocations: 278.5 kB / 1.144 GB, free: 307.4 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/1.449, allocations: 3.599 MB / 1.147 GB, free: 306.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/1.449, allocations: 10.56 kB / 1.147 GB, free: 306.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/1.449, allocations: 119.7 kB / 1.147 GB, free: 306.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/1.449, allocations: 144.6 kB / 1.148 GB, free: 306.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005991/1.455, allocations: 3.279 MB / 1.151 GB, free: 305.3 MB / 0.92 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.0176/1.473, allocations: 14.18 MB / 1.165 GB, free: 294.9 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/1.477, allocations: 2.545 MB / 1.167 GB, free: 293.7 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/1.479, allocations: 1.354 MB / 1.168 GB, free: 293.2 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/1.48, allocations: 1.375 MB / 1.17 GB, free: 291.7 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/1.482, allocations: 1.222 MB / 1.171 GB, free: 291.2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 4.618e-06/1.482, allocations: 0 / 1.171 GB, free: 291.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.006047/1.488, allocations: 3.158 MB / 1.174 GB, free: 290 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/1.488, allocations: 84.14 kB / 1.174 GB, free: 290 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/1.491, allocations: 1.442 MB / 1.176 GB, free: 289.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/1.491, allocations: 63.92 kB / 1.176 GB, free: 289.4 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/1.492, allocations: 1.107 MB / 1.177 GB, free: 288.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006607/1.492, allocations: 0.7321 MB / 1.177 GB, free: 288 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005764/1.493, allocations: 360.9 kB / 1.178 GB, free: 287.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/1.493, allocations: 301.1 kB / 1.178 GB, free: 287.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/1.495, allocations: 0.9097 MB / 1.179 GB, free: 287.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.496, allocations: 1.271 MB / 1.18 GB, free: 286.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/1.5, allocations: 2.322 MB / 1.182 GB, free: 285.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/1.5, allocations: 2.719 kB / 1.182 GB, free: 285.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004582/1.504, allocations: 2.588 MB / 1.185 GB, free: 284.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/1.504, allocations: 36.3 kB / 1.185 GB, free: 284.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.504, allocations: 11.5 kB / 1.185 GB, free: 284.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.093e-05/1.504, allocations: 19.72 kB / 1.185 GB, free: 284.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/1.506, allocations: 461.8 kB / 1.186 GB, free: 284.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-05/1.506, allocations: 20.2 kB / 1.186 GB, free: 284.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.509, allocations: 188.8 kB / 1.186 GB, free: 284.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.509, allocations: 78 kB / 1.186 GB, free: 284.1 MB / 0.92 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.001451/1.51, allocations: 0.6854 MB / 1.186 GB, free: 283.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/1.511, allocations: 214.5 kB / 1.187 GB, free: 283.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/1.515, allocations: 2.518 MB / 1.189 GB, free: 282.6 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.515, allocations: 21.64 kB / 1.189 GB, free: 282.6 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.515, allocations: 0 / 1.189 GB, free: 282.6 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003405/1.519, allocations: 2.323 MB / 1.191 GB, free: 281.5 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.529, allocations: 5.58 MB / 1.197 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.529, allocations: 2.953 kB / 1.197 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.531, allocations: 489 kB / 1.197 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/1.531, allocations: 9.125 kB / 1.197 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/1.531, allocations: 58.73 kB / 1.197 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/1.531, allocations: 17.23 kB / 1.197 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.531, allocations: 6 kB / 1.197 GB, free: 279.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006045/1.537, allocations: 3.984 MB / 1.201 GB, free: 277.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.539, allocations: 0.5323 MB / 1.202 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/1.539, allocations: 53.09 kB / 1.202 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.541, allocations: 63.06 kB / 1.202 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/1.541, allocations: 152.7 kB / 1.202 GB, free: 276.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.541, allocations: 71.61 kB / 1.202 GB, free: 276.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001368/1.543, allocations: 0.9762 MB / 1.203 GB, free: 276.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/1.543, allocations: 1.344 kB / 1.203 GB, free: 276.6 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002471/1.545, allocations: 0.9345 MB / 1.204 GB, free: 276.4 MB / 0.92 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.0008239/1.546, allocations: 386 kB / 1.204 GB, free: 276.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003769/1.55, allocations: 2.346 MB / 1.207 GB, free: 275.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.55, allocations: 1.062 kB / 1.207 GB, free: 275.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.551, allocations: 1.223 MB / 1.208 GB, free: 274.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005679/1.557, allocations: 1.29 MB / 1.209 GB, free: 274.1 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/1.565, allocations: 5.919 MB / 1.215 GB, free: 270.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.567, allocations: 1.968 MB / 1.217 GB, free: 269.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.568, allocations: 215.9 kB / 1.217 GB, free: 269.4 MB / 0.92 GB Notification: Performance of SimCode: time 8.51e-07/1.568, allocations: 0 / 1.217 GB, free: 269.4 MB / 0.92 GB Notification: Performance of Templates: time 0.05138/1.619, allocations: 41.71 MB / 1.258 GB, free: 229.3 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (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 & ./Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)