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") [: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.000866/0.000866, allocations: 152.3 kB / 7.431 MB, free: 0 / 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.7304/0.7304, allocations: 150.5 MB / 158.3 MB, free: 6.363 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001333/0.001333, allocations: 81.27 kB / 193.3 MB, free: 1.211 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04588/0.04588, allocations: 11.72 MB / 239.9 MB, free: 2.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.759e-06/4.769e-06, allocations: 0 / 283 MB, free: 31.46 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04934/0.04936, allocations: 37.14 MB / 320.2 MB, free: 10.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.1981, allocations: 52.51 MB / 372.7 MB, free: 12.44 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001611/0.1983, allocations: 65.38 kB / 372.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.02592/0.2242, allocations: 9.695 MB / 382.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.15e-05/0.2243, allocations: 8 kB / 382.5 MB, free: 2.656 MB / 250.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.0008468/0.2251, allocations: 0.5969 MB / 383.1 MB, free: 2.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2252, allocations: 8.031 kB / 383.1 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.2253, allocations: 47.52 kB / 383.1 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.2258, allocations: 314.5 kB / 383.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2258, allocations: 19.94 kB / 383.4 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2259, allocations: 19.98 kB / 383.5 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004123/0.2263, allocations: 241.2 kB / 383.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.2267, allocations: 275.8 kB / 384 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2267, allocations: 3.984 kB / 384 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.2268, allocations: 0 / 384 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2268, allocations: 11.94 kB / 384 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.2287, allocations: 1.49 MB / 385.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.2292, allocations: 248.1 kB / 385.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.2293, allocations: 96.84 kB / 385.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.2295, allocations: 97.16 kB / 385.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.2295, allocations: 34.56 kB / 385.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.2295, allocations: 0 / 385.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.002037/0.2315, allocations: 0.8367 MB / 386.8 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.2316, allocations: 63.53 kB / 386.8 MB, free: 13.93 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.0002477/0.2318, allocations: 233 kB / 387.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2319, allocations: 29.69 kB / 387.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.232, allocations: 164.2 kB / 387.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.232, allocations: 90.66 kB / 387.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.232, allocations: 0 / 387.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2322, allocations: 334.8 kB / 387.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2323, allocations: 105 kB / 387.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2325, allocations: 160.4 kB / 387.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.2329, allocations: 139.8 kB / 388.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2329, allocations: 4 kB / 388.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006603/0.2336, allocations: 330 kB / 388.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2336, allocations: 8 kB / 388.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2336, allocations: 0 / 388.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2337, allocations: 4 kB / 388.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.234, allocations: 96.03 kB / 388.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.234, allocations: 4 kB / 388.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2342, allocations: 11.98 kB / 388.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.2343, allocations: 12 kB / 388.5 MB, free: 12.17 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "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 () * 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.000124/0.2344, allocations: 125 kB / 388.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.2345, allocations: 31.62 kB / 388.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.2352, allocations: 344.4 kB / 389 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2352, allocations: 0 / 389 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2352, allocations: 0 / 389 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2352, allocations: 4 kB / 389 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2363, allocations: 0.7371 MB / 389.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2363, allocations: 3.938 kB / 389.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.2367, allocations: 75.89 kB / 389.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2367, allocations: 4 kB / 389.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2367, allocations: 3.984 kB / 389.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2367, allocations: 4 kB / 389.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2367, allocations: 3.906 kB / 389.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008006/0.2375, allocations: 0.5191 MB / 390.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.2377, allocations: 136.8 kB / 390.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.2378, allocations: 7.938 kB / 390.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.238, allocations: 15.98 kB / 390.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.238, allocations: 19.97 kB / 390.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.2381, allocations: 12.03 kB / 390.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 0.0001616/0.2382, allocations: 183.1 kB / 390.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004576/0.2387, allocations: 123.9 kB / 390.8 MB, free: 9.754 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 () * 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.0004123/0.2391, allocations: 233.1 kB / 391.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.2395, allocations: 228.1 kB / 391.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2395, allocations: 0 / 391.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.2397, allocations: 124.4 kB / 391.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.2404, allocations: 98.98 kB / 391.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2414, allocations: 0.518 MB / 392 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.242, allocations: 0.8453 MB / 392.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.242, allocations: 0 / 392.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of Templates: time 0.009257/0.2512, allocations: 5.111 MB / 398 MB, free: 2.594 MB / 266.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)