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.01055/0.01055, allocations: 144.6 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 0.9597/0.9597, allocations: 150.7 MB / 166.5 MB, free: 5.996 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001471/0.001471, allocations: 74.59 kB / 201.8 MB, free: 2.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0472/0.0472, allocations: 11.85 MB / 248.8 MB, free: 0.5742 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004765, allocations: 9.359 kB / 296.4 MB, free: 26.84 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08845, allocations: 37.15 MB / 333.6 MB, free: 5.992 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.1995, allocations: 51.72 MB / 385.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.1999, allocations: 63.97 kB / 385.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1678/0.3677, allocations: 8.044 MB / 393.4 MB, free: 55.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3677, allocations: 5.594 kB / 393.4 MB, free: 55.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.3678, allocations: 4.094 kB / 393.4 MB, free: 55.47 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.0008488/0.3686, allocations: 0.5496 MB / 394 MB, free: 54.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3687, allocations: 9.156 kB / 394 MB, free: 54.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.3688, allocations: 26.69 kB / 394 MB, free: 54.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.3691, allocations: 269.6 kB / 394.3 MB, free: 54.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3692, allocations: 15.34 kB / 394.3 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.3692, allocations: 17.44 kB / 394.3 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.3697, allocations: 212.1 kB / 394.5 MB, free: 54.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3697, allocations: 1.844 kB / 394.5 MB, free: 54.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3697, allocations: 5 kB / 394.5 MB, free: 54.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3697, allocations: 3.906 kB / 394.5 MB, free: 54.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.3701, allocations: 170.5 kB / 394.7 MB, free: 54.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.3713, allocations: 1.368 MB / 396.1 MB, free: 53.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.3717, allocations: 124.2 kB / 396.2 MB, free: 53.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.3718, allocations: 81.8 kB / 396.3 MB, free: 53.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3719, allocations: 36.16 kB / 396.3 MB, free: 53.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3719, allocations: 3.938 kB / 396.3 MB, free: 53.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.002475/0.3744, allocations: 0.6347 MB / 396.9 MB, free: 52.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3744, allocations: 52.62 kB / 397 MB, free: 52.79 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.0002851/0.3747, allocations: 231.7 kB / 397.2 MB, free: 52.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3747, allocations: 31.48 kB / 397.2 MB, free: 52.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.3748, allocations: 163.5 kB / 397.4 MB, free: 52.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.3748, allocations: 37.09 kB / 397.4 MB, free: 52.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.3749, allocations: 4.938 kB / 397.4 MB, free: 52.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.3749, allocations: 335.1 kB / 397.8 MB, free: 52.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.3751, allocations: 77.3 kB / 397.8 MB, free: 52.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3753, allocations: 116.2 kB / 398 MB, free: 52.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3755, allocations: 83 kB / 398 MB, free: 52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.3755, allocations: 0 / 398 MB, free: 52 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004936/0.376, allocations: 248.9 kB / 398.3 MB, free: 51.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.376, allocations: 5.375 kB / 398.3 MB, free: 51.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.376, allocations: 1.125 kB / 398.3 MB, free: 51.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3761, allocations: 10.34 kB / 398.3 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.3763, allocations: 46.22 kB / 398.3 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3763, allocations: 6.656 kB / 398.4 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3765, allocations: 26.69 kB / 398.4 MB, free: 51.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3765, allocations: 7.984 kB / 398.4 MB, free: 51.88 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 () * Number of clocked 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 0.0001118/0.3766, allocations: 128.1 kB / 398.5 MB, free: 51.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.3767, allocations: 26.64 kB / 398.5 MB, free: 51.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.3772, allocations: 221.2 kB / 398.8 MB, free: 51.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3772, allocations: 1.438 kB / 398.8 MB, free: 51.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3772, allocations: 3.562 kB / 398.8 MB, free: 51.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3772, allocations: 0 / 398.8 MB, free: 51.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.3775, allocations: 280.5 kB / 399 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3775, allocations: 4 kB / 399 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3777, allocations: 37.14 kB / 399.1 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3777, allocations: 3.953 kB / 399.1 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3777, allocations: 4.609 kB / 399.1 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3777, allocations: 1.312 kB / 399.1 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3778, allocations: 0 / 399.1 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.3782, allocations: 309.4 kB / 399.4 MB, free: 51.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.3783, allocations: 107 kB / 399.5 MB, free: 51.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.3783, allocations: 9.109 kB / 399.5 MB, free: 51.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3785, allocations: 24.88 kB / 399.5 MB, free: 51.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.3786, allocations: 8.406 kB / 399.5 MB, free: 51.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3786, allocations: 2.344 kB / 399.5 MB, free: 51.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3788, allocations: 189.2 kB / 399.7 MB, free: 50.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3788, allocations: 0 / 399.7 MB, free: 50.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005246/0.3793, allocations: 104.5 kB / 399.8 MB, free: 50.96 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 () * Number of clocked 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.0003057/0.3796, allocations: 171.3 kB / 400 MB, free: 50.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.3801, allocations: 172.1 kB / 400.2 MB, free: 50.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3801, allocations: 256 / 400.2 MB, free: 50.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3803, allocations: 91.05 kB / 400.2 MB, free: 50.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.3809, allocations: 106.2 kB / 400.3 MB, free: 50.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.3816, allocations: 497.9 kB / 400.8 MB, free: 50.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.3818, allocations: 0.7499 MB / 401.6 MB, free: 49.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.382, allocations: 39.89 kB / 401.6 MB, free: 49.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.382, allocations: 26.36 kB / 401.6 MB, free: 49.71 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.382, allocations: 1 kB / 401.6 MB, free: 49.71 MB / 266.7 MB Notification: Performance of Templates: time 0.006882/0.3889, allocations: 3.822 MB / 405.5 MB, free: 48.11 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)