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.0007621/0.0007621, allocations: 145.1 kB / 16.09 MB, free: 5.715 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 0.9107/0.9107, allocations: 150.7 MB / 167.5 MB, free: 2.574 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001403/0.001404, allocations: 80.16 kB / 202.8 MB, free: 12.29 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1298/0.1298, allocations: 11.83 MB / 249.9 MB, free: 34.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 8 kB / 297.7 MB, free: 7.992 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06344/0.06377, allocations: 37.14 MB / 334.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.26, allocations: 53.37 MB / 388.2 MB, free: 22.87 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.2601, allocations: 72.39 kB / 388.2 MB, free: 22.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.2843, allocations: 10.08 MB / 398.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2844, allocations: 4 kB / 398.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.2844, allocations: 4 kB / 398.3 MB, free: 14.82 MB / 266.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.0008146/0.2852, allocations: 0.6321 MB / 399 MB, free: 14.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2853, allocations: 8.031 kB / 399 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.2854, allocations: 48.41 kB / 399 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2858, allocations: 329.4 kB / 399.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.2858, allocations: 26.81 kB / 399.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.2859, allocations: 33.23 kB / 399.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.2864, allocations: 336.4 kB / 399.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2864, allocations: 0 / 399.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.2865, allocations: 13.75 kB / 399.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2865, allocations: 7.984 kB / 399.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.2869, allocations: 278.8 kB / 400 MB, free: 13.32 MB / 266.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.001678/0.2886, allocations: 1.553 MB / 401.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.289, allocations: 249.3 kB / 401.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2892, allocations: 117.8 kB / 401.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.005e-05/0.2893, allocations: 85.09 kB / 402 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2893, allocations: 38.5 kB / 402.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.2893, allocations: 0 / 402.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001881/0.2912, allocations: 0.9961 MB / 403.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.2912, allocations: 59.58 kB / 403.1 MB, free: 10.54 MB / 266.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.0002862/0.2915, allocations: 332.9 kB / 403.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2915, allocations: 33.52 kB / 403.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.2916, allocations: 186 kB / 403.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.2917, allocations: 89.97 kB / 403.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.2917, allocations: 7.688 kB / 403.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.2918, allocations: 346.5 kB / 404.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.292, allocations: 119.6 kB / 404.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.2922, allocations: 178.3 kB / 404.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.2926, allocations: 297 kB / 404.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2926, allocations: 0 / 404.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005326/0.2932, allocations: 352.8 kB / 405 MB, free: 8.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2932, allocations: 13.03 kB / 405 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2932, allocations: 0 / 405 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2932, allocations: 7.938 kB / 405 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2936, allocations: 83.88 kB / 405.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2936, allocations: 7.938 kB / 405.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.2938, allocations: 23.73 kB / 405.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.2938, allocations: 12 kB / 405.2 MB, free: 8.809 MB / 266.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.294, allocations: 181.9 kB / 405.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.294, allocations: 35.53 kB / 405.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006601/0.2947, allocations: 374.1 kB / 405.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2947, allocations: 4 kB / 405.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2947, allocations: 0 / 405.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2948, allocations: 3.984 kB / 405.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/0.2958, allocations: 0.8189 MB / 406.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2958, allocations: 0 / 406.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.2961, allocations: 74.95 kB / 406.6 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2961, allocations: 4 kB / 406.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.2961, allocations: 3.438 kB / 406.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2961, allocations: 7.938 kB / 406.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2961, allocations: 4 kB / 406.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.2969, allocations: 0.5709 MB / 407.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.297, allocations: 143 kB / 407.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.2971, allocations: 10.19 kB / 407.4 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2973, allocations: 23.05 kB / 407.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.2974, allocations: 19.34 kB / 407.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.2974, allocations: 8 kB / 407.4 MB, free: 6.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.2976, allocations: 244.7 kB / 407.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.2976, allocations: 0 / 407.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000489/0.2981, allocations: 142.7 kB / 407.8 MB, free: 6.629 MB / 266.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 (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.0004438/0.2986, allocations: 225.9 kB / 408 MB, free: 6.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.299, allocations: 272.2 kB / 408.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2991, allocations: 0 / 408.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.2993, allocations: 140.9 kB / 408.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.3001, allocations: 159.6 kB / 408.6 MB, free: 5.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3012, allocations: 0.921 MB / 409.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3014, allocations: 0.7986 MB / 410.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.3016, allocations: 61 kB / 410.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.3017, allocations: 31.42 kB / 410.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3017, allocations: 7.938 kB / 410.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of Templates: time 0.009099/0.3108, allocations: 6.207 MB / 416.6 MB, free: 14.08 MB / 282.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)