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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.005547/0.005547, allocations: 147.8 kB / 15.09 MB, free: 5.992 MB / 13.93 MB [/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. [/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 1.068/1.068, allocations: 150.7 MB / 166.5 MB, free: 6.094 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001458/0.001458, allocations: 78.53 kB / 201.8 MB, free: 2.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05081/0.05081, allocations: 11.84 MB / 248.8 MB, free: 0.6172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004105, allocations: 13.5 kB / 296.4 MB, free: 26.89 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06205/0.06248, allocations: 37.15 MB / 333.6 MB, free: 6.023 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07247/0.135, allocations: 50.57 MB / 384.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.1353, allocations: 63.97 kB / 384.2 MB, free: 3.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1638/0.2991, allocations: 6.536 MB / 390.8 MB, free: 55.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2992, allocations: 2.656 kB / 390.8 MB, free: 55.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.2992, allocations: 2.344 kB / 390.8 MB, free: 55.61 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004911/0.2997, allocations: 457.6 kB / 391.2 MB, free: 55.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2997, allocations: 8.375 kB / 391.2 MB, free: 55.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.2998, allocations: 12.81 kB / 391.2 MB, free: 55.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3, allocations: 216.7 kB / 391.4 MB, free: 54.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3001, allocations: 11.59 kB / 391.4 MB, free: 54.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3001, allocations: 13.31 kB / 391.5 MB, free: 54.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3003, allocations: 123.5 kB / 391.6 MB, free: 54.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3004, allocations: 3.984 kB / 391.6 MB, free: 54.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3004, allocations: 6.641 kB / 391.6 MB, free: 54.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3004, allocations: 2.219 kB / 391.6 MB, free: 54.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.3006, allocations: 118.3 kB / 391.7 MB, free: 54.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.3016, allocations: 0.9199 MB / 392.6 MB, free: 54.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3017, allocations: 60.02 kB / 392.7 MB, free: 54.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.3018, allocations: 85.73 kB / 392.8 MB, free: 53.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3018, allocations: 36.5 kB / 392.8 MB, free: 53.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3018, allocations: 0 / 392.8 MB, free: 53.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002607/0.3021, allocations: 104.1 kB / 392.9 MB, free: 53.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3022, allocations: 56.91 kB / 393 MB, free: 53.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.3023, allocations: 178.6 kB / 393.1 MB, free: 53.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3023, allocations: 25.7 kB / 393.2 MB, free: 53.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.3024, allocations: 121.7 kB / 393.3 MB, free: 53.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3024, allocations: 23 kB / 393.3 MB, free: 53.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.3024, allocations: 1.094 kB / 393.3 MB, free: 53.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.3025, allocations: 325.9 kB / 393.6 MB, free: 53.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.3026, allocations: 28.67 kB / 393.7 MB, free: 53.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.3026, allocations: 25.28 kB / 393.7 MB, free: 53.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.101e-05/0.3027, allocations: 32.14 kB / 393.7 MB, free: 53.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3027, allocations: 0 / 393.7 MB, free: 53.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.3029, allocations: 115.2 kB / 393.8 MB, free: 53.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3029, allocations: 6.281 kB / 393.8 MB, free: 53.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3029, allocations: 0 / 393.8 MB, free: 53.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.303, allocations: 2.172 kB / 393.8 MB, free: 53.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3031, allocations: 19.16 kB / 393.8 MB, free: 53.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3031, allocations: 4.734 kB / 393.9 MB, free: 53.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.3031, allocations: 11.69 kB / 393.9 MB, free: 53.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3032, allocations: 3.594 kB / 393.9 MB, free: 53.11 MB / 266.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 () * Number of clocked 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 7.229e-05/0.3032, allocations: 127.5 kB / 394 MB, free: 52.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.3033, allocations: 20.52 kB / 394 MB, free: 52.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.3035, allocations: 98.81 kB / 394.1 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3035, allocations: 4 kB / 394.1 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3035, allocations: 2.047 kB / 394.1 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3035, allocations: 288 / 394.1 MB, free: 52.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.3039, allocations: 394.5 kB / 394.5 MB, free: 52.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3039, allocations: 0.6094 kB / 394.5 MB, free: 52.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/0.304, allocations: 14.61 kB / 394.5 MB, free: 52.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.304, allocations: 4.656 kB / 394.5 MB, free: 52.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.304, allocations: 3.656 kB / 394.5 MB, free: 52.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.304, allocations: 3.938 kB / 394.5 MB, free: 52.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.304, allocations: 6.109 kB / 394.5 MB, free: 52.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.3042, allocations: 193.1 kB / 394.7 MB, free: 52.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.3043, allocations: 101 kB / 394.8 MB, free: 52.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3043, allocations: 1.906 kB / 394.8 MB, free: 52.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.3044, allocations: 2.734 kB / 394.8 MB, free: 52.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.3044, allocations: 7.781 kB / 394.8 MB, free: 52.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3045, allocations: 2.906 kB / 394.8 MB, free: 52.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.3046, allocations: 150 kB / 395 MB, free: 52.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3046, allocations: 1.219 kB / 395 MB, free: 52.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.3051, allocations: 98.61 kB / 395.1 MB, free: 52.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0003231/0.3054, allocations: 195.9 kB / 395.3 MB, free: 52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3056, allocations: 64.06 kB / 395.3 MB, free: 51.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3056, allocations: 0 / 395.3 MB, free: 51.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.756e-05/0.3057, allocations: 23.34 kB / 395.4 MB, free: 51.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.3061, allocations: 67.39 kB / 395.4 MB, free: 51.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.3067, allocations: 307.3 kB / 395.7 MB, free: 51.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3068, allocations: 0.7099 MB / 396.4 MB, free: 51.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.882e-05/0.3069, allocations: 26.05 kB / 396.5 MB, free: 51.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.307, allocations: 18.84 kB / 396.5 MB, free: 51.02 MB / 266.7 MB Notification: Performance of SimCode: time 2.2e-07/0.307, allocations: 0 / 396.5 MB, free: 51.02 MB / 266.7 MB Notification: Performance of Templates: time 0.006731/0.3137, allocations: 3.151 MB / 399.6 MB, free: 50.77 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)