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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.01217/0.01217, allocations: 144.7 kB / 15.09 MB, free: 5.984 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.418/1.418, allocations: 150.7 MB / 166.5 MB, free: 6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001748/0.001748, allocations: 90.41 kB / 201.8 MB, free: 2.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.08411/0.08411, allocations: 11.85 MB / 248.8 MB, free: 0.6016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006428, allocations: 8 kB / 296.5 MB, free: 26.71 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07296/0.07367, allocations: 37.13 MB / 333.7 MB, free: 5.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.1787, allocations: 50.57 MB / 384.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.179, allocations: 63.97 kB / 384.3 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2285/0.4075, allocations: 6.545 MB / 390.9 MB, free: 53.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4076, allocations: 0 / 390.9 MB, free: 53.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.4076, allocations: 2.406 kB / 390.9 MB, free: 53.62 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.0006831/0.4083, allocations: 464.6 kB / 391.3 MB, free: 53.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4084, allocations: 9.375 kB / 391.3 MB, free: 53.2 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.4084, allocations: 49.5 kB / 391.4 MB, free: 53.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.4085, allocations: 14.69 kB / 391.4 MB, free: 53.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.4088, allocations: 218.1 kB / 391.6 MB, free: 52.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4088, allocations: 7.516 kB / 391.6 MB, free: 52.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.4089, allocations: 10.44 kB / 391.6 MB, free: 52.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.4092, allocations: 127.2 kB / 391.7 MB, free: 52.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4092, allocations: 0 / 391.7 MB, free: 52.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.4093, allocations: 5.125 kB / 391.7 MB, free: 52.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.4093, allocations: 2.125 kB / 391.7 MB, free: 52.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.4096, allocations: 115.7 kB / 391.9 MB, free: 52.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.4109, allocations: 0.9277 MB / 392.8 MB, free: 52.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.4111, allocations: 59.91 kB / 392.8 MB, free: 52.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.4112, allocations: 85.69 kB / 392.9 MB, free: 51.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4113, allocations: 32.23 kB / 393 MB, free: 51.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.4113, allocations: 0.9375 kB / 393 MB, free: 51.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003772/0.4117, allocations: 107.4 kB / 393.1 MB, free: 51.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.4117, allocations: 52.59 kB / 393.1 MB, free: 51.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.412, allocations: 179.6 kB / 393.3 MB, free: 51.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.412, allocations: 26.77 kB / 393.3 MB, free: 51.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4121, allocations: 121.9 kB / 393.4 MB, free: 51.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.4121, allocations: 15.02 kB / 393.4 MB, free: 51.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.4122, allocations: 4.688 kB / 393.5 MB, free: 51.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.4122, allocations: 326.5 kB / 393.8 MB, free: 51.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.4123, allocations: 26.94 kB / 393.8 MB, free: 51.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.4125, allocations: 32.84 kB / 393.8 MB, free: 51.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.4126, allocations: 30.34 kB / 393.9 MB, free: 51.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4126, allocations: 0 / 393.9 MB, free: 51.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002976/0.4129, allocations: 112.8 kB / 394 MB, free: 51.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4129, allocations: 5.469 kB / 394 MB, free: 51.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4129, allocations: 0.7031 kB / 394 MB, free: 51.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.413, allocations: 0 / 394 MB, free: 51.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.4131, allocations: 21.64 kB / 394 MB, free: 51.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4132, allocations: 1.062 kB / 394 MB, free: 51.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4133, allocations: 19.95 kB / 394 MB, free: 51.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.4133, allocations: 3.109 kB / 394 MB, free: 51.18 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 0.0001012/0.4134, allocations: 128.1 kB / 394.1 MB, free: 51.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.4135, allocations: 14.59 kB / 394.2 MB, free: 51.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.4138, allocations: 99.55 kB / 394.3 MB, free: 51.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4138, allocations: 2.031 kB / 394.3 MB, free: 51.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4138, allocations: 0 / 394.3 MB, free: 51.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4139, allocations: 1.406 kB / 394.3 MB, free: 51.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.4144, allocations: 400.5 kB / 394.7 MB, free: 50.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4145, allocations: 0.6094 kB / 394.7 MB, free: 50.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/0.4146, allocations: 15.12 kB / 394.7 MB, free: 50.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4146, allocations: 0.7969 kB / 394.7 MB, free: 50.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4146, allocations: 2.688 kB / 394.7 MB, free: 50.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4146, allocations: 0.7031 kB / 394.7 MB, free: 50.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4146, allocations: 1.938 kB / 394.7 MB, free: 50.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.4149, allocations: 198.9 kB / 394.9 MB, free: 50.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.415, allocations: 103.8 kB / 395 MB, free: 50.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.415, allocations: 1.766 kB / 395 MB, free: 50.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4152, allocations: 2.922 kB / 395 MB, free: 50.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.4152, allocations: 6.297 kB / 395 MB, free: 50.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4152, allocations: 3.328 kB / 395 MB, free: 50.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.4154, allocations: 153.9 kB / 395.1 MB, free: 50.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4154, allocations: 0 / 395.1 MB, free: 50.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.416, allocations: 102.6 kB / 395.2 MB, free: 50.3 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.0008162/0.4168, allocations: 0.8842 MB / 396.1 MB, free: 49.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.4171, allocations: 62.25 kB / 396.2 MB, free: 49.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4171, allocations: 0 / 396.2 MB, free: 49.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.4172, allocations: 25.95 kB / 396.2 MB, free: 49.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.418, allocations: 69.72 kB / 396.3 MB, free: 49.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.4198, allocations: 0.8554 MB / 397.1 MB, free: 49.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.4201, allocations: 0.7148 MB / 397.8 MB, free: 48.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.4203, allocations: 22.91 kB / 397.9 MB, free: 48.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4204, allocations: 49.11 kB / 397.9 MB, free: 48.33 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4204, allocations: 0 / 397.9 MB, free: 48.33 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/1.724, allocations: 4.733 MB / 402.6 MB, free: 47.73 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.725, allocations: 172.3 kB / 402.8 MB, free: 47.5 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/4.592, allocations: 0 / 402.8 MB, free: 47.5 MB / 266.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)