Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHydraulics): time 2.185/2.185, 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 8.117e-05/8.129e-05, allocations: 7.984 kB / 283.1 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 50.2 MB / 333.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4525/0.5613, allocations: 86.02 MB / 419.3 MB, free: 9.676 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.5616, allocations: 72.69 kB / 419.4 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07792/0.6395, allocations: 17.3 MB / 436.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6396, allocations: 448 / 436.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.334e-05/0.6396, allocations: 15.94 kB / 436.7 MB, free: 11.39 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.002206/0.6419, allocations: 0.8587 MB / 437.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6419, allocations: 8.031 kB / 437.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/0.6422, allocations: 100.6 kB / 437.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.6426, allocations: 87 kB / 437.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.6442, allocations: 0.5376 MB / 438.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.6443, allocations: 49.12 kB / 438.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.6444, allocations: 54.06 kB / 438.4 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.6458, allocations: 0.5165 MB / 438.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.6459, allocations: 3.938 kB / 438.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.646, allocations: 23.52 kB / 439 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.646, allocations: 12 kB / 439 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.6474, allocations: 486.5 kB / 439.5 MB, free: 9.168 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.005697/0.6531, allocations: 2.801 MB / 442.3 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.6546, allocations: 435.6 kB / 442.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.6551, allocations: 171.1 kB / 442.8 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6553, allocations: 100.9 kB / 442.9 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.6553, allocations: 33.94 kB / 443 MB, free: 6.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.996e-06/0.6553, allocations: 4 kB / 443 MB, free: 6.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003143/0.6585, allocations: 1.029 MB / 444 MB, free: 5.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.6586, allocations: 55.41 kB / 444.1 MB, free: 5.07 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.001189/0.6598, allocations: 0.5495 MB / 444.6 MB, free: 4.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.908e-05/0.6599, allocations: 35.08 kB / 444.6 MB, free: 4.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.6603, allocations: 328.8 kB / 445 MB, free: 4.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.6605, allocations: 150.7 kB / 445.1 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.6605, allocations: 7 kB / 445.1 MB, free: 4.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.6607, allocations: 382.5 kB / 445.5 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.6611, allocations: 134.5 kB / 445.6 MB, free: 3.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.6616, allocations: 247.6 kB / 445.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.6621, allocations: 164.8 kB / 446 MB, free: 3.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.6621, allocations: 4 kB / 446 MB, free: 3.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001334/0.6635, allocations: 495.2 kB / 446.5 MB, free: 3.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.6635, allocations: 8 kB / 446.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6636, allocations: 4 kB / 446.5 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.6636, allocations: 4 kB / 446.5 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009538/0.6646, allocations: 115.3 kB / 446.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.6646, allocations: 7.938 kB / 446.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.6653, allocations: 38.38 kB / 446.7 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.6654, allocations: 19.48 kB / 446.7 MB, free: 2.953 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.0002886/0.6657, allocations: 160.5 kB / 446.9 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6658, allocations: 67.23 kB / 446.9 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.6674, allocations: 0.4945 MB / 447.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6674, allocations: 4 kB / 447.4 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6674, allocations: 4 kB / 447.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.6674, allocations: 3.984 kB / 447.4 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.6705, allocations: 1.185 MB / 448.6 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6705, allocations: 0 / 448.6 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009707/0.6715, allocations: 103.9 kB / 448.7 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.6715, allocations: 0 / 448.7 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.6716, allocations: 15.98 kB / 448.7 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.6716, allocations: 11.88 kB / 448.8 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6716, allocations: 4 kB / 448.8 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.6734, allocations: 0.7322 MB / 449.5 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.6739, allocations: 196.2 kB / 449.7 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.6741, allocations: 12 kB / 449.7 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.6747, allocations: 24.05 kB / 449.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6749, allocations: 32.39 kB / 449.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.6749, allocations: 16 kB / 449.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009692/0.6759, allocations: 451.2 kB / 450.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.676, allocations: 0 / 450.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001115/0.6771, allocations: 195.9 kB / 450.4 MB, free: 15.3 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.003327/0.6804, allocations: 1.6 MB / 452 MB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.6816, allocations: 369.4 kB / 452.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6817, allocations: 0.6875 kB / 452.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.6822, allocations: 197.6 kB / 452.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.6838, allocations: 194.6 kB / 452.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.6879, allocations: 1.257 MB / 454 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/0.6887, allocations: 0.949 MB / 454.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008227/0.6896, allocations: 117.2 kB / 455.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.6901, allocations: 247.3 kB / 455.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6902, allocations: 0 / 455.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.7469, allocations: 15.74 MB / 471 MB, free: 10.64 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/0.7472, allocations: 184.8 kB / 471.2 MB, free: 10.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.64, allocations: 4 kB / 471.2 MB, free: 10.42 MB / 394.7 MB