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/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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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-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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007005/0.007005, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.00144/0.00144, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.498/1.498, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6479/0.6479, allocations: 95.48 MB / 365.4 MB, free: 9.77 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 75.83 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1637, allocations: 69.08 MB / 0.5711 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.568/0.7317, allocations: 210.9 MB / 0.7771 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.7559, allocations: 17.74 MB / 0.7944 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.7594, allocations: 59.69 kB / 0.7945 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.7632, allocations: 1.141 MB / 0.7956 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.7737, allocations: 2.956 MB / 0.7985 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007564/0.7813, allocations: 2.285 MB / 0.8007 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009585/0.7909, allocations: 6.546 MB / 0.8071 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/0.7953, allocations: 2.704 MB / 0.8097 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007006/0.8024, allocations: 2.65 MB / 0.8123 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005562/0.8079, allocations: 2.815 MB / 0.8151 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008902/0.8088, allocations: 316 kB / 0.8154 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005678/0.8145, allocations: 2.114 MB / 0.8174 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.8159, allocations: 1.056 MB / 0.8185 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.8187, allocations: 1.661 MB / 0.8201 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008085/0.8268, allocations: 4.675 MB / 0.8247 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8269, allocations: 0 / 0.8247 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8269, allocations: 0 / 0.8247 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001104/0.827, allocations: 0 / 0.8247 GB, free: 10.54 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007864/0.8348, allocations: 3.547 MB / 0.8281 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.8349, allocations: 11.98 kB / 0.8281 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.836, allocations: 347 kB / 0.8285 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.8389, allocations: 1.617 MB / 0.83 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.8391, allocations: 180.8 kB / 0.8302 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.8395, allocations: 247.9 kB / 0.8304 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005264/0.8447, allocations: 3.002 MB / 0.8334 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/0.8448, allocations: 7.953 kB / 0.8334 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.8451, allocations: 104 kB / 0.8335 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.8451, allocations: 67.98 kB / 0.8336 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00511/0.8502, allocations: 2.906 MB / 0.8364 GB, free: 14.22 MB / 0.6544 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.0169/0.8672, allocations: 12.3 MB / 0.8484 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/0.8709, allocations: 2.365 MB / 0.8507 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.873, allocations: 1.336 MB / 0.852 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008791/0.8818, allocations: 6.372 MB / 0.8582 GB, free: 6.191 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002209/0.8841, allocations: 1.328 MB / 0.8595 GB, free: 4.836 MB / 0.67 GB Notification: Performance of pre-optimization done (n=231): time 4.118e-06/0.8841, allocations: 3.938 kB / 0.8595 GB, free: 4.832 MB / 0.67 GB Notification: Performance of matching and sorting (n=249): time 0.01765/0.9017, allocations: 7.261 MB / 0.8666 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.9019, allocations: 213.9 kB / 0.8668 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.9042, allocations: 1.38 MB / 0.8682 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.9044, allocations: 73.7 kB / 0.8683 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009608/0.9054, allocations: 0.9649 MB / 0.8692 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008872/0.9063, allocations: 0.8907 MB / 0.8701 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007296/0.907, allocations: 441.1 kB / 0.8705 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.9071, allocations: 305.1 kB / 0.8708 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.9089, allocations: 0.9965 MB / 0.8718 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.9111, allocations: 1.473 MB / 0.8732 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02186/0.933, allocations: 6.352 MB / 0.8794 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/0.933, allocations: 4 kB / 0.8794 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.007545/0.9406, allocations: 3.081 MB / 0.8824 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.9407, allocations: 160.4 kB / 0.8826 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.9408, allocations: 12 kB / 0.8826 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.528e-05/0.9408, allocations: 20.72 kB / 0.8826 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.9442, allocations: 0.6592 MB / 0.8832 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-05/0.9443, allocations: 23.94 kB / 0.8833 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.9466, allocations: 95.91 kB / 0.8834 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004394/0.9471, allocations: 104 kB / 0.8834 GB, free: 11.65 MB / 0.7012 GB Warning: Assuming fixed start value for the following 6 variables: volEas.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = volEas.dynBal.p_start unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volWes.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = volWes.dynBal.p_start unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volTop.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = volTop.dynBal.p_start unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volTop.dynBal.mC[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true ) "Masses of trace substances in the fluid" type: Real [1] volWes.dynBal.mC[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true ) "Masses of trace substances in the fluid" type: Real [1] volEas.dynBal.mC[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true ) "Masses of trace substances in the fluid" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 5 * 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.001748/0.9488, allocations: 0.6271 MB / 0.8841 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008619/0.9497, allocations: 222.6 kB / 0.8843 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006409/0.9561, allocations: 3.167 MB / 0.8874 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/0.9562, allocations: 31.98 kB / 0.8874 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.9562, allocations: 0 / 0.8874 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.9562, allocations: 15.94 kB / 0.8874 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.9667, allocations: 5.522 MB / 0.8928 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.9667, allocations: 4 kB / 0.8928 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/0.9695, allocations: 0.5423 MB / 0.8933 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.969e-05/0.9696, allocations: 19.88 kB / 0.8934 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/0.9698, allocations: 63.98 kB / 0.8934 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-05/0.9698, allocations: 19.97 kB / 0.8934 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9698, allocations: 4 kB / 0.8934 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3418/1.312, allocations: 4.255 MB / 0.8976 GB, free: 266.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.313, allocations: 0.5265 MB / 0.8981 GB, free: 266.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/1.313, allocations: 60.88 kB / 0.8982 GB, free: 266.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.315, allocations: 63.86 kB / 0.8982 GB, free: 266.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/1.315, allocations: 187 kB / 0.8984 GB, free: 266.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/1.315, allocations: 86.05 kB / 0.8985 GB, free: 266.4 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001601/1.317, allocations: 0.9571 MB / 0.8994 GB, free: 266 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.317, allocations: 0 / 0.8994 GB, free: 266 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002782/1.32, allocations: 0.9239 MB / 0.9003 GB, free: 265.9 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 12 (volEas.dynBal.medium.p,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.p,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.p,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 (271): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001566/1.321, allocations: 0.7144 MB / 0.901 GB, free: 265.8 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005709/1.327, allocations: 2.905 MB / 0.9039 GB, free: 264.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.327, allocations: 5.062 kB / 0.9039 GB, free: 264.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002851/1.33, allocations: 1.402 MB / 0.9052 GB, free: 264.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005/1.335, allocations: 1.05 MB / 0.9063 GB, free: 263.8 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009998/1.345, allocations: 5.478 MB / 0.9116 GB, free: 261.3 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/1.347, allocations: 1.759 MB / 0.9133 GB, free: 260.5 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003572/1.35, allocations: 0.7567 MB / 0.9141 GB, free: 260.3 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008345/1.351, allocations: 223.7 kB / 0.9143 GB, free: 260.3 MB / 0.7012 GB Notification: Performance of SimCode: time 1.242e-06/1.351, allocations: 1.031 kB / 0.9143 GB, free: 260.3 MB / 0.7012 GB Notification: Performance of Templates: time 0.07006/1.421, allocations: 50.05 MB / 0.9632 GB, free: 221.6 MB / 0.7012 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)