Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0006527/0.0006527, allocations: 147.7 kB / 7.619 MB, free: 1.434 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 1.38/1.38, allocations: 150.6 MB / 158.6 MB, free: 6.227 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.001472, allocations: 82.31 kB / 193.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04862/0.04862, allocations: 11.71 MB / 240.2 MB, free: 2.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.069e-05, allocations: 4 kB / 283.6 MB, free: 31.15 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09002, allocations: 37.13 MB / 320.7 MB, free: 10 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3168/0.4069, allocations: 52.25 MB / 372.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4071, allocations: 63.97 kB / 373 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02459/0.4317, allocations: 8.974 MB / 382 MB, free: 3.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4318, allocations: 0 / 382 MB, free: 3.465 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.4318, allocations: 4 kB / 382 MB, free: 3.461 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008222/0.4327, allocations: 0.5467 MB / 382.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4327, allocations: 12.03 kB / 382.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.4328, allocations: 39.53 kB / 382.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.4333, allocations: 286.8 kB / 382.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4333, allocations: 8 kB / 382.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.4333, allocations: 12 kB / 382.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003854/0.4337, allocations: 236.7 kB / 383.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.4341, allocations: 194.4 kB / 383.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4341, allocations: 0 / 383.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.4341, allocations: 0 / 383.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.4341, allocations: 4 kB / 383.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.4357, allocations: 1.282 MB / 384.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.4362, allocations: 178.8 kB / 384.8 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4363, allocations: 89.12 kB / 384.8 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.4365, allocations: 170.2 kB / 385 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.4366, allocations: 35.72 kB / 385 MB, free: 72 kB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.4366, allocations: 4 kB / 385 MB, free: 68 kB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.02275/0.4593, allocations: 2.391 MB / 387.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4594, allocations: 55.41 kB / 387.5 MB, free: 13.55 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 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.0003382/0.4598, allocations: 230.3 kB / 387.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.4598, allocations: 25.7 kB / 387.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.46, allocations: 172.3 kB / 387.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.4601, allocations: 102.5 kB / 388 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.4601, allocations: 4 kB / 388 MB, free: 13.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4603, allocations: 342.8 kB / 388.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.4606, allocations: 200 kB / 388.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.4609, allocations: 243.1 kB / 388.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4621, allocations: 327.7 kB / 389.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4621, allocations: 0 / 389.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002178/0.4643, allocations: 0.7797 MB / 389.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4644, allocations: 11.12 kB / 389.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4644, allocations: 4.062 kB / 389.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4656, allocations: 0.751 MB / 390.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4659, allocations: 59.95 kB / 390.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.4687, allocations: 1.714 MB / 392.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.4693, allocations: 51.98 kB / 392.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.4694, allocations: 19.92 kB / 392.5 MB, free: 8.445 MB / 266.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.restriction.port_a.p:DUMMY_DER(flow=false fixed = false ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (throttleValve.data.zetaLaminarKnown,throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.4696, allocations: 114.8 kB / 392.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.4697, allocations: 35.66 kB / 392.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.4718, allocations: 0.8068 MB / 393.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.4718, allocations: 4 kB / 393.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4719, allocations: 0 / 393.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4719, allocations: 3.984 kB / 393.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.4759, allocations: 1.65 MB / 395.1 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4759, allocations: 4 kB / 395.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.4762, allocations: 59.89 kB / 395.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009375/0.4771, allocations: 0.6224 MB / 395.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.4772, allocations: 11.98 kB / 395.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.481, allocations: 1.745 MB / 397.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.481, allocations: 0 / 397.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.4827, allocations: 0.8024 MB / 398.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.4829, allocations: 168.6 kB / 398.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.483, allocations: 0 / 398.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.4835, allocations: 43.97 kB / 398.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/0.4836, allocations: 23.91 kB / 398.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.4836, allocations: 23.97 kB / 398.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.4838, allocations: 182 kB / 398.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4838, allocations: 4 kB / 398.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000813/0.4847, allocations: 243.7 kB / 399 MB, free: 1.727 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008284/0.4855, allocations: 303.8 kB / 399.3 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.4871, allocations: 0.5158 MB / 399.8 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4871, allocations: 0 / 399.8 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/0.4896, allocations: 415.8 kB / 400.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.4903, allocations: 90.31 kB / 400.3 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.4913, allocations: 464.8 kB / 400.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.4917, allocations: 0.7924 MB / 401.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.4919, allocations: 47.33 kB / 401.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.492, allocations: 35.42 kB / 401.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.492, allocations: 0 / 401.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Templates: time 0.01754/0.5096, allocations: 10.69 MB / 412.3 MB, free: 4.352 MB / 282.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)