Running command: translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadModel(OpenHydraulics): time 1.843/1.843, allocations: 217.8 MB / 229.9 MB, free: 14.2 MB / 202.7 MB Warning: Requested package Modelica of version 3.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.448e-05, allocations: 4 kB / 283 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08135, allocations: 50.2 MB / 333.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4167/0.4981, allocations: 83.12 MB / 416.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.4985, allocations: 65.06 kB / 416.4 MB, free: 12.54 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHydraulics 1.0/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.03484/0.5334, allocations: 6.144 MB / 422.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.658e-06/0.5334, allocations: 0 / 422.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.5334, allocations: 7.938 kB / 422.6 MB, free: 7.395 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006979/0.5341, allocations: 495.4 kB / 423 MB, free: 6.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5342, allocations: 8.031 kB / 423.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.5343, allocations: 27.72 kB / 423.1 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.5347, allocations: 247.3 kB / 423.3 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5347, allocations: 14.25 kB / 423.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.5348, allocations: 18.94 kB / 423.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.5352, allocations: 199.3 kB / 423.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5353, allocations: 8 kB / 423.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.5353, allocations: 5.875 kB / 423.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5353, allocations: 4 kB / 423.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.5357, allocations: 124.4 kB / 423.7 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.5375, allocations: 1.129 MB / 424.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.5379, allocations: 134.7 kB / 424.9 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.538, allocations: 59.11 kB / 425 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.5384, allocations: 332.4 kB / 425.3 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5384, allocations: 45.8 kB / 425.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.601e-06/0.5384, allocations: 0 / 425.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001695/0.5401, allocations: 0.5859 MB / 426 MB, free: 4.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.5402, allocations: 59.34 kB / 426 MB, free: 3.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.5405, allocations: 188.2 kB / 426.2 MB, free: 3.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.5405, allocations: 32.77 kB / 426.2 MB, free: 3.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5406, allocations: 133.2 kB / 426.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.5407, allocations: 69.14 kB / 426.4 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.5407, allocations: 0 / 426.4 MB, free: 3.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5409, allocations: 332.9 kB / 426.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.5411, allocations: 55.97 kB / 426.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.5413, allocations: 95.81 kB / 426.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.5414, allocations: 60.03 kB / 427 MB, free: 3.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-06/0.5414, allocations: 3.938 kB / 427 MB, free: 3.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004605/0.5419, allocations: 192.3 kB / 427.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.542, allocations: 12 kB / 427.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.556e-06/0.542, allocations: 0 / 427.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.542, allocations: 4 kB / 427.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.5424, allocations: 59.89 kB / 427.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.5424, allocations: 4 kB / 427.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.5426, allocations: 11.44 kB / 427.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.5426, allocations: 11.23 kB / 427.3 MB, free: 2.848 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.5428, allocations: 130.7 kB / 427.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.5429, allocations: 23.77 kB / 427.4 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.5434, allocations: 206.6 kB / 427.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.828e-06/0.5434, allocations: 4.047 kB / 427.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5434, allocations: 7.938 kB / 427.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.005e-06/0.5434, allocations: 0 / 427.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.5444, allocations: 0.5419 MB / 428.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-06/0.5445, allocations: 0 / 428.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.5448, allocations: 63.33 kB / 428.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.602e-06/0.5449, allocations: 4 kB / 428.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.5449, allocations: 0 / 428.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.108e-06/0.5449, allocations: 3.953 kB / 428.2 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-06/0.5449, allocations: 0 / 428.2 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.5455, allocations: 343.2 kB / 428.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.5457, allocations: 114.6 kB / 428.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.5457, allocations: 3.375 kB / 428.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.546, allocations: 14.23 kB / 428.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.546, allocations: 18.94 kB / 428.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.5461, allocations: 4 kB / 428.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.5463, allocations: 161.3 kB / 428.9 MB, free: 1.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.184e-06/0.5463, allocations: 64 / 428.9 MB, free: 1.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005385/0.5469, allocations: 115 kB / 429 MB, free: 1.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003237/0.5472, allocations: 174.2 kB / 429.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.5475, allocations: 127.8 kB / 429.3 MB, free: 1.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.918e-06/0.5476, allocations: 0 / 429.3 MB, free: 1.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.5477, allocations: 67.94 kB / 429.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.5482, allocations: 67.23 kB / 429.4 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000971/0.5492, allocations: 390.3 kB / 429.8 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.5496, allocations: 0.7479 MB / 430.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.5498, allocations: 46.03 kB / 430.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.5499, allocations: 19.44 kB / 430.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.328e-06/0.5499, allocations: 0 / 430.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of Templates: time 0.009821/0.5598, allocations: 3.391 MB / 434 MB, free: 12.37 MB / 362.7 MB