Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001438/0.001437, allocations: 178.5 kB / 326.2 MB, free: 2.848 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.381/2.381, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.000952/0.0009518, allocations: 96.22 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006618/0.0006619, allocations: 16.41 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2209, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.538, allocations: 456.3 MB / 1.345 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/1.539, allocations: 99.69 kB / 1.345 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 48.92/50.46, allocations: 8.434 GB / 9.779 GB, free: 74.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.815e-06/50.46, allocations: 0 / 9.779 GB, free: 74.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.006002/50.46, allocations: 0.5129 MB / 9.78 GB, free: 74.7 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.1214/50.58, allocations: 21.41 MB / 9.801 GB, free: 67.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/50.58, allocations: 8.5 kB / 9.801 GB, free: 67.48 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/50.6, allocations: 2.305 MB / 9.803 GB, free: 66.47 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1125/50.72, allocations: 23.1 MB / 9.826 GB, free: 63.84 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001425/50.72, allocations: 0.7189 MB / 9.826 GB, free: 63.82 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007161/50.72, allocations: 1.019 MB / 9.827 GB, free: 63.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05884/50.78, allocations: 16.86 MB / 9.844 GB, free: 61.95 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007055/50.78, allocations: 13.91 kB / 9.844 GB, free: 61.95 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005241/50.79, allocations: 358.3 kB / 9.844 GB, free: 61.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/50.79, allocations: 220.5 kB / 9.844 GB, free: 61.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05603/50.85, allocations: 19.79 MB / 9.864 GB, free: 61.88 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.2069/51.05, allocations: 79.04 MB / 9.941 GB, free: 28.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03082/51.08, allocations: 11.88 MB / 9.953 GB, free: 27.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02213/51.11, allocations: 9.114 MB / 9.961 GB, free: 27.81 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.1108/51.22, allocations: 32.97 MB / 9.994 GB, free: 19.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02555/51.24, allocations: 9.254 MB / 10 GB, free: 18.98 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08318/51.32, allocations: 15.11 MB / 10.02 GB, free: 18.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 4.542e-05/51.33, allocations: 0 / 10.02 GB, free: 18.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 3.03/54.35, allocations: 206.3 MB / 10.22 GB, free: 81.55 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000812/54.36, allocations: 2.528 MB / 10.22 GB, free: 78.54 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05347/54.41, allocations: 16.5 MB / 10.24 GB, free: 77.73 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005439/54.41, allocations: 263 kB / 10.24 GB, free: 77.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01479/54.43, allocations: 7.862 MB / 10.25 GB, free: 77.32 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007618/54.44, allocations: 2.819 MB / 10.25 GB, free: 77.21 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00492/54.44, allocations: 212.1 kB / 10.25 GB, free: 77.21 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001212/54.44, allocations: 0.7533 MB / 10.25 GB, free: 76.89 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03256/54.48, allocations: 10.18 MB / 10.26 GB, free: 76.86 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.037/54.51, allocations: 13.92 MB / 10.27 GB, free: 72.95 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03695/54.55, allocations: 11.52 MB / 10.28 GB, free: 72.74 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/54.55, allocations: 15.06 kB / 10.28 GB, free: 72.74 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.335/55.88, allocations: 130.7 MB / 10.41 GB, free: 71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001428/55.89, allocations: 1.734 MB / 10.41 GB, free: 68.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005362/55.89, allocations: 114.2 kB / 10.41 GB, free: 68.84 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456/57.34, allocations: 149.3 MB / 10.56 GB, free: 33.94 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03541/57.38, allocations: 2.676 MB / 10.56 GB, free: 31.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2362/57.61, allocations: 55.65 MB / 10.62 GB, free: 3.953 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03696/57.65, allocations: 1.438 MB / 10.62 GB, free: 2.727 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006736/57.66, allocations: 0.919 MB / 10.62 GB, free: 1.895 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/57.66, allocations: 4 kB / 10.62 GB, free: 1.891 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.5/60.16, allocations: 128.9 MB / 10.74 GB, free: 113 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005722/60.16, allocations: 121.5 kB / 10.74 GB, free: 113 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393/61.55, allocations: 148.5 MB / 10.89 GB, free: 110.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02372/61.58, allocations: 2.635 MB / 10.89 GB, free: 110.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.226/61.8, allocations: 59.44 MB / 10.95 GB, free: 94.39 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03705/61.84, allocations: 1.409 MB / 10.95 GB, free: 93.93 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005793/61.84, allocations: 0.8757 MB / 10.95 GB, free: 93.66 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01946/61.86, allocations: 4.276 MB / 10.96 GB, free: 92.78 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007993/61.87, allocations: 1.551 MB / 10.96 GB, free: 92.78 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3677/62.24, allocations: 51.35 MB / 11.01 GB, free: 56.08 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002366/62.24, allocations: 98.48 kB / 11.01 GB, free: 55.98 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002812/62.24, allocations: 32 kB / 11.01 GB, free: 55.95 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3325/62.57, allocations: 45.25 MB / 11.05 GB, free: 18.86 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.649/64.22, allocations: 69.79 MB / 11.12 GB, free: 115.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001436/64.22, allocations: 0 / 11.12 GB, free: 115.6 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0185/64.24, allocations: 1.71 MB / 11.12 GB, free: 115.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3517/64.59, allocations: 43.94 MB / 11.17 GB, free: 115.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003313/64.6, allocations: 341.1 kB / 11.17 GB, free: 115.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08526/64.68, allocations: 26.5 MB / 11.19 GB, free: 108.5 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/64.68, allocations: 4.094 kB / 11.19 GB, free: 108.5 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4094/65.09, allocations: 59.08 MB / 11.25 GB, free: 107.6 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02408/65.11, allocations: 3.621 MB / 11.25 GB, free: 107.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01183/65.13, allocations: 279.5 kB / 11.25 GB, free: 107.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04177/65.17, allocations: 1.216 MB / 11.25 GB, free: 107.5 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005369/65.17, allocations: 0.5783 MB / 11.25 GB, free: 107.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004477/65.18, allocations: 354.7 kB / 11.25 GB, free: 107.5 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.0511/65.23, allocations: 11.2 MB / 11.27 GB, free: 107 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.603e-06/65.23, allocations: 1.125 kB / 11.27 GB, free: 107 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.09645/65.33, allocations: 8.308 MB / 11.27 GB, free: 107 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 {36 81,39 65,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02071/65.35, allocations: 5.5 MB / 11.28 GB, free: 105.1 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.2559/65.6, allocations: 44.77 MB / 11.32 GB, free: 101.8 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.873e-05/65.6, allocations: 9.25 kB / 11.32 GB, free: 101.8 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.05748/65.66, allocations: 12.12 MB / 11.33 GB, free: 101.4 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07734/65.74, allocations: 7.942 MB / 11.34 GB, free: 101.3 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/65.85, allocations: 40.73 MB / 11.38 GB, free: 87.18 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02299/65.87, allocations: 9.088 MB / 11.39 GB, free: 86.05 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04224/65.91, allocations: 5.487 MB / 11.4 GB, free: 85.7 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01046/65.92, allocations: 1.299 MB / 11.4 GB, free: 85.68 MB / 1.229 GB Notification: Performance of SimCode: time 2.254e-06/65.92, allocations: 0 / 11.4 GB, free: 85.68 MB / 1.229 GB Notification: Performance of Templates: time 2.284/68.21, allocations: 428.8 MB / 11.82 GB, free: 98.66 MB / 1.229 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)