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.007619/0.007619, allocations: 143.8 kB / 15.09 MB, free: 5.98 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.214/1.214, allocations: 150.7 MB / 166.5 MB, free: 6.086 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001429/0.001429, allocations: 90.41 kB / 201.8 MB, free: 2.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04726/0.04726, allocations: 11.85 MB / 248.8 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003756, allocations: 9.156 kB / 296.5 MB, free: 26.8 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.0864, allocations: 37.15 MB / 333.7 MB, free: 5.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08077/0.1672, allocations: 51.72 MB / 385.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.1675, allocations: 63.97 kB / 385.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.209/0.3765, allocations: 8.05 MB / 393.5 MB, free: 55.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3765, allocations: 1.219 kB / 393.5 MB, free: 55.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.3765, allocations: 4.25 kB / 393.5 MB, free: 55.55 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.000729/0.3773, allocations: 0.5531 MB / 394.1 MB, free: 55.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3773, allocations: 10.25 kB / 394.1 MB, free: 55.06 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.3774, allocations: 48.39 kB / 394.1 MB, free: 55.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.3775, allocations: 35.31 kB / 394.2 MB, free: 54.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.3778, allocations: 260.5 kB / 394.4 MB, free: 54.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3778, allocations: 15.72 kB / 394.4 MB, free: 54.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3779, allocations: 16.59 kB / 394.5 MB, free: 54.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.3783, allocations: 220.8 kB / 394.7 MB, free: 54.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3783, allocations: 1.641 kB / 394.7 MB, free: 54.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3783, allocations: 5.188 kB / 394.7 MB, free: 54.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3783, allocations: 4.75 kB / 394.7 MB, free: 54.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.3787, allocations: 165.4 kB / 394.8 MB, free: 54.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.38, allocations: 1.38 MB / 396.2 MB, free: 53.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.3804, allocations: 110.5 kB / 396.3 MB, free: 53.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.3805, allocations: 85.17 kB / 396.4 MB, free: 53.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3805, allocations: 35.56 kB / 396.5 MB, free: 53.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3805, allocations: 1.688 kB / 396.5 MB, free: 53.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.002455/0.383, allocations: 0.6317 MB / 397.1 MB, free: 52.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.383, allocations: 56.59 kB / 397.1 MB, free: 52.81 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.0003009/0.3833, allocations: 232.6 kB / 397.4 MB, free: 52.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3834, allocations: 26.89 kB / 397.4 MB, free: 52.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.3835, allocations: 166.2 kB / 397.6 MB, free: 52.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3835, allocations: 43.33 kB / 397.6 MB, free: 52.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.3835, allocations: 1.406 kB / 397.6 MB, free: 52.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.3836, allocations: 330.4 kB / 397.9 MB, free: 52.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.3838, allocations: 80.14 kB / 398 MB, free: 52.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.384, allocations: 119 kB / 398.1 MB, free: 52.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.3842, allocations: 86.03 kB / 398.2 MB, free: 52.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3842, allocations: 0 / 398.2 MB, free: 52.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005086/0.3848, allocations: 244.5 kB / 398.4 MB, free: 51.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3848, allocations: 5.719 kB / 398.4 MB, free: 51.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3848, allocations: 1 kB / 398.4 MB, free: 51.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3848, allocations: 2.406 kB / 398.4 MB, free: 51.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3851, allocations: 59.25 kB / 398.5 MB, free: 51.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3851, allocations: 1.094 kB / 398.5 MB, free: 51.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3853, allocations: 19.53 kB / 398.5 MB, free: 51.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3853, allocations: 12.67 kB / 398.5 MB, free: 51.91 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.0001214/0.3854, allocations: 136 kB / 398.7 MB, free: 51.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.3855, allocations: 31.05 kB / 398.7 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.386, allocations: 214 kB / 398.9 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.386, allocations: 1.344 kB / 398.9 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.386, allocations: 1.281 kB / 398.9 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.386, allocations: 0 / 398.9 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3863, allocations: 278.3 kB / 399.2 MB, free: 51.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3863, allocations: 0.9062 kB / 399.2 MB, free: 51.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3865, allocations: 41.95 kB / 399.2 MB, free: 51.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3865, allocations: 3.953 kB / 399.2 MB, free: 51.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3866, allocations: 13.11 kB / 399.2 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3866, allocations: 1.156 kB / 399.2 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3866, allocations: 0 / 399.2 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.387, allocations: 296.1 kB / 399.5 MB, free: 51.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.3871, allocations: 111 kB / 399.6 MB, free: 51.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.3872, allocations: 5.422 kB / 399.6 MB, free: 51.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3873, allocations: 28.97 kB / 399.7 MB, free: 51.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.3874, allocations: 7.719 kB / 399.7 MB, free: 51.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3874, allocations: 4.094 kB / 399.7 MB, free: 51.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.3876, allocations: 182.9 kB / 399.9 MB, free: 51.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3876, allocations: 0 / 399.9 MB, free: 51.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005477/0.3882, allocations: 105.3 kB / 400 MB, free: 50.99 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.0008364/0.389, allocations: 0.9037 MB / 400.9 MB, free: 50.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.3895, allocations: 174.2 kB / 401 MB, free: 50.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3895, allocations: 0 / 401 MB, free: 50.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3897, allocations: 88.62 kB / 401.1 MB, free: 50.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.3903, allocations: 114 kB / 401.2 MB, free: 50.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3918, allocations: 1.395 MB / 402.6 MB, free: 48.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.392, allocations: 0.7498 MB / 403.4 MB, free: 48.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.3923, allocations: 36.5 kB / 403.4 MB, free: 48.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3924, allocations: 70.08 kB / 403.5 MB, free: 48.17 MB / 266.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3924, allocations: 1.375 kB / 403.5 MB, free: 48.17 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.4117, allocations: 5.968 MB / 409.5 MB, free: 45.46 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.4119, allocations: 182.1 kB / 409.6 MB, free: 45.21 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.272, allocations: 0 / 409.6 MB, free: 45.21 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)