Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") [: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.000832/0.000832, allocations: 153.9 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.7518/0.7518, allocations: 150.5 MB / 158.4 MB, free: 6.285 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001372/0.001372, allocations: 82.88 kB / 193.3 MB, free: 1.25 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04693/0.04693, allocations: 11.72 MB / 239.9 MB, free: 2.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.061e-06, allocations: 0 / 283.1 MB, free: 31.46 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04931/0.04932, allocations: 37.13 MB / 320.2 MB, free: 10.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.192, allocations: 49.74 MB / 369.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.1922, allocations: 68.06 kB / 370 MB, free: 15.22 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01707/0.2093, allocations: 6.181 MB / 376.2 MB, free: 9.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.2093, allocations: 4 kB / 376.2 MB, free: 9.043 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004178/0.2097, allocations: 437.9 kB / 376.6 MB, free: 8.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2098, allocations: 8.031 kB / 376.6 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.2098, allocations: 15.81 kB / 376.6 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2101, allocations: 215.3 kB / 376.8 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.2101, allocations: 4 kB / 376.8 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2101, allocations: 7.984 kB / 376.8 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001954/0.2103, allocations: 112 kB / 377 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2105, allocations: 105.7 kB / 377.1 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2105, allocations: 3.906 kB / 377.1 MB, free: 8.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2105, allocations: 0 / 377.1 MB, free: 8.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2105, allocations: 4 kB / 377.1 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.2115, allocations: 0.8727 MB / 377.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.2116, allocations: 58.48 kB / 378 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.2117, allocations: 24.98 kB / 378 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.2118, allocations: 85.09 kB / 378.1 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.2118, allocations: 34.56 kB / 378.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2118, allocations: 0 / 378.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008284/0.2126, allocations: 161.5 kB / 378.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.2127, allocations: 51.41 kB / 378.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2128, allocations: 152 kB / 378.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2128, allocations: 25.7 kB / 378.5 MB, free: 6.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.2129, allocations: 119.7 kB / 378.6 MB, free: 6.266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.2129, allocations: 15.72 kB / 378.7 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.2129, allocations: 3.938 kB / 378.7 MB, free: 6.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.213, allocations: 322.8 kB / 379 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.2131, allocations: 24 kB / 379 MB, free: 5.898 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.2131, allocations: 24 kB / 379 MB, free: 5.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/0.2139, allocations: 127.9 kB / 379.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2139, allocations: 0 / 379.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008281/0.2147, allocations: 205.6 kB / 379.3 MB, free: 5.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2148, allocations: 4 kB / 379.3 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2148, allocations: 96 / 379.3 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.2148, allocations: 3.938 kB / 379.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.2149, allocations: 27.89 kB / 379.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2149, allocations: 3.984 kB / 379.4 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.215, allocations: 7.938 kB / 379.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.215, allocations: 4 kB / 379.4 MB, free: 5.492 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.217e-05/0.2151, allocations: 106.1 kB / 379.5 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.2151, allocations: 11.89 kB / 379.5 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/0.2158, allocations: 185.8 kB / 379.7 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2158, allocations: 0 / 379.7 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2158, allocations: 7.906 kB / 379.7 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2158, allocations: 4 kB / 379.7 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2169, allocations: 0.6323 MB / 380.3 MB, free: 4.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2169, allocations: 3.938 kB / 380.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.2169, allocations: 8 kB / 380.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.217, allocations: 0 / 380.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.217, allocations: 4 kB / 380.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.217, allocations: 12.05 kB / 380.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.217, allocations: 4 kB / 380.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006527/0.2176, allocations: 251.1 kB / 380.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.2177, allocations: 101 kB / 380.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.2178, allocations: 3.906 kB / 380.7 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.2178, allocations: 4 kB / 380.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.2178, allocations: 0 / 380.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2178, allocations: 7.984 kB / 380.7 MB, free: 4 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.57e-05/0.2179, allocations: 124 kB / 380.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.2182, allocations: 99.7 kB / 380.9 MB, free: 3.777 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0002634/0.2185, allocations: 199 kB / 381.1 MB, free: 3.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.2186, allocations: 48 kB / 381.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2186, allocations: 0 / 381.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.2187, allocations: 27.92 kB / 381.2 MB, free: 3.496 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.219, allocations: 45.03 kB / 381.3 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.2193, allocations: 158.9 kB / 381.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.2196, allocations: 0.7387 MB / 382.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of SimCode: time 2e-07/0.2196, allocations: 192 / 382.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of Templates: time 0.004966/0.2246, allocations: 2.541 MB / 384.7 MB, free: 15.97 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)