Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.168/2.168, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001317/0.001317, allocations: 179.4 kB / 326.2 MB, free: 2.875 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.372/2.372, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009288/0.0009281, allocations: 94.66 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006265, allocations: 14.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2189, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.52, allocations: 456.5 MB / 1.345 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/1.52, allocations: 103.7 kB / 1.345 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 50.86/52.38, allocations: 9.198 GB / 10.54 GB, free: 22.56 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.535e-06/52.38, allocations: 3.938 kB / 10.54 GB, free: 22.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004535/52.39, allocations: 0.5031 MB / 10.54 GB, free: 22.05 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.1175/52.5, allocations: 21.41 MB / 10.56 GB, free: 484 kB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/52.5, allocations: 8.031 kB / 10.56 GB, free: 476 kB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.169/53.67, allocations: 2.298 MB / 10.57 GB, free: 62.48 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1168/53.79, allocations: 23.09 MB / 10.59 GB, free: 61.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/53.79, allocations: 0.7111 MB / 10.59 GB, free: 61.21 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006792/53.8, allocations: 1.023 MB / 10.59 GB, free: 61.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05695/53.86, allocations: 16.81 MB / 10.61 GB, free: 59.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006227/53.86, allocations: 16.53 kB / 10.61 GB, free: 59.34 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004906/53.86, allocations: 360.5 kB / 10.61 GB, free: 59.34 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/53.86, allocations: 213.6 kB / 10.61 GB, free: 59.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05636/53.92, allocations: 19.76 MB / 10.63 GB, free: 59.28 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.2088/54.13, allocations: 79.38 MB / 10.7 GB, free: 25.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0308/54.16, allocations: 11.63 MB / 10.72 GB, free: 25.13 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02381/54.18, allocations: 9.43 MB / 10.73 GB, free: 25.05 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.1113/54.29, allocations: 32.76 MB / 10.76 GB, free: 16.48 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02554/54.32, allocations: 9.154 MB / 10.77 GB, free: 16.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0836/54.4, allocations: 15.11 MB / 10.78 GB, free: 16.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=561): time 4.685e-05/54.4, allocations: 0 / 10.78 GB, free: 16.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=772): time 1.762/56.16, allocations: 199.1 MB / 10.98 GB, free: 10.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00274/56.17, allocations: 2.53 MB / 10.98 GB, free: 7.105 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05253/56.22, allocations: 16.51 MB / 10.99 GB, free: 12.64 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.00512/56.23, allocations: 258.2 kB / 10.99 GB, free: 12.39 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01622/56.24, allocations: 7.886 MB / 11 GB, free: 4.855 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.007746/56.25, allocations: 2.689 MB / 11 GB, free: 2.188 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004507/56.25, allocations: 205.4 kB / 11 GB, free: 1.996 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.001403/56.26, allocations: 0.7422 MB / 11.01 GB, free: 1.25 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206/57.46, allocations: 10.04 MB / 11.02 GB, free: 86.35 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03888/57.5, allocations: 13.77 MB / 11.03 GB, free: 82.44 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03734/57.54, allocations: 11.37 MB / 11.04 GB, free: 82.24 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/57.54, allocations: 15.75 kB / 11.04 GB, free: 82.24 MB / 1.182 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.391/58.93, allocations: 129.9 MB / 11.17 GB, free: 81.62 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002021/58.93, allocations: 1.789 MB / 11.17 GB, free: 79.38 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008281/58.93, allocations: 118.4 kB / 11.17 GB, free: 79.38 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45/60.38, allocations: 147.4 MB / 11.31 GB, free: 70.97 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02725/60.41, allocations: 2.667 MB / 11.32 GB, free: 70.39 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1942/60.6, allocations: 52.9 MB / 11.37 GB, free: 32.53 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03768/60.64, allocations: 1.443 MB / 11.37 GB, free: 31.34 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005927/60.65, allocations: 0.913 MB / 11.37 GB, free: 30.51 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/60.65, allocations: 4 kB / 11.37 GB, free: 30.51 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.629/63.28, allocations: 128.2 MB / 11.49 GB, free: 112.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006134/63.28, allocations: 122.2 kB / 11.49 GB, free: 112.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379/64.66, allocations: 147.3 MB / 11.64 GB, free: 112.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02394/64.68, allocations: 2.66 MB / 11.64 GB, free: 112.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2098/64.89, allocations: 57.2 MB / 11.7 GB, free: 107.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03455/64.93, allocations: 1.409 MB / 11.7 GB, free: 107.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005998/64.93, allocations: 0.8722 MB / 11.7 GB, free: 107.1 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.02041/64.95, allocations: 4.259 MB / 11.7 GB, free: 106.9 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008749/64.96, allocations: 1.54 MB / 11.7 GB, free: 106.9 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3752/65.34, allocations: 50.37 MB / 11.75 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001916/65.34, allocations: 92.56 kB / 11.75 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000207/65.34, allocations: 29 kB / 11.75 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3432/65.68, allocations: 44.38 MB / 11.8 GB, free: 83.5 MB / 1.229 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 0.4112/66.09, allocations: 67.61 MB / 11.86 GB, free: 31.34 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000134/66.09, allocations: 5.516 kB / 11.86 GB, free: 31.33 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01758/66.11, allocations: 1.688 MB / 11.86 GB, free: 29.76 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597/67.71, allocations: 42.65 MB / 11.91 GB, free: 109.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003504/67.71, allocations: 337.4 kB / 11.91 GB, free: 109.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08063/67.79, allocations: 23.93 MB / 11.93 GB, free: 103.5 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/67.79, allocations: 9.047 kB / 11.93 GB, free: 103.5 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3926/68.18, allocations: 57.91 MB / 11.99 GB, free: 102.7 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01626/68.2, allocations: 3.551 MB / 11.99 GB, free: 102.6 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008252/68.21, allocations: 269.3 kB / 11.99 GB, free: 102.6 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02659/68.23, allocations: 1.161 MB / 11.99 GB, free: 102.6 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003558/68.24, allocations: 0.5518 MB / 11.99 GB, free: 102.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00238/68.24, allocations: 338.7 kB / 11.99 GB, free: 102.6 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03261/68.27, allocations: 11.21 MB / 12 GB, free: 102.1 MB / 1.229 GB Notification: Performance of sort global known variables: time 8.02e-07/68.27, allocations: 0 / 12 GB, free: 102.1 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.07846/68.35, allocations: 8.243 MB / 12.01 GB, free: 102.1 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 (705): * Single equations (assignments): 683 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {1 1,7 83,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01566/68.37, allocations: 5.5 MB / 12.02 GB, free: 100.2 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.2028/68.57, allocations: 42.17 MB / 12.06 GB, free: 97.07 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-05/68.57, allocations: 17 kB / 12.06 GB, free: 97.07 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.05403/68.62, allocations: 11.01 MB / 12.07 GB, free: 96.75 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1002/68.72, allocations: 7.771 MB / 12.08 GB, free: 96.67 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1544/68.88, allocations: 39.99 MB / 12.12 GB, free: 82.72 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03127/68.91, allocations: 9.033 MB / 12.12 GB, free: 81.59 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.059/68.97, allocations: 5.496 MB / 12.13 GB, free: 81.45 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01419/68.98, allocations: 1.297 MB / 12.13 GB, free: 81.45 MB / 1.229 GB Notification: Performance of SimCode: time 2.224e-06/68.98, allocations: 0 / 12.13 GB, free: 81.45 MB / 1.229 GB Notification: Performance of Templates: time 2.312/71.3, allocations: 426.2 MB / 12.55 GB, free: 131.6 MB / 1.245 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)