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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ShuttleValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest",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.001477/0.001477, allocations: 145.9 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.598/1.598, allocations: 150.5 MB / 163.7 MB, free: 2.316 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001335/0.001335, allocations: 62.39 kB / 198.8 MB, free: 12.97 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.2137/0.2137, allocations: 11.7 MB / 245.5 MB, free: 34.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.081e-05, allocations: 4 kB / 290.6 MB, free: 11.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 37.14 MB / 327.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.389, allocations: 51.64 MB / 379.4 MB, free: 24.04 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.3893, allocations: 62.55 kB / 379.4 MB, free: 24.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.409, allocations: 8.025 MB / 387.5 MB, free: 20.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.409, allocations: 0 / 387.5 MB, free: 20.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.409, allocations: 4 kB / 387.5 MB, free: 20.88 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.0005329/0.4096, allocations: 0.5279 MB / 388 MB, free: 20.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4096, allocations: 12.03 kB / 388 MB, free: 20.31 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.4097, allocations: 50.8 kB / 388.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.4097, allocations: 28.58 kB / 388.1 MB, free: 20.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.41, allocations: 252.3 kB / 388.3 MB, free: 19.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.41, allocations: 15.25 kB / 388.4 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.4101, allocations: 15.62 kB / 388.4 MB, free: 19.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.4104, allocations: 205.9 kB / 388.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4104, allocations: 0 / 388.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.4104, allocations: 7.25 kB / 388.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.4104, allocations: 7.984 kB / 388.6 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.4106, allocations: 130.9 kB / 388.7 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.4117, allocations: 1.376 MB / 390.1 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.412, allocations: 102.7 kB / 390.2 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.4121, allocations: 35.17 kB / 390.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.4122, allocations: 84.67 kB / 390.3 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.4122, allocations: 38.48 kB / 390.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.4122, allocations: 0 / 390.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001688/0.4139, allocations: 0.501 MB / 390.8 MB, free: 17.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.414, allocations: 51.41 kB / 390.9 MB, free: 17.45 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.0002583/0.4142, allocations: 233.2 kB / 391.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.4142, allocations: 25.7 kB / 391.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.4143, allocations: 167.8 kB / 391.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4144, allocations: 41.58 kB / 391.4 MB, free: 17.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.4144, allocations: 0 / 391.4 MB, free: 17.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.4144, allocations: 333.1 kB / 391.7 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.4145, allocations: 40.69 kB / 391.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.4146, allocations: 89.2 kB / 391.8 MB, free: 16.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.975e-05/0.4147, allocations: 48.05 kB / 391.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4147, allocations: 3.953 kB / 391.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000257/0.415, allocations: 181.9 kB / 392 MB, free: 16.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.415, allocations: 12.14 kB / 392 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.415, allocations: 4 kB / 392 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.415, allocations: 4 kB / 392.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.4152, allocations: 47.91 kB / 392.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4153, allocations: 0 / 392.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.4154, allocations: 27.8 kB / 392.1 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4155, allocations: 12.92 kB / 392.1 MB, free: 16.35 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 6.465e-05/0.4155, allocations: 111.1 kB / 392.2 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.4156, allocations: 27.67 kB / 392.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.4159, allocations: 150 kB / 392.4 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4159, allocations: 0 / 392.4 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4159, allocations: 0 / 392.4 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4159, allocations: 4 kB / 392.4 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.4162, allocations: 283.1 kB / 392.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4162, allocations: 0 / 392.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.4163, allocations: 43.86 kB / 392.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4164, allocations: 0 / 392.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4164, allocations: 3.984 kB / 392.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4164, allocations: 4 kB / 392.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4164, allocations: 0 / 392.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.4166, allocations: 232.8 kB / 393 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.4167, allocations: 114.6 kB / 393.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4167, allocations: 7.453 kB / 393.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4169, allocations: 19.97 kB / 393.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.417, allocations: 11.92 kB / 393.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.417, allocations: 8 kB / 393.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.4172, allocations: 181.2 kB / 393.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4172, allocations: 0 / 393.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004394/0.4176, allocations: 106.9 kB / 393.4 MB, free: 15.14 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.0005939/0.4182, allocations: 0.8421 MB / 394.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.4184, allocations: 115.6 kB / 394.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4185, allocations: 4 kB / 394.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.4185, allocations: 46.8 kB / 394.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.4192, allocations: 114.8 kB / 394.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007868/0.42, allocations: 333.3 kB / 394.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.4202, allocations: 0.748 MB / 395.6 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.4203, allocations: 40.55 kB / 395.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4204, allocations: 73.34 kB / 395.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4205, allocations: 0 / 395.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.4367, allocations: 6.004 MB / 401.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.437, allocations: 161.6 kB / 401.9 MB, free: 6.785 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.142, allocations: 0 / 401.9 MB, free: 6.785 MB / 266.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_ShuttleValveTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)