Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0009529/0.0009529, allocations: 146 kB / 12.7 MB, free: 2.617 MB / 13.93 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 1.04/1.04, allocations: 150.5 MB / 163.7 MB, free: 2.375 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.00125/0.00125, allocations: 69.62 kB / 198.8 MB, free: 12.98 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1824/0.1824, allocations: 11.7 MB / 245.5 MB, free: 34.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.916e-05, allocations: 4 kB / 290.5 MB, free: 11.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09049, allocations: 37.16 MB / 327.7 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/0.3767, allocations: 51.63 MB / 379.3 MB, free: 24.07 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.377, allocations: 63.91 kB / 379.3 MB, free: 24.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02145/0.3985, allocations: 8.024 MB / 387.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3985, allocations: 192 / 387.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.3986, allocations: 8 kB / 387.4 MB, free: 20.95 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006786/0.3992, allocations: 0.5201 MB / 387.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.3993, allocations: 8.031 kB / 387.9 MB, free: 20.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.154e-05/0.3994, allocations: 28.58 kB / 387.9 MB, free: 20.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.3997, allocations: 257.8 kB / 388.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3998, allocations: 10.81 kB / 388.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.3998, allocations: 19.25 kB / 388.2 MB, free: 20.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.4001, allocations: 202.1 kB / 388.4 MB, free: 19.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4002, allocations: 7.984 kB / 388.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.4002, allocations: 10.62 kB / 388.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4002, allocations: 4 kB / 388.4 MB, free: 19.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.4004, allocations: 127.5 kB / 388.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.4016, allocations: 1.378 MB / 389.9 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.402, allocations: 103.4 kB / 390 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.402, allocations: 35.55 kB / 390.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-05/0.4021, allocations: 85.09 kB / 390.2 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.4021, allocations: 37.81 kB / 390.2 MB, free: 18.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.4021, allocations: 0 / 390.2 MB, free: 18.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001784/0.4039, allocations: 0.5007 MB / 390.7 MB, free: 17.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.404, allocations: 51.41 kB / 390.7 MB, free: 17.57 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 sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sine.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.000279/0.4043, allocations: 227.3 kB / 391 MB, free: 17.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.4043, allocations: 29.7 kB / 391 MB, free: 17.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.4044, allocations: 172.5 kB / 391.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.4044, allocations: 35.16 kB / 391.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.4045, allocations: 3.688 kB / 391.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.4045, allocations: 333.8 kB / 391.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.4046, allocations: 42 kB / 391.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4047, allocations: 80.39 kB / 391.6 MB, free: 16.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.4048, allocations: 59.06 kB / 391.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4048, allocations: 0 / 391.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002609/0.4051, allocations: 182.1 kB / 391.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4051, allocations: 4 kB / 391.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4052, allocations: 0 / 391.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4052, allocations: 8.125 kB / 391.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.4054, allocations: 49.69 kB / 391.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.4054, allocations: 4 kB / 391.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.4056, allocations: 27.53 kB / 392 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.4056, allocations: 8 kB / 392 MB, free: 16.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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 8.406e-05/0.4057, allocations: 119 kB / 392.1 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4058, allocations: 23.67 kB / 392.1 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.4061, allocations: 148.4 kB / 392.3 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4061, allocations: 0 / 392.3 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4061, allocations: 4 kB / 392.3 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4061, allocations: 0 / 392.3 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.4064, allocations: 275.5 kB / 392.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4064, allocations: 4 kB / 392.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.4065, allocations: 43.72 kB / 392.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4065, allocations: 3.953 kB / 392.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4066, allocations: 7.984 kB / 392.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4066, allocations: 0 / 392.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4066, allocations: 0.7031 kB / 392.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.4068, allocations: 230.8 kB / 392.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.4069, allocations: 119.6 kB / 392.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.4069, allocations: 8.641 kB / 392.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.4071, allocations: 19.98 kB / 393 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.4072, allocations: 11.92 kB / 393 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.4072, allocations: 3.688 kB / 393 MB, free: 15.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.4073, allocations: 183.8 kB / 393.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4073, allocations: 0 / 393.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004608/0.4078, allocations: 110.1 kB / 393.3 MB, free: 15.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0002819/0.4081, allocations: 175 kB / 393.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.4083, allocations: 108.4 kB / 393.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4083, allocations: 4.062 kB / 393.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.4084, allocations: 51.67 kB / 393.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.4091, allocations: 104 kB / 393.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.4097, allocations: 256.9 kB / 394 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.4099, allocations: 0.748 MB / 394.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.4101, allocations: 34.05 kB / 394.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.4101, allocations: 23.42 kB / 394.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4102, allocations: 0 / 394.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Templates: time 0.00664/0.4168, allocations: 3.854 MB / 398.6 MB, free: 10.02 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)