Running command: translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") Notification: Performance of loadModel(OpenHydraulics): time 1.918/1.918, allocations: 217.8 MB / 229.9 MB, free: 14.21 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.913e-05/3.923e-05, allocations: 4 kB / 283 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08338, allocations: 50.19 MB / 333.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4323, allocations: 86.03 MB / 419.2 MB, free: 9.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4326, allocations: 69.72 kB / 419.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06846/0.501, allocations: 17.3 MB / 436.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.68e-06/0.5011, allocations: 448 / 436.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.92e-05/0.5012, allocations: 19.94 kB / 436.6 MB, free: 11.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001659/0.5028, allocations: 0.856 MB / 437.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5029, allocations: 12.03 kB / 437.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.5032, allocations: 79.06 kB / 437.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.5044, allocations: 0.5534 MB / 438.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.5045, allocations: 48.62 kB / 438.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5046, allocations: 55.5 kB / 438.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.5058, allocations: 0.5089 MB / 438.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5058, allocations: 0 / 438.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.5059, allocations: 24.95 kB / 438.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.506, allocations: 16 kB / 438.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.5071, allocations: 490.8 kB / 439.3 MB, free: 9.293 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004677/0.5118, allocations: 2.791 MB / 442.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.513, allocations: 428.7 kB / 442.5 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.5134, allocations: 177.4 kB / 442.7 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.5136, allocations: 93.08 kB / 442.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5136, allocations: 45.62 kB / 442.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.695e-06/0.5137, allocations: 0 / 442.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002744/0.5164, allocations: 1.03 MB / 443.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.5165, allocations: 55.41 kB / 443.9 MB, free: 5.203 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.5175, allocations: 0.5495 MB / 444.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.5176, allocations: 37.14 kB / 444.5 MB, free: 4.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.5179, allocations: 324 kB / 444.8 MB, free: 4.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.5181, allocations: 152.5 kB / 444.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.5181, allocations: 10.06 kB / 444.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5183, allocations: 369.1 kB / 445.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.5187, allocations: 138.6 kB / 445.4 MB, free: 3.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.5192, allocations: 239.5 kB / 445.7 MB, free: 3.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.5196, allocations: 177.3 kB / 445.8 MB, free: 3.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.665e-06/0.5196, allocations: 0 / 445.8 MB, free: 3.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001138/0.5208, allocations: 496.8 kB / 446.3 MB, free: 3.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5208, allocations: 7.984 kB / 446.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5208, allocations: 4 kB / 446.3 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.5208, allocations: 4 kB / 446.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.5215, allocations: 118.7 kB / 446.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.5216, allocations: 7.984 kB / 446.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.522, allocations: 31.48 kB / 446.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.5221, allocations: 19.94 kB / 446.5 MB, free: 3.094 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: checkValve1.port_a.p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))) start = idealPump.p_init unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0002581/0.5224, allocations: 170.3 kB / 446.7 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5225, allocations: 63.25 kB / 446.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.5238, allocations: 0.5015 MB / 447.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.921e-06/0.5239, allocations: 8 kB / 447.2 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.168e-06/0.5239, allocations: 0 / 447.2 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.5239, allocations: 3.984 kB / 447.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.5264, allocations: 1.18 MB / 448.4 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-06/0.5264, allocations: 0 / 448.4 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.5271, allocations: 103.8 kB / 448.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.5271, allocations: 4 kB / 448.5 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.5272, allocations: 15.98 kB / 448.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-06/0.5272, allocations: 8 kB / 448.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5272, allocations: 7.938 kB / 448.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.5287, allocations: 0.7322 MB / 449.3 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.5291, allocations: 200.2 kB / 449.5 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.5293, allocations: 8 kB / 449.5 MB, free: 192 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.5297, allocations: 19.98 kB / 449.5 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.5298, allocations: 36.39 kB / 449.6 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.5299, allocations: 16 kB / 449.6 MB, free: 120 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007972/0.5307, allocations: 451.1 kB / 450 MB, free: 15.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5307, allocations: 0 / 450 MB, free: 15.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008353/0.5315, allocations: 199.9 kB / 450.2 MB, free: 15.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,checkValve1.port_a.p,speed.phi,speed.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.001414/0.533, allocations: 431.5 kB / 450.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008972/0.5339, allocations: 369.4 kB / 451 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.451e-06/0.5339, allocations: 0 / 451 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.5343, allocations: 193.6 kB / 451.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.5354, allocations: 203.3 kB / 451.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.5378, allocations: 1.076 MB / 452.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/0.5386, allocations: 0.9452 MB / 453.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006029/0.5392, allocations: 121.2 kB / 453.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.5395, allocations: 59.42 kB / 453.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.568e-06/0.5395, allocations: 4 kB / 453.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of Templates: time 0.02622/0.5657, allocations: 9.778 MB / 463.4 MB, free: 2.355 MB / 378.7 MB