Running command: translateModel(OpenHPL.Examples.BranchingPipes,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.BranchingPipes") Notification: Performance of loadModel(OpenHPL): time 2.198/2.198, allocations: 258 MB / 271.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.342e-05, allocations: 4 kB / 335.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 60.24 MB / 396 MB, free: 5.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3907/0.4929, allocations: 86.62 MB / 482.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4932, allocations: 77.22 kB / 482.7 MB, free: 13.1 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Reservoir.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data reservoir.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Reservoir$reservoir. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data mainPipe.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Pipe$mainPipe. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Reservoir.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data reservoir1.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Reservoir$reservoir1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data branch1.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Pipe$branch1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data branch2.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Pipe$branch2. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data mainPipeOut.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Pipe$mainPipeOut. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.05004/0.5432, allocations: 11.39 MB / 494 MB, free: 3.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.091e-06/0.5432, allocations: 0 / 494 MB, free: 3.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.601e-05/0.5433, allocations: 11.98 kB / 494.1 MB, free: 3.395 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001657/0.545, allocations: 0.8184 MB / 494.9 MB, free: 2.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.545, allocations: 8.031 kB / 494.9 MB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.5453, allocations: 83.05 kB / 495 MB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.546, allocations: 392.4 kB / 495.3 MB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.5461, allocations: 30.98 kB / 495.4 MB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.5462, allocations: 37.31 kB / 495.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/0.5471, allocations: 379.8 kB / 495.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5471, allocations: 0 / 495.8 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.5472, allocations: 16.88 kB / 495.8 MB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.5472, allocations: 8 kB / 495.8 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009404/0.5482, allocations: 361.4 kB / 496.2 MB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.5519, allocations: 1.398 MB / 497.6 MB, free: 44 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.5538, allocations: 0.5603 MB / 498.1 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.5556, allocations: 0.8545 MB / 499 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5556, allocations: 46.44 kB / 499 MB, free: 14.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.542e-06/0.5557, allocations: 0 / 499 MB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.004706/0.5604, allocations: 1.507 MB / 0.4888 GB, free: 12.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5605, allocations: 55.84 kB / 0.4888 GB, free: 12.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/0.5613, allocations: 491.3 kB / 0.4893 GB, free: 12.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.5614, allocations: 37.7 kB / 0.4894 GB, free: 12.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.5617, allocations: 335.7 kB / 0.4897 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5619, allocations: 177.5 kB / 0.4898 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.562, allocations: 12.56 kB / 0.4899 GB, free: 11.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.5622, allocations: 374.8 kB / 0.4902 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.5627, allocations: 177.5 kB / 0.4904 GB, free: 11.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.5633, allocations: 281.9 kB / 0.4907 GB, free: 10.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.5639, allocations: 222.1 kB / 0.4909 GB, free: 10.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.5639, allocations: 0 / 0.4909 GB, free: 10.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002219/0.5661, allocations: 0.7694 MB / 0.4916 GB, free: 9.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5662, allocations: 8 kB / 0.4916 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.186e-06/0.5662, allocations: 0 / 0.4916 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/0.5671, allocations: 160.8 kB / 0.4918 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.5678, allocations: 143.8 kB / 0.4919 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.5719, allocations: 2.328 MB / 0.4942 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.5724, allocations: 20 kB / 0.4942 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.5725, allocations: 27.98 kB / 0.4942 GB, free: 6.977 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: mainPipeOut.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real branch2.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004219/0.5729, allocations: 194.1 kB / 0.4944 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.5731, allocations: 59.25 kB / 0.4945 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.575, allocations: 0.6203 MB / 0.4951 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.438e-06/0.575, allocations: 4 kB / 0.4951 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.575, allocations: 7.984 kB / 0.4951 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.587e-06/0.575, allocations: 0 / 0.4951 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.5783, allocations: 1.289 MB / 0.4963 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.821e-06/0.5784, allocations: 0 / 0.4963 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.5798, allocations: 239.9 kB / 0.4966 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/0.5806, allocations: 156.5 kB / 0.4967 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.5806, allocations: 8 kB / 0.4967 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/0.5866, allocations: 4.754 MB / 0.5014 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.181e-06/0.5866, allocations: 4.031 kB / 0.5014 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.5889, allocations: 0.8926 MB / 0.5023 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.5891, allocations: 136.3 kB / 0.5024 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5892, allocations: 12 kB / 0.5024 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.5896, allocations: 11.94 kB / 0.5024 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5897, allocations: 39.94 kB / 0.5024 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.5898, allocations: 12 kB / 0.5025 GB, free: 14.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006437/0.5904, allocations: 383.1 kB / 0.5028 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.67e-07/0.5905, allocations: 0 / 0.5028 GB, free: 13.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001057/0.5915, allocations: 235.9 kB / 0.503 GB, free: 13.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (reservoir.m,reservoir1.m,branch2.M,mainPipeOut.M) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004746/0.592, allocations: 187.9 kB / 0.5032 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.5936, allocations: 0.6229 MB / 0.5038 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.057e-06/0.5936, allocations: 0 / 0.5038 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.5948, allocations: 428.1 kB / 0.5042 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.5955, allocations: 126.7 kB / 0.5044 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.598, allocations: 1.313 MB / 0.5056 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.5987, allocations: 0.9064 MB / 0.5065 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004526/0.5991, allocations: 68.66 kB / 0.5066 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.5993, allocations: 43.42 kB / 0.5066 GB, free: 9.648 MB / 426.7 MB Notification: Performance of SimCode: time 1.216e-06/0.5993, allocations: 0 / 0.5066 GB, free: 9.648 MB / 426.7 MB Notification: Performance of Templates: time 0.02241/0.6218, allocations: 8.726 MB / 0.5152 GB, free: 0.9727 MB / 426.7 MB