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.001039/0.001039, allocations: 102.8 kB / 16.29 MB, free: 6.434 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.001067/0.001067, allocations: 187.5 kB / 17.22 MB, free: 5.93 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.356/1.356, allocations: 205.1 MB / 223.1 MB, free: 12.34 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.844/1.844, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001444/0.001444, allocations: 59.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2425, allocations: 114.5 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7805/1.023, allocations: 294.2 MB / 1.071 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03215/1.055, allocations: 22.94 MB / 1.094 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/1.059, allocations: 71.69 kB / 1.094 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004984/1.064, allocations: 1.794 MB / 1.096 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01543/1.079, allocations: 6.049 MB / 1.101 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009097/1.088, allocations: 2.942 MB / 1.104 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01156/1.1, allocations: 7.277 MB / 1.111 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005564/1.105, allocations: 2.978 MB / 1.114 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/1.113, allocations: 2.876 MB / 1.117 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005186/1.118, allocations: 2.711 MB / 1.12 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001298/1.119, allocations: 344 kB / 1.12 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/1.131, allocations: 5.99 MB / 1.126 GB, free: 11.87 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/1.134, allocations: 1.461 MB / 1.127 GB, free: 10.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003937/1.138, allocations: 1.902 MB / 1.129 GB, free: 8.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/1.152, allocations: 6.938 MB / 1.136 GB, free: 1.539 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.152, allocations: 0 / 1.136 GB, free: 1.539 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/1.152, allocations: 0 / 1.136 GB, free: 1.539 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000177/1.152, allocations: 0 / 1.136 GB, free: 1.539 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.4094/1.562, allocations: 4.086 MB / 1.14 GB, free: 307.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.562, allocations: 9.359 kB / 1.14 GB, free: 307.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/1.567, allocations: 0.8376 MB / 1.141 GB, free: 307.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/1.57, allocations: 1.776 MB / 1.143 GB, free: 307 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/1.57, allocations: 208.2 kB / 1.143 GB, free: 307 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/1.571, allocations: 279.2 kB / 1.143 GB, free: 307 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/1.576, allocations: 3.596 MB / 1.147 GB, free: 306.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.435e-05/1.576, allocations: 11.08 kB / 1.147 GB, free: 306.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/1.577, allocations: 113.1 kB / 1.147 GB, free: 306.1 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.577, allocations: 148.2 kB / 1.147 GB, free: 306.1 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005858/1.583, allocations: 3.281 MB / 1.15 GB, free: 305 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.01707/1.6, allocations: 14.18 MB / 1.164 GB, free: 294.6 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/1.604, allocations: 2.537 MB / 1.166 GB, free: 293.3 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/1.606, allocations: 1.353 MB / 1.168 GB, free: 292.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.607, allocations: 1.375 MB / 1.169 GB, free: 291.3 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002122/1.609, allocations: 1.222 MB / 1.17 GB, free: 290.9 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 4.218e-06/1.609, allocations: 0 / 1.17 GB, free: 290.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.006097/1.615, allocations: 3.16 MB / 1.173 GB, free: 289.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.615, allocations: 78.03 kB / 1.173 GB, free: 289.6 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/1.617, allocations: 1.44 MB / 1.175 GB, free: 289.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.618, allocations: 68.98 kB / 1.175 GB, free: 289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009214/1.619, allocations: 1.11 MB / 1.176 GB, free: 288.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/1.619, allocations: 0.7359 MB / 1.177 GB, free: 287.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/1.62, allocations: 365.5 kB / 1.177 GB, free: 287.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/1.62, allocations: 302.2 kB / 1.177 GB, free: 287.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/1.622, allocations: 0.9103 MB / 1.178 GB, free: 286.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/1.625, allocations: 1.268 MB / 1.179 GB, free: 286.1 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/1.628, allocations: 2.316 MB / 1.182 GB, free: 284.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.629, allocations: 2.75 kB / 1.182 GB, free: 284.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005075/1.634, allocations: 2.592 MB / 1.184 GB, free: 283.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/1.634, allocations: 34.02 kB / 1.184 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.634, allocations: 12.84 kB / 1.184 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/1.634, allocations: 15.64 kB / 1.184 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/1.636, allocations: 465.9 kB / 1.185 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.984e-05/1.636, allocations: 23.62 kB / 1.185 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.638, allocations: 191.4 kB / 1.185 GB, free: 283.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/1.638, allocations: 77.58 kB / 1.185 GB, free: 283.8 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.00137/1.639, allocations: 0.6818 MB / 1.186 GB, free: 283.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/1.64, allocations: 213 kB / 1.186 GB, free: 283.3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/1.644, allocations: 2.517 MB / 1.188 GB, free: 282.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/1.644, allocations: 20.94 kB / 1.188 GB, free: 282.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.644, allocations: 1.641 kB / 1.188 GB, free: 282.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003325/1.648, allocations: 2.319 MB / 1.191 GB, free: 281.2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009831/1.658, allocations: 5.584 MB / 1.196 GB, free: 278.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.658, allocations: 2.703 kB / 1.196 GB, free: 278.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/1.66, allocations: 490.8 kB / 1.197 GB, free: 278.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/1.66, allocations: 10.59 kB / 1.197 GB, free: 278.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/1.66, allocations: 53.88 kB / 1.197 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-05/1.66, allocations: 14.44 kB / 1.197 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.66, allocations: 6.406 kB / 1.197 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00605/1.666, allocations: 3.984 MB / 1.201 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.668, allocations: 0.536 MB / 1.201 GB, free: 276.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/1.668, allocations: 53.16 kB / 1.201 GB, free: 276.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.669, allocations: 63.59 kB / 1.201 GB, free: 276.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.67, allocations: 150.4 kB / 1.201 GB, free: 276.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.67, allocations: 67.03 kB / 1.201 GB, free: 276.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001322/1.671, allocations: 0.9839 MB / 1.202 GB, free: 276.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.671, allocations: 0 / 1.202 GB, free: 276.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002372/1.673, allocations: 0.9329 MB / 1.203 GB, free: 276 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.0007985/1.674, allocations: 386.8 kB / 1.204 GB, free: 275.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003911/1.678, allocations: 2.343 MB / 1.206 GB, free: 275 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.678, allocations: 2.188 kB / 1.206 GB, free: 275 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/1.68, allocations: 1.231 MB / 1.207 GB, free: 274.4 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005628/1.686, allocations: 1.288 MB / 1.208 GB, free: 273.9 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/1.695, allocations: 5.739 MB / 1.214 GB, free: 270.6 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.696, allocations: 1.966 MB / 1.216 GB, free: 269.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002834/1.699, allocations: 0.7108 MB / 1.217 GB, free: 269.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000709/1.7, allocations: 204.6 kB / 1.217 GB, free: 269.1 MB / 0.92 GB Notification: Performance of SimCode: time 1.002e-06/1.7, allocations: 0 / 1.217 GB, free: 269.1 MB / 0.92 GB Notification: Performance of Templates: time 0.06377/1.763, allocations: 47.64 MB / 1.263 GB, free: 223.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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)