Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified3.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002502/0.002502, allocations: 357.4 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.403/1.403, allocations: 165.8 MB / 183.1 MB, free: 5.383 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.691/3.691, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 196.8 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006629, allocations: 19.94 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4034, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.781, allocations: 424.6 MB / 1.223 GB, free: 138 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.782, allocations: 101.6 kB / 1.223 GB, free: 138 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 51.91/53.69, allocations: 9.448 GB / 10.67 GB, free: 46.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.555e-06/53.69, allocations: 0 / 10.67 GB, free: 46.61 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.004091/53.7, allocations: 0.5067 MB / 10.67 GB, free: 46.43 MB / 0.8542 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.1132/53.81, allocations: 21.41 MB / 10.69 GB, free: 38.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/53.81, allocations: 7.906 kB / 10.69 GB, free: 38.11 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/53.83, allocations: 2.306 MB / 10.7 GB, free: 37.08 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1098/53.94, allocations: 23.13 MB / 10.72 GB, free: 18.65 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/53.94, allocations: 0.7188 MB / 10.72 GB, free: 17.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006054/53.95, allocations: 1.011 MB / 10.72 GB, free: 16.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9133/54.86, allocations: 16.89 MB / 10.74 GB, free: 51.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006135/54.86, allocations: 15.59 kB / 10.74 GB, free: 51.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004562/54.87, allocations: 358.6 kB / 10.74 GB, free: 51.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004358/54.87, allocations: 214 kB / 10.74 GB, free: 51.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0555/54.92, allocations: 19.82 MB / 10.76 GB, free: 50.95 MB / 0.8542 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.1991/55.12, allocations: 79.51 MB / 10.83 GB, free: 18.24 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02995/55.15, allocations: 11.69 MB / 10.85 GB, free: 17.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02317/55.18, allocations: 9.455 MB / 10.85 GB, free: 17.72 MB / 0.8542 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.1069/55.28, allocations: 32.88 MB / 10.89 GB, free: 25.26 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02492/55.31, allocations: 9.22 MB / 10.9 GB, free: 25.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08067/55.39, allocations: 15.11 MB / 10.91 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=561): time 4.377e-05/55.39, allocations: 1.219 kB / 10.91 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=772): time 2.704/58.09, allocations: 202.6 MB / 11.11 GB, free: 83.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007276/58.09, allocations: 2.529 MB / 11.11 GB, free: 80.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04927/58.14, allocations: 16.52 MB / 11.13 GB, free: 79.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.004865/58.15, allocations: 256.6 kB / 11.13 GB, free: 79.26 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.01472/58.16, allocations: 7.882 MB / 11.13 GB, free: 78.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.006733/58.17, allocations: 2.686 MB / 11.14 GB, free: 78.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004475/58.17, allocations: 200.5 kB / 11.14 GB, free: 78.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.001172/58.18, allocations: 0.7438 MB / 11.14 GB, free: 77.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0346/58.21, allocations: 10.35 MB / 11.15 GB, free: 77.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03914/58.25, allocations: 14.05 MB / 11.16 GB, free: 74 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03949/58.29, allocations: 11.64 MB / 11.17 GB, free: 73.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/58.29, allocations: 16.88 kB / 11.17 GB, free: 73.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.296/59.58, allocations: 130.4 MB / 11.3 GB, free: 70.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001197/59.59, allocations: 1.793 MB / 11.3 GB, free: 68.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005183/59.59, allocations: 121.7 kB / 11.3 GB, free: 68.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285/61.87, allocations: 147.4 MB / 11.45 GB, free: 91.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02855/61.9, allocations: 2.78 MB / 11.45 GB, free: 91.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2723/62.17, allocations: 71.89 MB / 11.52 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03518/62.21, allocations: 1.555 MB / 11.52 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005552/62.21, allocations: 0.9138 MB / 11.52 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/62.21, allocations: 7.906 kB / 11.52 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.295/63.51, allocations: 128.7 MB / 11.65 GB, free: 65.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005693/63.51, allocations: 124 kB / 11.65 GB, free: 65.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275/65.78, allocations: 147.3 MB / 11.79 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02518/65.81, allocations: 2.768 MB / 11.79 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3465/66.16, allocations: 76.18 MB / 11.87 GB, free: 98.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03531/66.19, allocations: 1.526 MB / 11.87 GB, free: 98.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006059/66.2, allocations: 0.8721 MB / 11.87 GB, free: 98.55 MB / 0.9167 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.02047/66.22, allocations: 4.262 MB / 11.88 GB, free: 98.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008699/66.23, allocations: 1.546 MB / 11.88 GB, free: 98.36 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3761/66.6, allocations: 50.9 MB / 11.93 GB, free: 97.69 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001741/66.6, allocations: 96.05 kB / 11.93 GB, free: 97.69 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002059/66.6, allocations: 28.78 kB / 11.93 GB, free: 97.69 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3383/66.94, allocations: 44.91 MB / 11.97 GB, free: 90.39 MB / 0.9167 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.4022/67.34, allocations: 68.27 MB / 12.04 GB, free: 43.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/67.34, allocations: 0 / 12.04 GB, free: 43.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01864/67.36, allocations: 1.8 MB / 12.04 GB, free: 42.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29/68.65, allocations: 42.65 MB / 12.08 GB, free: 91.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00305/68.66, allocations: 334.8 kB / 12.08 GB, free: 91.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1078/68.76, allocations: 29.22 MB / 12.11 GB, free: 85.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/68.76, allocations: 2.406 kB / 12.11 GB, free: 85.73 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3826/69.15, allocations: 58.79 MB / 12.17 GB, free: 84.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01567/69.16, allocations: 3.58 MB / 12.17 GB, free: 84.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008032/69.17, allocations: 268.9 kB / 12.17 GB, free: 84.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02771/69.2, allocations: 1.275 MB / 12.17 GB, free: 84.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004244/69.2, allocations: 0.5621 MB / 12.17 GB, free: 84.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002854/69.2, allocations: 352.4 kB / 12.17 GB, free: 84.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0326/69.24, allocations: 11.21 MB / 12.18 GB, free: 83.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.773e-06/69.24, allocations: 1.031 kB / 12.18 GB, free: 83.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.07572/69.31, allocations: 8.69 MB / 12.19 GB, free: 83.84 MB / 0.9167 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.01398/69.33, allocations: 5.501 MB / 12.2 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.155/69.48, allocations: 43.24 MB / 12.24 GB, free: 78.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.242e-05/69.48, allocations: 9.594 kB / 12.24 GB, free: 78.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.04087/69.52, allocations: 11.32 MB / 12.25 GB, free: 78.35 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07246/69.6, allocations: 7.789 MB / 12.26 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1035/69.7, allocations: 40.29 MB / 12.3 GB, free: 64.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02075/69.72, allocations: 9.361 MB / 12.31 GB, free: 62.89 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03911/69.76, allocations: 5.513 MB / 12.31 GB, free: 60.62 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0091/69.77, allocations: 1.297 MB / 12.31 GB, free: 59.56 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/69.77, allocations: 4.656 kB / 12.31 GB, free: 59.56 MB / 0.9167 GB Notification: Performance of Templates: time 3.85/73.62, allocations: 470.4 MB / 12.77 GB, free: 149.6 MB / 0.9637 GB