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.0008641/0.000864, allocations: 148.3 kB / 7.619 MB, free: 1.453 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.465/1.465, allocations: 150.6 MB / 158.6 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.00139/0.00139, allocations: 78.25 kB / 193.6 MB, free: 12.56 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04767/0.04767, allocations: 11.73 MB / 240.2 MB, free: 24.48 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.551e-05, allocations: 4 kB / 283.7 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2658, allocations: 37.11 MB / 320.8 MB, free: 33.62 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08113/0.347, allocations: 50.98 MB / 371.7 MB, free: 5.828 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.3472, allocations: 63.97 kB / 371.8 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02125/0.3685, allocations: 7.954 MB / 379.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3685, allocations: 0 / 379.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3686, allocations: 4.656 kB / 379.8 MB, free: 13.85 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.0006845/0.3693, allocations: 0.522 MB / 380.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.312e-05/0.3694, allocations: 12.02 kB / 380.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.3694, allocations: 31.66 kB / 380.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3698, allocations: 254.5 kB / 380.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3698, allocations: 8 kB / 380.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.3698, allocations: 8 kB / 380.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002512/0.3701, allocations: 124.7 kB / 380.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.3704, allocations: 178.3 kB / 380.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3704, allocations: 0 / 380.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3704, allocations: 0 / 380.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3705, allocations: 4 kB / 380.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.372, allocations: 1.324 MB / 382.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.3723, allocations: 90.61 kB / 382.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.3724, allocations: 32.86 kB / 382.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3725, allocations: 96.98 kB / 382.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3725, allocations: 38.5 kB / 382.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3725, allocations: 0 / 382.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001137/0.3737, allocations: 304.7 kB / 382.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3737, allocations: 55.34 kB / 382.8 MB, free: 10.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.0002613/0.374, allocations: 204.4 kB / 383 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3741, allocations: 25.7 kB / 383.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3742, allocations: 167.9 kB / 383.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.3742, allocations: 35.47 kB / 383.3 MB, free: 10 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.3742, allocations: 0 / 383.3 MB, free: 10 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3744, allocations: 330.8 kB / 383.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.3745, allocations: 39.94 kB / 383.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.3746, allocations: 82.39 kB / 383.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.3749, allocations: 87.94 kB / 383.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3749, allocations: 0 / 383.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00046/0.3754, allocations: 207.1 kB / 384 MB, free: 9.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3754, allocations: 4 kB / 384 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3754, allocations: 3.984 kB / 384 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3754, allocations: 4 kB / 384 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.3756, allocations: 47.95 kB / 384 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3757, allocations: 4 kB / 384 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3758, allocations: 20.11 kB / 384.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3759, allocations: 11.28 kB / 384.1 MB, free: 9.148 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 7.71e-05/0.3759, allocations: 108.9 kB / 384.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003742/0.3763, allocations: 157.3 kB / 384.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3764, allocations: 19.81 kB / 384.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.3768, allocations: 171.9 kB / 384.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3768, allocations: 0.5625 kB / 384.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3768, allocations: 0 / 384.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3768, allocations: 7.984 kB / 384.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.3771, allocations: 242.1 kB / 384.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3771, allocations: 0.875 kB / 384.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.3773, allocations: 35.97 kB / 384.8 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.75e-05/0.3773, allocations: 7.953 kB / 384.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3774, allocations: 3.984 kB / 384.8 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3774, allocations: 0 / 384.8 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3774, allocations: 0 / 384.8 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.3778, allocations: 263.5 kB / 385.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.3779, allocations: 112.9 kB / 385.2 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.3779, allocations: 3.953 kB / 385.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3781, allocations: 15.98 kB / 385.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3781, allocations: 7.984 kB / 385.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.3782, allocations: 11.92 kB / 385.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.3783, allocations: 152.5 kB / 385.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3783, allocations: 4 kB / 385.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004314/0.3787, allocations: 99.88 kB / 385.5 MB, free: 7.676 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.0008203/0.3796, allocations: 0.8603 MB / 386.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3798, allocations: 103.9 kB / 386.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3798, allocations: 0 / 386.4 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.3799, allocations: 47.94 kB / 386.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.3805, allocations: 86.48 kB / 386.6 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.3812, allocations: 323.7 kB / 386.9 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3816, allocations: 0.7477 MB / 387.6 MB, free: 5.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.3818, allocations: 33.83 kB / 387.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3819, allocations: 71.41 kB / 387.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3819, allocations: 0 / 387.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05627/0.4382, allocations: 4.933 MB / 392.7 MB, free: 452 kB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.4384, allocations: 143.1 kB / 392.8 MB, free: 248 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.095, allocations: 4 kB / 392.8 MB, free: 244 kB / 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)