Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.000734/0.0007339, allocations: 148.4 kB / 16.09 MB, free: 5.57 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.896/0.896, allocations: 150.7 MB / 167.5 MB, free: 2.566 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001345/0.001345, allocations: 80.95 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.1309/0.1309, allocations: 11.83 MB / 249.9 MB, free: 34.27 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 12 kB / 297.7 MB, free: 7.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06396/0.06433, allocations: 37.14 MB / 334.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.2585, allocations: 54.11 MB / 388.9 MB, free: 22.32 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.2587, allocations: 70.06 kB / 389 MB, free: 22.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03811/0.2968, allocations: 16.45 MB / 405.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2969, allocations: 3.938 kB / 405.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.718e-05/0.2969, allocations: 16 kB / 405.4 MB, free: 8.926 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001725/0.2987, allocations: 0.9134 MB / 406.4 MB, free: 8.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2987, allocations: 8.031 kB / 406.4 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.299, allocations: 84 kB / 406.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.3, allocations: 0.5274 MB / 407 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.3001, allocations: 50.5 kB / 407 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3002, allocations: 61.75 kB / 407.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/0.3012, allocations: 0.5728 MB / 407.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3012, allocations: 3.938 kB / 407.7 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.3013, allocations: 18.06 kB / 407.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3013, allocations: 16 kB / 407.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.3022, allocations: 0.5385 MB / 408.2 MB, free: 6.613 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.003244/0.3055, allocations: 2.835 MB / 411.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.3061, allocations: 451.5 kB / 411.5 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.3064, allocations: 215.6 kB / 411.7 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-05/0.3065, allocations: 90.89 kB / 411.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3065, allocations: 45.61 kB / 411.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.795e-06/0.3066, allocations: 4 kB / 411.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002422/0.309, allocations: 1.377 MB / 413.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.309, allocations: 59.34 kB / 413.3 MB, free: 2.258 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.0005688/0.3096, allocations: 0.5633 MB / 413.9 MB, free: 1.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3096, allocations: 32.77 kB / 413.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3098, allocations: 314.1 kB / 414.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.227e-05/0.3099, allocations: 156.6 kB / 414.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.3099, allocations: 10.88 kB / 414.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.31, allocations: 375.4 kB / 414.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.3103, allocations: 173.7 kB / 414.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.3106, allocations: 285 kB / 415.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.3133, allocations: 1.03 MB / 416.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3133, allocations: 0 / 416.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000966/0.3143, allocations: 0.5654 MB / 416.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3143, allocations: 8 kB / 416.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3143, allocations: 4 kB / 416.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3144, allocations: 4 kB / 416.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.3149, allocations: 131.1 kB / 416.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3149, allocations: 7.938 kB / 416.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.3153, allocations: 34.91 kB / 417 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.3153, allocations: 23.17 kB / 417 MB, free: 15.31 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: checkValve1.port_a.p:VARIABLE(flow=false min = max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, max(2000.0, 2000.0))))))))))))))))) max = min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, min(1000000000.0, 1000000000.0))))))))))))))))) start = idealPump.p_init unit = "Pa" fixed = true 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: 4 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID,checkValve1.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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.0004842/0.3158, allocations: 305.3 kB / 417.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.316, allocations: 63.25 kB / 417.3 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3172, allocations: 0.6049 MB / 417.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.3172, allocations: 4 kB / 417.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3172, allocations: 3.938 kB / 418 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3172, allocations: 0 / 418 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.3194, allocations: 1.26 MB / 419.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.3195, allocations: 4 kB / 419.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.32, allocations: 107.9 kB / 419.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.32, allocations: 3.938 kB / 419.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.3201, allocations: 15.98 kB / 419.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.3201, allocations: 4 kB / 419.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3201, allocations: 3.938 kB / 419.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3215, allocations: 0.885 MB / 420.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.3219, allocations: 196.3 kB / 420.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.322, allocations: 8 kB / 420.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.3223, allocations: 27.97 kB / 420.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.3224, allocations: 32.39 kB / 420.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.3224, allocations: 20 kB / 420.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005567/0.323, allocations: 406.8 kB / 420.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.323, allocations: 0 / 420.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007482/0.3238, allocations: 215.9 kB / 421.1 MB, free: 11.56 MB / 282.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: 2 (checkValve.variableRestriction.MeteringTable.tableID,checkValve1.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006132/0.3244, allocations: 274.5 kB / 421.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008742/0.3253, allocations: 452.8 kB / 421.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3253, allocations: 0 / 421.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.3257, allocations: 234.4 kB / 422.1 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.3273, allocations: 325.6 kB / 422.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.3298, allocations: 1.662 MB / 424 MB, free: 8.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.3303, allocations: 0.9258 MB / 425 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005056/0.3308, allocations: 121.1 kB / 425.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.3309, allocations: 59.42 kB / 425.1 MB, free: 7.52 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.331, allocations: 0 / 425.1 MB, free: 7.52 MB / 282.7 MB Notification: Performance of Templates: time 0.01875/0.3497, allocations: 11.13 MB / 436.3 MB, free: 12.46 MB / 298.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)