Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.TankTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest",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.008127/0.008126, allocations: 145.3 kB / 15.09 MB, free: 5.969 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.12/1.12, allocations: 150.7 MB / 166.5 MB, free: 5.973 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001807/0.001807, allocations: 82.52 kB / 201.8 MB, free: 2.625 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05256/0.05256, allocations: 11.85 MB / 248.8 MB, free: 0.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004499, allocations: 15.2 kB / 296.5 MB, free: 26.74 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08533/0.0858, allocations: 37.14 MB / 333.7 MB, free: 5.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07441/0.1603, allocations: 48.23 MB / 381.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.1605, allocations: 63.97 kB / 382 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007928/0.1685, allocations: 2.929 MB / 384.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1685, allocations: 0 / 384.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1685, allocations: 4 kB / 384.9 MB, free: 2.605 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004666/0.169, allocations: 413 kB / 385.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1691, allocations: 12.03 kB / 385.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.1691, allocations: 34.56 kB / 385.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.1692, allocations: 11.91 kB / 385.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1694, allocations: 193.5 kB / 385.6 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1694, allocations: 4 kB / 385.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1695, allocations: 11.95 kB / 385.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1696, allocations: 85.56 kB / 385.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1697, allocations: 0 / 385.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1697, allocations: 4 kB / 385.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1697, allocations: 4 kB / 385.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1698, allocations: 51.97 kB / 385.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.1705, allocations: 0.5048 MB / 386.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.688e-05/0.1706, allocations: 46.52 kB / 386.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1707, allocations: 0 / 386.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1707, allocations: 38.48 kB / 386.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1707, allocations: 3.938 kB / 386.3 MB, free: 1 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002352/0.1709, allocations: 103.6 kB / 386.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.171, allocations: 81.06 kB / 386.5 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1711, allocations: 150 kB / 386.6 MB, free: 0.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1712, allocations: 25.7 kB / 386.7 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.1712, allocations: 108 kB / 386.8 MB, free: 496 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.1713, allocations: 23.73 kB / 386.8 MB, free: 472 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1713, allocations: 0 / 386.8 MB, free: 472 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1714, allocations: 314.8 kB / 387.1 MB, free: 148 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.1715, allocations: 19.98 kB / 387.1 MB, free: 128 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.1715, allocations: 23.97 kB / 387.1 MB, free: 104 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.1716, allocations: 45.84 kB / 387.2 MB, free: 52 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1716, allocations: 3.938 kB / 387.2 MB, free: 48 kB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.158/0.3296, allocations: 107.3 kB / 387.3 MB, free: 56.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.3297, allocations: 33.64 kB / 387.3 MB, free: 56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3297, allocations: 0 / 387.3 MB, free: 56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.3297, allocations: 2.359 kB / 387.3 MB, free: 56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3299, allocations: 12.59 kB / 387.3 MB, free: 56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3299, allocations: 3.469 kB / 387.3 MB, free: 56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.33, allocations: 9.844 kB / 387.3 MB, free: 56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3301, allocations: 4.125 kB / 387.3 MB, free: 56 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001158/0.3302, allocations: 142.3 kB / 387.5 MB, free: 55.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.3302, allocations: 14.38 kB / 387.5 MB, free: 55.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.3305, allocations: 106.3 kB / 387.6 MB, free: 55.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3305, allocations: 2.234 kB / 387.6 MB, free: 55.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3305, allocations: 3.297 kB / 387.6 MB, free: 55.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3305, allocations: 1.594 kB / 387.6 MB, free: 55.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.331, allocations: 382.6 kB / 388 MB, free: 55.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.331, allocations: 1.031 kB / 388 MB, free: 55.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.3311, allocations: 9.594 kB / 388 MB, free: 55.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3311, allocations: 4.594 kB / 388 MB, free: 55.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3311, allocations: 0.625 kB / 388 MB, free: 55.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.3311, allocations: 10.92 kB / 388 MB, free: 55.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3311, allocations: 1.312 kB / 388 MB, free: 55.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3314, allocations: 209.3 kB / 388.2 MB, free: 55.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.3315, allocations: 96.58 kB / 388.3 MB, free: 55.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.3315, allocations: 6.359 kB / 388.3 MB, free: 55.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3316, allocations: 1.938 kB / 388.3 MB, free: 55.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.3317, allocations: 4.25 kB / 388.3 MB, free: 55.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3317, allocations: 2.031 kB / 388.3 MB, free: 55.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3318, allocations: 127.7 kB / 388.5 MB, free: 55.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3318, allocations: 1.125 kB / 388.5 MB, free: 55.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.3321, allocations: 30.91 kB / 388.5 MB, free: 55.09 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): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0004343/0.3326, allocations: 0.834 MB / 389.3 MB, free: 54.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.3328, allocations: 101.9 kB / 389.4 MB, free: 54.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3328, allocations: 0 / 389.4 MB, free: 54.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.3329, allocations: 70.92 kB / 389.5 MB, free: 54.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.3333, allocations: 55.25 kB / 389.5 MB, free: 54.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3345, allocations: 0.6825 MB / 390.2 MB, free: 53.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.3347, allocations: 0.7025 MB / 390.9 MB, free: 53.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.748e-05/0.3348, allocations: 13.94 kB / 390.9 MB, free: 53.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.3348, allocations: 35.02 kB / 391 MB, free: 53.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3349, allocations: 1.406 kB / 391 MB, free: 53.07 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.352, allocations: 2.915 MB / 393.9 MB, free: 52.79 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.3523, allocations: 173.4 kB / 394.1 MB, free: 52.55 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.945, allocations: 0 / 394.1 MB, free: 52.55 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_TankTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)