Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001378, allocations: 170.9 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.427/2.427, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009102/0.00091, allocations: 82.31 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006353, allocations: 13.16 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2085, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.556, allocations: 456.4 MB / 1.345 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/1.557, allocations: 107.9 kB / 1.345 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 48.73/50.29, allocations: 8.435 GB / 9.78 GB, free: 75.28 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.785e-06/50.29, allocations: 0 / 9.78 GB, free: 75.28 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005474/50.3, allocations: 0.5145 MB / 9.781 GB, free: 75.18 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.1255/50.42, allocations: 21.41 MB / 9.802 GB, free: 67.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/50.42, allocations: 8.25 kB / 9.802 GB, free: 67.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/50.44, allocations: 2.307 MB / 9.804 GB, free: 66.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.114/50.55, allocations: 23.1 MB / 9.827 GB, free: 64.26 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001539/50.56, allocations: 0.7187 MB / 9.827 GB, free: 64.24 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007092/50.56, allocations: 1.019 MB / 9.828 GB, free: 64.22 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05777/50.62, allocations: 16.87 MB / 9.845 GB, free: 62.37 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007166/50.62, allocations: 16.06 kB / 9.845 GB, free: 62.36 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005279/50.63, allocations: 362.6 kB / 9.845 GB, free: 62.36 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002969/50.63, allocations: 212.2 kB / 9.845 GB, free: 62.36 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05659/50.68, allocations: 19.79 MB / 9.865 GB, free: 62.3 MB / 1.151 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.2106/50.9, allocations: 79.05 MB / 9.942 GB, free: 28.73 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03089/50.93, allocations: 11.88 MB / 9.953 GB, free: 28.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02215/50.95, allocations: 9.124 MB / 9.962 GB, free: 28.23 MB / 1.151 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 evalFunc (simulation): time 0.1095/51.06, allocations: 32.97 MB / 9.995 GB, free: 19.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02536/51.08, allocations: 9.26 MB / 10 GB, free: 19.39 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08161/51.16, allocations: 15.12 MB / 10.02 GB, free: 19.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 4.781e-05/51.17, allocations: 0 / 10.02 GB, free: 19.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 3.071/54.24, allocations: 206.6 MB / 10.22 GB, free: 81.77 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007764/54.24, allocations: 2.534 MB / 10.22 GB, free: 78.76 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05362/54.29, allocations: 16.5 MB / 10.24 GB, free: 77.95 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005476/54.3, allocations: 262.6 kB / 10.24 GB, free: 77.92 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01494/54.31, allocations: 7.864 MB / 10.25 GB, free: 77.54 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007761/54.32, allocations: 2.816 MB / 10.25 GB, free: 77.43 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004985/54.32, allocations: 207.3 kB / 10.25 GB, free: 77.43 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001312/54.32, allocations: 0.7521 MB / 10.25 GB, free: 77.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03472/54.36, allocations: 10.18 MB / 10.26 GB, free: 77.08 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03742/54.4, allocations: 13.92 MB / 10.27 GB, free: 73.17 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03725/54.43, allocations: 11.52 MB / 10.29 GB, free: 72.96 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/54.43, allocations: 15.03 kB / 10.29 GB, free: 72.96 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.32/55.76, allocations: 130.7 MB / 10.41 GB, free: 71.14 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001333/55.76, allocations: 1.726 MB / 10.41 GB, free: 68.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005309/55.76, allocations: 120.9 kB / 10.41 GB, free: 68.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416/57.17, allocations: 148.4 MB / 10.56 GB, free: 33.36 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02735/57.2, allocations: 2.691 MB / 10.56 GB, free: 30.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1972/57.4, allocations: 55.01 MB / 10.62 GB, free: 4.137 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03707/57.44, allocations: 1.443 MB / 10.62 GB, free: 2.91 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006477/57.44, allocations: 0.9209 MB / 10.62 GB, free: 2.074 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/57.44, allocations: 0.625 kB / 10.62 GB, free: 2.074 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.556/60, allocations: 128.9 MB / 10.74 GB, free: 113.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006912/60, allocations: 113.6 kB / 10.74 GB, free: 113.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423/61.42, allocations: 148.3 MB / 10.89 GB, free: 111.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02389/61.44, allocations: 2.644 MB / 10.89 GB, free: 111.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2084/61.65, allocations: 58.87 MB / 10.95 GB, free: 94.88 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03591/61.69, allocations: 1.416 MB / 10.95 GB, free: 94.43 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006206/61.7, allocations: 0.8831 MB / 10.95 GB, free: 94.16 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 982 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02166/61.72, allocations: 4.276 MB / 10.96 GB, free: 93.27 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009494/61.73, allocations: 1.551 MB / 10.96 GB, free: 93.27 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3711/62.1, allocations: 51.33 MB / 11.01 GB, free: 56.78 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000193/62.1, allocations: 101.3 kB / 11.01 GB, free: 56.68 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002172/62.1, allocations: 33.12 kB / 11.01 GB, free: 56.65 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3324/62.43, allocations: 45.25 MB / 11.05 GB, free: 19.56 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 1.633/64.06, allocations: 69.81 MB / 11.12 GB, free: 115.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001687/64.06, allocations: 8.172 kB / 11.12 GB, free: 115.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01827/64.08, allocations: 1.697 MB / 11.12 GB, free: 115.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3558/64.44, allocations: 43.46 MB / 11.16 GB, free: 115.1 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003379/64.44, allocations: 341.8 kB / 11.16 GB, free: 115.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08215/64.52, allocations: 26.08 MB / 11.19 GB, free: 108.1 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/64.52, allocations: 9.719 kB / 11.19 GB, free: 108.1 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3794/64.9, allocations: 59.08 MB / 11.25 GB, free: 107.1 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01749/64.92, allocations: 3.625 MB / 11.25 GB, free: 107 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009125/64.93, allocations: 274.3 kB / 11.25 GB, free: 107 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02834/64.96, allocations: 1.215 MB / 11.25 GB, free: 107 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003922/64.96, allocations: 0.5792 MB / 11.25 GB, free: 107 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002995/64.97, allocations: 353.3 kB / 11.25 GB, free: 107 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03464/65, allocations: 11.2 MB / 11.26 GB, free: 106.5 MB / 1.229 GB Notification: Performance of sort global known variables: time 6.11e-07/65, allocations: 1.5 kB / 11.26 GB, free: 106.5 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.07276/65.07, allocations: 8.311 MB / 11.27 GB, free: 106.5 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (713): * Single equations (assignments): 689 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {14 103,14 90,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0149/65.09, allocations: 5.512 MB / 11.28 GB, free: 104.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1568/65.25, allocations: 43.15 MB / 11.32 GB, free: 101.4 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.31e-05/65.25, allocations: 10.62 kB / 11.32 GB, free: 101.4 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04067/65.29, allocations: 11.43 MB / 11.33 GB, free: 101.1 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07669/65.36, allocations: 7.937 MB / 11.34 GB, free: 101 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1098/65.47, allocations: 40.37 MB / 11.38 GB, free: 86.95 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02267/65.5, allocations: 9.087 MB / 11.39 GB, free: 85.82 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04156/65.54, allocations: 5.494 MB / 11.39 GB, free: 85.48 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/65.55, allocations: 1.304 MB / 11.39 GB, free: 85.46 MB / 1.229 GB Notification: Performance of SimCode: time 1.192e-06/65.55, allocations: 0 / 11.39 GB, free: 85.46 MB / 1.229 GB Notification: Performance of Templates: time 2.287/67.83, allocations: 434.9 MB / 11.82 GB, free: 97.01 MB / 1.229 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)