Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00262/0.002619, allocations: 357.6 kB / 16.58 MB, free: 5.57 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.408/1.408, allocations: 165.8 MB / 183.1 MB, free: 5.523 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.669/3.669, allocations: 410.7 MB / 0.6001 GB, free: 15.17 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.001788/0.001787, allocations: 189.5 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.000473, allocations: 16 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.403, allocations: 67.44 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.781, allocations: 424.4 MB / 1.223 GB, free: 138.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.782, allocations: 108.7 kB / 1.223 GB, free: 138.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 47.9/49.68, allocations: 8.665 GB / 9.888 GB, free: 53.01 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.785e-06/49.68, allocations: 0 / 9.888 GB, free: 53.01 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.005162/49.69, allocations: 0.5175 MB / 9.889 GB, free: 52.9 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.1167/49.81, allocations: 21.42 MB / 9.91 GB, free: 45.13 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/49.81, allocations: 14.28 kB / 9.91 GB, free: 45.13 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/49.83, allocations: 2.307 MB / 9.912 GB, free: 44.11 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1094/49.94, allocations: 23.14 MB / 9.934 GB, free: 41.42 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001498/49.94, allocations: 0.7156 MB / 9.935 GB, free: 41.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007079/49.94, allocations: 1.019 MB / 9.936 GB, free: 41.38 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0586/50, allocations: 16.93 MB / 9.953 GB, free: 39.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006602/50, allocations: 13.53 kB / 9.953 GB, free: 39.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005233/50.01, allocations: 364.1 kB / 9.953 GB, free: 39.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003739/50.01, allocations: 217.4 kB / 9.953 GB, free: 39.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05648/50.07, allocations: 19.86 MB / 9.973 GB, free: 39.45 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.204/50.27, allocations: 79.17 MB / 10.05 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03025/50.3, allocations: 11.95 MB / 10.06 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02172/50.32, allocations: 9.142 MB / 10.07 GB, free: 5.086 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.1097/50.43, allocations: 33.1 MB / 10.1 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02611/50.46, allocations: 9.321 MB / 10.11 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08397/50.54, allocations: 15.12 MB / 10.13 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=582): time 3.773e-05/50.54, allocations: 0 / 10.13 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of matching and sorting (n=812): time 2.793/53.33, allocations: 210.1 MB / 10.33 GB, free: 64.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000716/53.34, allocations: 2.53 MB / 10.33 GB, free: 61.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04676/53.38, allocations: 16.51 MB / 10.35 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.005446/53.39, allocations: 265.8 kB / 10.35 GB, free: 60.17 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.01413/53.4, allocations: 7.861 MB / 10.36 GB, free: 58.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.006911/53.41, allocations: 2.818 MB / 10.36 GB, free: 57.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004518/53.41, allocations: 208.5 kB / 10.36 GB, free: 57.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.001207/53.41, allocations: 0.7466 MB / 10.36 GB, free: 57.04 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03398/53.45, allocations: 10.48 MB / 10.37 GB, free: 56.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03856/53.49, allocations: 14.22 MB / 10.39 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03843/53.53, allocations: 11.8 MB / 10.4 GB, free: 47.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/53.53, allocations: 20 kB / 10.4 GB, free: 47.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 2.221/55.75, allocations: 131.2 MB / 10.53 GB, free: 70.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0012/55.75, allocations: 1.726 MB / 10.53 GB, free: 68.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005642/55.75, allocations: 114.5 kB / 10.53 GB, free: 68.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39/57.14, allocations: 148.4 MB / 10.67 GB, free: 60.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02904/57.17, allocations: 2.803 MB / 10.68 GB, free: 59.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3171/57.48, allocations: 74.02 MB / 10.75 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03727/57.52, allocations: 1.556 MB / 10.75 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005941/57.53, allocations: 0.9204 MB / 10.75 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/57.53, allocations: 4 kB / 10.75 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.224/59.75, allocations: 129.4 MB / 10.88 GB, free: 92.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006354/59.75, allocations: 117.4 kB / 10.88 GB, free: 92.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382/61.13, allocations: 148.3 MB / 11.02 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02494/61.16, allocations: 2.758 MB / 11.02 GB, free: 77.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3065/61.47, allocations: 77.89 MB / 11.1 GB, free: 21.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03598/61.5, allocations: 1.527 MB / 11.1 GB, free: 20.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005671/61.51, allocations: 0.8723 MB / 11.1 GB, free: 19.51 MB / 0.9167 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.01969/61.53, allocations: 4.284 MB / 11.11 GB, free: 16.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008668/61.54, allocations: 1.555 MB / 11.11 GB, free: 16.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.275/62.81, allocations: 51.86 MB / 11.16 GB, free: 97.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000218/62.81, allocations: 97.55 kB / 11.16 GB, free: 97.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001947/62.81, allocations: 28.66 kB / 11.16 GB, free: 97.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3562/63.17, allocations: 45.77 MB / 11.2 GB, free: 96.96 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.4219/63.59, allocations: 70.47 MB / 11.27 GB, free: 92.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001352/63.59, allocations: 0 / 11.27 GB, free: 92.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01866/63.61, allocations: 1.817 MB / 11.27 GB, free: 92.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3892/64, allocations: 43.45 MB / 11.32 GB, free: 92.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00313/64, allocations: 348.6 kB / 11.32 GB, free: 92.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1086/64.11, allocations: 31.37 MB / 11.35 GB, free: 84.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/64.11, allocations: 4.547 kB / 11.35 GB, free: 84.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3847/64.49, allocations: 59.95 MB / 11.41 GB, free: 52.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01517/64.51, allocations: 3.66 MB / 11.41 GB, free: 51.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007324/64.52, allocations: 276.4 kB / 11.41 GB, free: 51.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02752/64.54, allocations: 1.331 MB / 11.41 GB, free: 50.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003998/64.55, allocations: 0.5989 MB / 11.41 GB, free: 50.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002059/64.55, allocations: 360.7 kB / 11.41 GB, free: 50.06 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02953/64.58, allocations: 11.21 MB / 11.42 GB, free: 44.29 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.32e-07/64.58, allocations: 0 / 11.42 GB, free: 44.29 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.06536/64.65, allocations: 8.751 MB / 11.43 GB, free: 36.6 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 (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.01402/64.66, allocations: 5.496 MB / 11.44 GB, free: 32.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 1.046/65.71, allocations: 45.89 MB / 11.48 GB, free: 93.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/65.71, allocations: 13.81 kB / 11.48 GB, free: 93.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0447/65.75, allocations: 11.71 MB / 11.49 GB, free: 93.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07269/65.82, allocations: 7.944 MB / 11.5 GB, free: 93.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1064/65.93, allocations: 40.66 MB / 11.54 GB, free: 79.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02187/65.95, allocations: 9.418 MB / 11.55 GB, free: 78.05 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03898/65.99, allocations: 5.526 MB / 11.56 GB, free: 77.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009995/66, allocations: 1.304 MB / 11.56 GB, free: 77.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.874e-06/66, allocations: 1 kB / 11.56 GB, free: 77.9 MB / 0.9167 GB Notification: Performance of Templates: time 2.079/68.08, allocations: 479.2 MB / 12.02 GB, free: 83.96 MB / 0.9323 GB