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.5329/0.5329, allocations: 95.61 MB / 110.6 MB, free: 9.383 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.0011/0.0011, allocations: 176 kB / 134.2 MB, free: 2.258 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.29/1.29, allocations: 170.7 MB / 328.4 MB, free: 12.27 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.001603/0.001603, allocations: 123.1 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 61.53 MB / 0.512 GB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9975/1.121, allocations: 411.8 MB / 0.9141 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.122, allocations: 89.95 kB / 0.9141 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.98/4.102, allocations: 0.7806 GB / 1.695 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.754e-06/4.102, allocations: 1.906 kB / 1.695 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001489/4.102, allocations: 52.08 kB / 1.695 GB, free: 49.43 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.0106/4.113, allocations: 3.028 MB / 1.698 GB, free: 47.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.555e-05/4.113, allocations: 16.02 kB / 1.698 GB, free: 47.87 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/4.115, allocations: 283.6 kB / 1.698 GB, free: 47.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005067/4.12, allocations: 1.733 MB / 1.7 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/4.12, allocations: 156.4 kB / 1.7 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/4.121, allocations: 205.3 kB / 1.7 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/4.125, allocations: 2.372 MB / 1.702 GB, free: 46.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/4.125, allocations: 4 kB / 1.702 GB, free: 46.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/4.125, allocations: 88.03 kB / 1.702 GB, free: 46.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/4.126, allocations: 52.72 kB / 1.703 GB, free: 46.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/4.13, allocations: 2.282 MB / 1.705 GB, free: 45.11 MB / 0.5417 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.01333/4.143, allocations: 9.081 MB / 1.714 GB, free: 37.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/4.146, allocations: 2.085 MB / 1.716 GB, free: 36.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007814/4.154, allocations: 6.001 MB / 1.722 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00177/4.155, allocations: 1.167 MB / 1.723 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=208): time 4.028e-06/4.155, allocations: 0 / 1.723 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=226): time 0.016/4.171, allocations: 6.587 MB / 1.729 GB, free: 22.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/4.172, allocations: 213.9 kB / 1.729 GB, free: 22.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/4.173, allocations: 1.098 MB / 1.73 GB, free: 21.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/4.173, allocations: 65.7 kB / 1.73 GB, free: 21.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/4.174, allocations: 0.8454 MB / 1.731 GB, free: 20.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004774/4.174, allocations: 0.7662 MB / 1.732 GB, free: 19.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/4.174, allocations: 44 kB / 1.732 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001212/4.175, allocations: 398.3 kB / 1.732 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/4.176, allocations: 0.8281 MB / 1.733 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/4.177, allocations: 1.329 MB / 1.735 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/4.179, allocations: 1.064 MB / 1.736 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/4.179, allocations: 8 kB / 1.736 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003976/4.183, allocations: 2.524 MB / 1.738 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/4.183, allocations: 33.7 kB / 1.738 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/4.183, allocations: 12 kB / 1.738 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/4.183, allocations: 23.42 kB / 1.738 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/4.185, allocations: 0.5815 MB / 1.739 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.967e-05/4.186, allocations: 27.94 kB / 1.739 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/4.188, allocations: 223.7 kB / 1.739 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/4.188, allocations: 91.97 kB / 1.739 GB, free: 12.27 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.001359/4.189, allocations: 0.7205 MB / 1.74 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/4.19, allocations: 197 kB / 1.74 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/4.194, allocations: 2.871 MB / 1.743 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/4.194, allocations: 28 kB / 1.743 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/4.194, allocations: 0 / 1.743 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.406e-05/4.194, allocations: 11.95 kB / 1.743 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007872/4.202, allocations: 4.951 MB / 1.748 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/4.202, allocations: 0 / 1.748 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/4.205, allocations: 0.4945 MB / 1.748 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/4.205, allocations: 16.28 kB / 1.748 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/4.205, allocations: 59.97 kB / 1.748 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/4.205, allocations: 15.94 kB / 1.748 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/4.205, allocations: 4 kB / 1.748 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/4.211, allocations: 3.97 MB / 1.752 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/4.212, allocations: 0.5061 MB / 1.753 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/4.213, allocations: 51.98 kB / 1.753 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/4.214, allocations: 171.7 kB / 1.753 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/4.215, allocations: 157.8 kB / 1.753 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/4.215, allocations: 79.97 kB / 1.753 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001651/4.217, allocations: 0.868 MB / 1.754 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/4.217, allocations: 0 / 1.754 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004556/4.221, allocations: 0.9292 MB / 1.755 GB, free: 11.88 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) * Number of clocked states: 0 () * 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.002906/4.224, allocations: 1.205 MB / 1.756 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004363/4.229, allocations: 2.309 MB / 1.758 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/4.229, allocations: 2 kB / 1.758 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/4.231, allocations: 1.21 MB / 1.759 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/4.235, allocations: 0.8851 MB / 1.76 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008971/4.244, allocations: 5.577 MB / 1.766 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3982/4.642, allocations: 1.593 MB / 1.767 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004032/4.646, allocations: 0.641 MB / 1.768 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008339/4.647, allocations: 211 kB / 1.768 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.844e-06/4.647, allocations: 0.8125 kB / 1.768 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.08363/4.731, allocations: 46.74 MB / 1.814 GB, free: 58.93 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)