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.587/0.587, allocations: 94.76 MB / 102.2 MB, free: 14.07 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.001118/0.001118, allocations: 172.1 kB / 125.6 MB, free: 7.918 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.815/1.815, allocations: 170.6 MB / 319.4 MB, free: 1.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001814/0.001814, allocations: 115.6 kB / 381.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.883e-05, allocations: 4 kB / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1449, allocations: 61.52 MB / 0.4986 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.376, allocations: 411.4 MB / 0.9004 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.376, allocations: 86.06 kB / 0.9005 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.559/4.935, allocations: 0.7742 GB / 1.675 GB, free: 49.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.154e-06/4.935, allocations: 1.281 kB / 1.675 GB, free: 49.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002772/4.935, allocations: 60.52 kB / 1.675 GB, free: 49.5 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.01095/4.946, allocations: 2.747 MB / 1.677 GB, free: 48.17 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/4.947, allocations: 9.094 kB / 1.677 GB, free: 48.17 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/4.949, allocations: 282.1 kB / 1.678 GB, free: 48.04 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006432/4.956, allocations: 1.715 MB / 1.679 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/4.956, allocations: 66.19 kB / 1.679 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/4.957, allocations: 131.8 kB / 1.68 GB, free: 47.63 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005713/4.963, allocations: 2.051 MB / 1.682 GB, free: 47.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006712/4.969, allocations: 2.032 MB / 1.683 GB, free: 47.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.612e-05/4.97, allocations: 8.438 kB / 1.684 GB, free: 47.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006064/4.97, allocations: 5.062 kB / 1.684 GB, free: 47.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/4.97, allocations: 49.97 kB / 1.684 GB, free: 47.32 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.01794/4.988, allocations: 9.052 MB / 1.692 GB, free: 43.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/4.991, allocations: 1.904 MB / 1.694 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/4.993, allocations: 1.057 MB / 1.695 GB, free: 43.28 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009374/5.003, allocations: 5.562 MB / 1.701 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/5.004, allocations: 1.048 MB / 1.702 GB, free: 39.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=202): time 7.103e-06/5.005, allocations: 1.406 kB / 1.702 GB, free: 39.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=220): time 0.01696/5.021, allocations: 5.201 MB / 1.707 GB, free: 38.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/5.022, allocations: 202.6 kB / 1.707 GB, free: 38.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/5.024, allocations: 0.9287 MB / 1.708 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002833/5.024, allocations: 29.64 kB / 1.708 GB, free: 38.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/5.025, allocations: 0.8638 MB / 1.709 GB, free: 37.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008269/5.026, allocations: 0.7082 MB / 1.709 GB, free: 37.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/5.026, allocations: 3.906 kB / 1.709 GB, free: 37.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000222/5.027, allocations: 387.6 kB / 1.71 GB, free: 36.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/5.028, allocations: 0.7505 MB / 1.711 GB, free: 36.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/5.03, allocations: 1.233 MB / 1.712 GB, free: 35.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/5.033, allocations: 1.114 MB / 1.713 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/5.033, allocations: 6.281 kB / 1.713 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006312/5.039, allocations: 2.38 MB / 1.715 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.93e-05/5.039, allocations: 40.08 kB / 1.715 GB, free: 34.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/5.039, allocations: 11.12 kB / 1.715 GB, free: 34.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.808e-05/5.04, allocations: 22.47 kB / 1.715 GB, free: 34.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/5.042, allocations: 0.5756 MB / 1.716 GB, free: 34.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-05/5.042, allocations: 30.83 kB / 1.716 GB, free: 34.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/5.045, allocations: 180.2 kB / 1.716 GB, free: 34.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/5.046, allocations: 96.23 kB / 1.716 GB, free: 34.2 MB / 0.5417 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.0008896/5.046, allocations: 376.8 kB / 1.717 GB, free: 34.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/5.047, allocations: 183.6 kB / 1.717 GB, free: 33.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006826/5.054, allocations: 2.479 MB / 1.719 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/5.054, allocations: 31.3 kB / 1.719 GB, free: 33.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/5.054, allocations: 0 / 1.719 GB, free: 33.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/5.054, allocations: 13.94 kB / 1.719 GB, free: 33.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/5.065, allocations: 4.46 MB / 1.723 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/5.065, allocations: 6.328 kB / 1.724 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/5.068, allocations: 495.1 kB / 1.724 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.23e-05/5.068, allocations: 9.875 kB / 1.724 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/5.068, allocations: 34.59 kB / 1.724 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.832e-05/5.068, allocations: 7.219 kB / 1.724 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/5.068, allocations: 3.594 kB / 1.724 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007353/5.076, allocations: 3.637 MB / 1.728 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/5.077, allocations: 0.4894 MB / 1.728 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007639/5.078, allocations: 10.59 kB / 1.728 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/5.081, allocations: 126.8 kB / 1.728 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/5.081, allocations: 152.5 kB / 1.728 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/5.082, allocations: 78.72 kB / 1.728 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001669/5.083, allocations: 0.6932 MB / 1.729 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/5.083, allocations: 0 / 1.729 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004541/5.088, allocations: 0.8477 MB / 1.73 GB, free: 27.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (244): * Single equations (assignments): 236 * 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.003581/5.091, allocations: 1.184 MB / 1.731 GB, free: 26.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004017/5.095, allocations: 2.099 MB / 1.733 GB, free: 24.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/5.095, allocations: 0 / 1.733 GB, free: 24.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/5.097, allocations: 1.104 MB / 1.734 GB, free: 23.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/5.103, allocations: 0.7514 MB / 1.735 GB, free: 23.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/5.113, allocations: 3.672 MB / 1.739 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/5.115, allocations: 1.598 MB / 1.74 GB, free: 18.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004324/5.119, allocations: 0.6284 MB / 1.741 GB, free: 18.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/5.12, allocations: 202.5 kB / 1.741 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of SimCode: time 1.854e-06/5.121, allocations: 3.375 kB / 1.741 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.5375/5.658, allocations: 39.78 MB / 1.78 GB, free: 63.7 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)