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.01399/0.01399, allocations: 144.6 kB / 15.09 MB, free: 6 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.663/1.663, allocations: 150.7 MB / 166.5 MB, free: 6.078 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001697/0.001697, allocations: 86.47 kB / 201.8 MB, free: 2.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.08003/0.08003, allocations: 11.84 MB / 248.8 MB, free: 0.6016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 8.656 kB / 296.5 MB, free: 26.76 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.07379, allocations: 37.15 MB / 333.7 MB, free: 5.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.178, allocations: 51.72 MB / 385.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.1783, allocations: 63.97 kB / 385.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2713/0.4496, allocations: 8.05 MB / 393.5 MB, free: 55.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4497, allocations: 1.5 kB / 393.5 MB, free: 55.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.4497, allocations: 4.469 kB / 393.5 MB, free: 55.52 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.00102/0.4507, allocations: 0.5545 MB / 394.1 MB, free: 55.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4508, allocations: 13.22 kB / 394.1 MB, free: 55.03 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.754e-05/0.4509, allocations: 52.58 kB / 394.1 MB, free: 54.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.451, allocations: 30.44 kB / 394.2 MB, free: 54.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.4514, allocations: 258.4 kB / 394.4 MB, free: 54.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4514, allocations: 12.38 kB / 394.4 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.4515, allocations: 19.12 kB / 394.5 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.452, allocations: 216 kB / 394.7 MB, free: 54.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4521, allocations: 0 / 394.7 MB, free: 54.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.4521, allocations: 10.5 kB / 394.7 MB, free: 54.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4521, allocations: 5.312 kB / 394.7 MB, free: 54.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/0.4527, allocations: 160.8 kB / 394.8 MB, free: 54.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.4546, allocations: 1.372 MB / 396.2 MB, free: 53.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.4553, allocations: 120.4 kB / 396.3 MB, free: 53.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.4555, allocations: 93.98 kB / 396.4 MB, free: 53.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.4555, allocations: 31.84 kB / 396.4 MB, free: 53.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.4555, allocations: 4 kB / 396.5 MB, free: 53.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.004274/0.4598, allocations: 0.6281 MB / 397.1 MB, free: 52.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.466e-05/0.4599, allocations: 53.66 kB / 397.1 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.0004324/0.4603, allocations: 242.9 kB / 397.4 MB, free: 52.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4604, allocations: 26.86 kB / 397.4 MB, free: 52.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.4605, allocations: 162.7 kB / 397.6 MB, free: 52.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.4606, allocations: 40.25 kB / 397.6 MB, free: 52.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.4606, allocations: 5.062 kB / 397.6 MB, free: 52.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.4607, allocations: 330.5 kB / 397.9 MB, free: 52.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.4611, allocations: 76.67 kB / 398 MB, free: 52.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.4615, allocations: 116 kB / 398.1 MB, free: 52.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4619, allocations: 88.58 kB / 398.2 MB, free: 51.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4619, allocations: 5.125 kB / 398.2 MB, free: 51.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009243/0.4628, allocations: 241.8 kB / 398.4 MB, free: 51.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4629, allocations: 5.188 kB / 398.4 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4629, allocations: 5.25 kB / 398.4 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4629, allocations: 1.25 kB / 398.4 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.4633, allocations: 47.73 kB / 398.5 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.4633, allocations: 2.219 kB / 398.5 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.4637, allocations: 27.69 kB / 398.5 MB, free: 51.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.4637, allocations: 9.578 kB / 398.5 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.0001764/0.4639, allocations: 135.2 kB / 398.7 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.464, allocations: 27.42 kB / 398.7 MB, free: 51.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/0.4649, allocations: 222.9 kB / 398.9 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.465, allocations: 4.703 kB / 398.9 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.465, allocations: 0 / 398.9 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.465, allocations: 1.156 kB / 398.9 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.4654, allocations: 278 kB / 399.2 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4654, allocations: 0 / 399.2 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.4658, allocations: 41.45 kB / 399.2 MB, free: 51.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.088e-06/0.4658, allocations: 5.047 kB / 399.2 MB, free: 51.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.4658, allocations: 1.062 kB / 399.2 MB, free: 51.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4658, allocations: 5.094 kB / 399.2 MB, free: 51.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4658, allocations: 0 / 399.2 MB, free: 51.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.4666, allocations: 296.9 kB / 399.5 MB, free: 51.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.4668, allocations: 116 kB / 399.6 MB, free: 51.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.4669, allocations: 5.141 kB / 399.6 MB, free: 51.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.4672, allocations: 25.31 kB / 399.7 MB, free: 51.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.4673, allocations: 16.3 kB / 399.7 MB, free: 51.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.4674, allocations: 2.25 kB / 399.7 MB, free: 51.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002653/0.4676, allocations: 185.9 kB / 399.9 MB, free: 50.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4676, allocations: 0 / 399.9 MB, free: 50.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006977/0.4683, allocations: 104.5 kB / 400 MB, free: 50.95 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.001471/0.4698, allocations: 0.9057 MB / 400.9 MB, free: 50.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008263/0.4707, allocations: 174.8 kB / 401.1 MB, free: 50.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4707, allocations: 0 / 401.1 MB, free: 50.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.4711, allocations: 86.53 kB / 401.1 MB, free: 50.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4722, allocations: 100.9 kB / 401.2 MB, free: 50.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.4742, allocations: 1.397 MB / 402.6 MB, free: 48.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.4744, allocations: 0.7514 MB / 403.4 MB, free: 48.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002924/0.4747, allocations: 26.08 kB / 403.4 MB, free: 48.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.4749, allocations: 71.03 kB / 403.5 MB, free: 48.15 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4749, allocations: 0 / 403.5 MB, free: 48.15 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.5072, allocations: 5.97 MB / 409.4 MB, free: 45.42 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/0.5075, allocations: 187.4 kB / 409.6 MB, free: 45.18 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.246, allocations: 0 / 409.6 MB, free: 45.18 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)