Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") [: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.001835/0.001835, allocations: 155.9 kB / 7.432 MB, free: 2.527 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.7512/0.7512, allocations: 150.5 MB / 158.4 MB, free: 6.301 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001296/0.001296, allocations: 86.12 kB / 193.3 MB, free: 1.215 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04572/0.04572, allocations: 11.72 MB / 239.9 MB, free: 2.516 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 0 / 283.1 MB, free: 31.47 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05213/0.05215, allocations: 37.13 MB / 320.2 MB, free: 10.31 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.2058, allocations: 51.79 MB / 372 MB, free: 13.2 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.206, allocations: 59.97 kB / 372 MB, free: 13.14 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.01727/0.2233, allocations: 6.161 MB / 378.2 MB, free: 6.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.2233, allocations: 4 kB / 378.2 MB, free: 6.969 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005792/0.2239, allocations: 0.4942 MB / 378.7 MB, free: 6.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2239, allocations: 8.031 kB / 378.7 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.2241, allocations: 27.72 kB / 378.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.2244, allocations: 251 kB / 379 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2244, allocations: 8 kB / 379 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.2245, allocations: 12 kB / 379 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002376/0.2247, allocations: 120.6 kB / 379.1 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.225, allocations: 190.1 kB / 379.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.225, allocations: 0 / 379.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.225, allocations: 0 / 379.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.225, allocations: 4 kB / 379.3 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2264, allocations: 1.071 MB / 380.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2265, allocations: 95.91 kB / 380.5 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.2266, allocations: 52.86 kB / 380.5 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.2269, allocations: 328.4 kB / 380.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2269, allocations: 38.55 kB / 380.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2269, allocations: 0 / 380.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.00171/0.2286, allocations: 0.5799 MB / 381.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.2287, allocations: 59.31 kB / 381.5 MB, free: 3.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.2288, allocations: 150.8 kB / 381.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2289, allocations: 25.7 kB / 381.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.2289, allocations: 136.2 kB / 381.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.229, allocations: 59.11 kB / 381.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.229, allocations: 0 / 381.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2291, allocations: 326.8 kB / 382.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.2292, allocations: 53.22 kB / 382.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2293, allocations: 94.56 kB / 382.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.2296, allocations: 87.78 kB / 382.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2297, allocations: 0 / 382.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004823/0.2301, allocations: 202.8 kB / 382.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2302, allocations: 4.156 kB / 382.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2302, allocations: 4 kB / 382.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2302, allocations: 4 kB / 382.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.2305, allocations: 55.95 kB / 382.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2305, allocations: 11.88 kB / 382.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2306, allocations: 11.98 kB / 382.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2306, allocations: 16 kB / 382.7 MB, free: 2 MB / 250.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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001157/0.2308, allocations: 101 kB / 382.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.2308, allocations: 15.81 kB / 382.8 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.2313, allocations: 223.1 kB / 383.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2313, allocations: 4 kB / 383.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2313, allocations: 0 / 383.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2313, allocations: 4 kB / 383.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.2321, allocations: 0.5066 MB / 383.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2321, allocations: 0 / 383.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.2324, allocations: 59.89 kB / 383.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2324, allocations: 0 / 383.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.2324, allocations: 4 kB / 383.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2324, allocations: 8 kB / 383.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2324, allocations: 0 / 383.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005032/0.2329, allocations: 343.5 kB / 384 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.233, allocations: 108.9 kB / 384.1 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.2331, allocations: 7.969 kB / 384.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.2332, allocations: 19.97 kB / 384.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.2333, allocations: 7.984 kB / 384.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2333, allocations: 7.984 kB / 384.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.0001024/0.2334, allocations: 123.2 kB / 384.2 MB, free: 404 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.2338, allocations: 103.9 kB / 384.4 MB, free: 300 kB / 250.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002835/0.2341, allocations: 171.1 kB / 384.5 MB, free: 120 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.2344, allocations: 124.1 kB / 384.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2344, allocations: 4.062 kB / 384.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2345, allocations: 63.94 kB / 384.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.2349, allocations: 52.83 kB / 384.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.2357, allocations: 362.9 kB / 385.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.2361, allocations: 0.7828 MB / 385.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2362, allocations: 0 / 385.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of Templates: time 0.006545/0.2427, allocations: 3.102 MB / 389 MB, free: 11.62 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)