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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.002343/0.002343, allocations: 153.4 kB / 7.426 MB, free: 2.512 MB / 5.871 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:14-570:31:writable] Warning: Treating .0158271919734802 as 0.0158271919734802. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:48-570:65:writable] Warning: Treating .0942738402188500 as 0.0942738402188500. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:13-571:29:writable] Warning: Treating .155071987336585 as 0.155071987336585. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:47-571:63:writable] Warning: Treating .188821573960182 as 0.188821573960182. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:9-572:25:writable] Warning: Treating .199773405226859 as 0.199773405226859. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:42-572:58:writable] Warning: Treating .224926465333340 as 0.224926465333340. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:75-572:91:writable] Warning: Treating .242611071901408 as 0.242611071901408. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 0.7355/0.7355, allocations: 150.5 MB / 158.4 MB, free: 6.344 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001283/0.001283, allocations: 86.12 kB / 193.3 MB, free: 1.18 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04535/0.04535, allocations: 11.73 MB / 239.9 MB, free: 2.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.04e-06/5.07e-06, allocations: 0 / 283.1 MB, free: 31.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04819/0.04821, allocations: 37.14 MB / 320.2 MB, free: 10.28 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.1904, allocations: 53.24 MB / 373.4 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001615/0.1906, allocations: 68.72 kB / 373.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.03947/0.2301, allocations: 16.02 MB / 389.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.229e-05/0.2301, allocations: 19.94 kB / 389.5 MB, free: 11.58 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.001518/0.2317, allocations: 0.8498 MB / 390.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.2317, allocations: 8.031 kB / 390.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.232, allocations: 86.97 kB / 390.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008895/0.2329, allocations: 0.5135 MB / 391 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.2329, allocations: 24 kB / 391 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.233, allocations: 32 kB / 391 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000806/0.2338, allocations: 494.5 kB / 391.5 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.2346, allocations: 487.9 kB / 392 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2346, allocations: 0 / 392 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.2347, allocations: 4 kB / 392 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2347, allocations: 12 kB / 392 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.2382, allocations: 2.892 MB / 394.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/0.239, allocations: 439.5 kB / 395.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.2393, allocations: 192.8 kB / 395.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.781e-05/0.2394, allocations: 93.09 kB / 395.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2395, allocations: 42.5 kB / 395.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.894e-06/0.2395, allocations: 0 / 395.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.003/0.2425, allocations: 1.263 MB / 396.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2425, allocations: 59.41 kB / 397 MB, free: 3.641 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.0004198/0.243, allocations: 377.1 kB / 397.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.243, allocations: 25.7 kB / 397.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2431, allocations: 256.3 kB / 397.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2433, allocations: 145.8 kB / 397.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.2433, allocations: 0 / 397.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2434, allocations: 362.8 kB / 398.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.2436, allocations: 149 kB / 398.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.2439, allocations: 268.7 kB / 398.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.2447, allocations: 277.8 kB / 398.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2447, allocations: 0 / 398.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001159/0.2458, allocations: 0.5725 MB / 399.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2458, allocations: 7.125 kB / 399.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2459, allocations: 4 kB / 399.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2459, allocations: 4.344 kB / 399.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.2464, allocations: 127.8 kB / 399.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2464, allocations: 7.938 kB / 399.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.2467, allocations: 39.88 kB / 399.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.2468, allocations: 23.98 kB / 399.6 MB, free: 0.9688 MB / 266.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 = j1.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: 4 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID,checkValve1.variableRestriction.MeteringTable.tableID) * Number of discrete 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.000221/0.247, allocations: 187.2 kB / 399.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.2471, allocations: 51.34 kB / 399.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2484, allocations: 0.5899 MB / 400.4 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2484, allocations: 8 kB / 400.4 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2484, allocations: 4 kB / 400.4 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2484, allocations: 3.984 kB / 400.4 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.2504, allocations: 1.169 MB / 401.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2504, allocations: 0 / 401.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.2509, allocations: 107.9 kB / 401.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.2509, allocations: 4 kB / 401.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.251, allocations: 7.984 kB / 401.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.251, allocations: 0 / 401.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.251, allocations: 0 / 401.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001364/0.2523, allocations: 0.8571 MB / 402.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.2526, allocations: 180.4 kB / 402.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.2527, allocations: 4 kB / 402.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.253, allocations: 19.89 kB / 402.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.253, allocations: 32.33 kB / 402.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2531, allocations: 19.98 kB / 402.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0003292/0.2534, allocations: 299.2 kB / 403.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.254, allocations: 191.9 kB / 403.3 MB, free: 13.17 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 () * 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.0005022/0.2545, allocations: 262.3 kB / 403.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.2552, allocations: 407.2 kB / 403.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2552, allocations: 0 / 403.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.2555, allocations: 209.6 kB / 404.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2565, allocations: 194.4 kB / 404.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.2583, allocations: 1.009 MB / 405.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/0.2589, allocations: 1.01 MB / 406.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of SimCode: time 2.61e-07/0.259, allocations: 0 / 406.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of Templates: time 0.01416/0.2731, allocations: 8.561 MB / 414.9 MB, free: 1.523 MB / 282.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)