Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5621/0.5621, allocations: 94.69 MB / 107.2 MB, free: 5.184 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001091/0.001091, allocations: 166.5 kB / 130.7 MB, free: 7.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.65/1.65, allocations: 170.5 MB / 324.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001656/0.001656, allocations: 120.3 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.656e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4862, allocations: 61.51 MB / 0.5054 GB, free: 49.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.678, allocations: 411.7 MB / 0.9074 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.678, allocations: 91.3 kB / 0.9075 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.918/4.596, allocations: 0.7781 GB / 1.686 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.012e-06/4.596, allocations: 0 / 1.686 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001365/4.596, allocations: 55.98 kB / 1.686 GB, free: 35.45 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.008382/4.605, allocations: 2.753 MB / 1.688 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/4.605, allocations: 8.031 kB / 1.688 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/4.606, allocations: 288.8 kB / 1.689 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/4.611, allocations: 1.712 MB / 1.69 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/4.611, allocations: 152 kB / 1.69 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/4.611, allocations: 208 kB / 1.691 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003994/4.615, allocations: 2.313 MB / 1.693 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/4.615, allocations: 11.88 kB / 1.693 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/4.616, allocations: 87.98 kB / 1.693 GB, free: 27.67 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/4.616, allocations: 48 kB / 1.693 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/4.619, allocations: 2.189 MB / 1.695 GB, free: 25.43 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.01337/4.632, allocations: 9.076 MB / 1.704 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/4.635, allocations: 2.021 MB / 1.706 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/4.637, allocations: 1.122 MB / 1.707 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007667/4.644, allocations: 6.012 MB / 1.713 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/4.646, allocations: 1.14 MB / 1.714 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=208): time 4.578e-06/4.646, allocations: 4 kB / 1.714 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=226): time 0.01414/4.66, allocations: 5.664 MB / 1.72 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/4.661, allocations: 205.9 kB / 1.72 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/4.663, allocations: 1.084 MB / 1.721 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/4.663, allocations: 73.7 kB / 1.721 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008749/4.664, allocations: 0.8454 MB / 1.722 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008527/4.665, allocations: 0.7662 MB / 1.722 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/4.665, allocations: 51.88 kB / 1.723 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002422/4.665, allocations: 386.4 kB / 1.723 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/4.666, allocations: 0.7893 MB / 1.724 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/4.668, allocations: 1.29 MB / 1.725 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/4.67, allocations: 1.031 MB / 1.726 GB, free: 8.418 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/4.67, allocations: 4 kB / 1.726 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004719/4.675, allocations: 2.438 MB / 1.728 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/4.675, allocations: 38.33 kB / 1.728 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/4.675, allocations: 8 kB / 1.728 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.555e-05/4.675, allocations: 27.95 kB / 1.728 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/4.678, allocations: 0.5854 MB / 1.729 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-05/4.678, allocations: 23.94 kB / 1.729 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/4.681, allocations: 227.6 kB / 1.729 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/4.681, allocations: 91.97 kB / 1.729 GB, free: 4.961 MB / 0.5573 GB Warning: Assuming fixed start value for the following 3 variables: volTop.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volWes.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volEas.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))))))))))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009997/4.682, allocations: 459.7 kB / 1.73 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006826/4.683, allocations: 193.7 kB / 1.73 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/4.688, allocations: 2.798 MB / 1.733 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/4.688, allocations: 28 kB / 1.733 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/4.688, allocations: 3.953 kB / 1.733 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/4.688, allocations: 11.95 kB / 1.733 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5286/5.217, allocations: 4.851 MB / 1.737 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/5.217, allocations: 4.812 kB / 1.737 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/5.22, allocations: 0.4916 MB / 1.738 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.722e-05/5.22, allocations: 13.59 kB / 1.738 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/5.22, allocations: 61.77 kB / 1.738 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.182e-05/5.22, allocations: 15.78 kB / 1.738 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/5.22, allocations: 2.719 kB / 1.738 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/5.226, allocations: 3.846 MB / 1.742 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/5.228, allocations: 0.5121 MB / 1.742 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/5.229, allocations: 49.34 kB / 1.742 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/5.23, allocations: 169.9 kB / 1.742 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/5.231, allocations: 156.5 kB / 1.743 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/5.231, allocations: 84.06 kB / 1.743 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001505/5.232, allocations: 0.8526 MB / 1.744 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/5.232, allocations: 0 / 1.744 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00365/5.236, allocations: 0.931 MB / 1.744 GB, free: 55.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 9 (volEas.dynBal.medium.p,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.p,oriEasTop.mExc,volTop.dynBal.medium.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002854/5.239, allocations: 1.194 MB / 1.746 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003781/5.243, allocations: 2.231 MB / 1.748 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/5.243, allocations: 1.406 kB / 1.748 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/5.245, allocations: 1.169 MB / 1.749 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/5.25, allocations: 0.8879 MB / 1.75 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/5.257, allocations: 3.86 MB / 1.754 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/5.258, allocations: 1.604 MB / 1.755 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003361/5.262, allocations: 0.648 MB / 1.756 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007912/5.262, allocations: 206.2 kB / 1.756 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/5.262, allocations: 4.781 kB / 1.756 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.1027/5.365, allocations: 48.04 MB / 1.803 GB, free: 50.95 MB / 0.5573 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)