Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001015/0.001015, allocations: 156.3 kB / 15.95 MB, free: 5.793 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.024/1.024, allocations: 150.5 MB / 167.2 MB, free: 10.27 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.00163/0.00163, allocations: 86.02 kB / 201.8 MB, free: 7.582 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04911/0.04911, allocations: 11.83 MB / 248.2 MB, free: 19.39 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 295.4 MB, free: 4.102 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.178, allocations: 36.43 MB / 331.9 MB, free: 34.85 MB / 234.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.003951/0.182, allocations: 3.846 MB / 335.7 MB, free: 31.8 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1839, allocations: 1.695 MB / 337.4 MB, free: 30.44 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1841, allocations: 8.969 kB / 337.4 MB, free: 30.44 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1844, allocations: 73.03 kB / 337.5 MB, free: 30.39 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1848, allocations: 170 kB / 337.6 MB, free: 30.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.1853, allocations: 238.2 kB / 337.9 MB, free: 30.07 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.1857, allocations: 0.5263 MB / 338.4 MB, free: 29.66 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1858, allocations: 95.25 kB / 338.5 MB, free: 29.57 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.186, allocations: 163.4 kB / 338.7 MB, free: 29.41 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1862, allocations: 203.1 kB / 338.9 MB, free: 29.21 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1863, allocations: 16 kB / 338.9 MB, free: 29.2 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1866, allocations: 195.8 kB / 339.1 MB, free: 29.01 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.1867, allocations: 71.73 kB / 339.1 MB, free: 28.94 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1868, allocations: 187 kB / 339.3 MB, free: 28.75 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.1873, allocations: 0.5473 MB / 339.9 MB, free: 28.21 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1873, allocations: 0 / 339.9 MB, free: 28.21 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1873, allocations: 0 / 339.9 MB, free: 28.21 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1873, allocations: 4 kB / 339.9 MB, free: 28.2 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008988/0.1882, allocations: 0.6827 MB / 340.5 MB, free: 27.47 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1882, allocations: 16.02 kB / 340.6 MB, free: 27.46 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1884, allocations: 44.47 kB / 340.6 MB, free: 27.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1887, allocations: 311.5 kB / 340.9 MB, free: 27.07 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1887, allocations: 20.94 kB / 340.9 MB, free: 27.05 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.1887, allocations: 39.78 kB / 341 MB, free: 27.01 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.1892, allocations: 339.6 kB / 341.3 MB, free: 26.67 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1892, allocations: 0 / 341.3 MB, free: 26.67 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.1892, allocations: 12 kB / 341.3 MB, free: 26.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1892, allocations: 4 kB / 341.3 MB, free: 26.65 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.1897, allocations: 270.1 kB / 341.6 MB, free: 26.39 MB / 234.7 MB 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.001487/0.1912, allocations: 1.477 MB / 343.1 MB, free: 24.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.1915, allocations: 247.6 kB / 343.3 MB, free: 24.51 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1917, allocations: 104.8 kB / 343.4 MB, free: 24.4 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/0.1918, allocations: 85.11 kB / 343.5 MB, free: 24.3 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.1918, allocations: 38.55 kB / 343.5 MB, free: 24.25 MB / 234.7 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.1918, allocations: 0 / 343.5 MB, free: 24.25 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.001803/0.1936, allocations: 0.9066 MB / 344.4 MB, free: 23.29 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1937, allocations: 55.64 kB / 344.5 MB, free: 23.23 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77: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.0002817/0.194, allocations: 349.7 kB / 344.8 MB, free: 22.88 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.194, allocations: 29.7 kB / 344.9 MB, free: 22.85 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.1941, allocations: 184.5 kB / 345 MB, free: 22.66 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.1941, allocations: 98.66 kB / 345.1 MB, free: 22.56 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.1942, allocations: 65.88 kB / 345.2 MB, free: 22.49 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.1943, allocations: 338.8 kB / 345.5 MB, free: 22.15 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1945, allocations: 117 kB / 345.6 MB, free: 22.04 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.1947, allocations: 151.7 kB / 345.8 MB, free: 21.86 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.195, allocations: 275.4 kB / 346.1 MB, free: 21.56 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.195, allocations: 0 / 346.1 MB, free: 21.56 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004948/0.1955, allocations: 328.9 kB / 346.4 MB, free: 21.23 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1956, allocations: 4 kB / 346.4 MB, free: 21.23 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1956, allocations: 7.984 kB / 346.4 MB, free: 21.22 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1956, allocations: 4 kB / 346.4 MB, free: 21.22 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.1959, allocations: 88.11 kB / 346.5 MB, free: 21.13 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1959, allocations: 0 / 346.5 MB, free: 21.13 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.1961, allocations: 23.92 kB / 346.5 MB, free: 21.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1962, allocations: 12 kB / 346.5 MB, free: 21.1 MB / 234.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.1963, allocations: 165.8 kB / 346.7 MB, free: 20.93 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.1964, allocations: 31.62 kB / 346.7 MB, free: 20.89 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.197, allocations: 363.5 kB / 347.1 MB, free: 20.54 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.197, allocations: 8.031 kB / 347.1 MB, free: 20.53 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.197, allocations: 0 / 347.1 MB, free: 20.53 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.197, allocations: 7.922 kB / 347.1 MB, free: 20.52 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.1979, allocations: 0.7716 MB / 347.9 MB, free: 19.69 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1979, allocations: 3.938 kB / 347.9 MB, free: 19.69 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.1982, allocations: 71.95 kB / 347.9 MB, free: 19.62 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1982, allocations: 0 / 347.9 MB, free: 19.62 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1983, allocations: 15.92 kB / 347.9 MB, free: 19.6 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1983, allocations: 0 / 347.9 MB, free: 19.6 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1983, allocations: 3.938 kB / 347.9 MB, free: 19.6 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/0.2202, allocations: 4.536 MB / 352.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.2204, allocations: 144.7 kB / 352.6 MB, free: 14.69 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.2204, allocations: 7.906 kB / 352.6 MB, free: 14.68 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2206, allocations: 23.98 kB / 352.7 MB, free: 14.66 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.2207, allocations: 15.97 kB / 352.7 MB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.2207, allocations: 15.98 kB / 352.7 MB, free: 14.62 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.2209, allocations: 243.1 kB / 352.9 MB, free: 14.39 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2209, allocations: 0 / 352.9 MB, free: 14.39 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007038/0.2216, allocations: 240 kB / 353.2 MB, free: 14.15 MB / 234.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: 1 (checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006305/0.2223, allocations: 240.4 kB / 353.4 MB, free: 13.93 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.2228, allocations: 251.8 kB / 353.6 MB, free: 13.68 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2228, allocations: 448 / 353.6 MB, free: 13.68 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.223, allocations: 135.8 kB / 353.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.2239, allocations: 169.3 kB / 353.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2252, allocations: 1.113 MB / 355 MB, free: 12.24 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2255, allocations: 0.8077 MB / 355.9 MB, free: 11.41 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002926/0.2258, allocations: 67.23 kB / 355.9 MB, free: 11.34 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2259, allocations: 43.42 kB / 356 MB, free: 11.3 MB / 234.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2259, allocations: 0 / 356 MB, free: 11.3 MB / 234.7 MB Notification: Performance of Templates: time 0.01314/0.2391, allocations: 11.21 MB / 367.2 MB, free: 132 kB / 234.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)