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.01533/0.01533, allocations: 143.2 kB / 15.09 MB, free: 5.934 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.708/1.708, allocations: 150.7 MB / 166.5 MB, free: 6.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.002593/0.002593, allocations: 78.53 kB / 201.8 MB, free: 2.648 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.08289/0.08289, allocations: 11.85 MB / 248.8 MB, free: 0.5781 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005001, allocations: 14.97 kB / 296.5 MB, free: 26.73 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07191, allocations: 37.14 MB / 333.7 MB, free: 5.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.189, allocations: 48.23 MB / 381.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.1894, allocations: 63.97 kB / 382 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.2091, allocations: 2.925 MB / 384.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.2091, allocations: 0 / 384.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.2092, allocations: 0 / 384.9 MB, free: 2.602 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.001334/0.2105, allocations: 413 kB / 385.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001036/0.2106, allocations: 12.03 kB / 385.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.962e-05/0.2107, allocations: 34.56 kB / 385.3 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.2108, allocations: 15.91 kB / 385.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.2112, allocations: 189.7 kB / 385.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2112, allocations: 4 kB / 385.5 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.2113, allocations: 15.95 kB / 385.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2115, allocations: 89.5 kB / 385.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2116, allocations: 0 / 385.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2116, allocations: 0 / 385.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2116, allocations: 4 kB / 385.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.2118, allocations: 51.97 kB / 385.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.2127, allocations: 0.5087 MB / 386.2 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2129, allocations: 38.58 kB / 386.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2129, allocations: 3.938 kB / 386.3 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.2129, allocations: 30.56 kB / 386.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.2129, allocations: 0 / 386.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003485/0.2133, allocations: 115.5 kB / 386.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.2134, allocations: 85 kB / 386.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.2136, allocations: 150 kB / 386.6 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.2136, allocations: 25.7 kB / 386.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.2137, allocations: 104 kB / 386.8 MB, free: 488 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.2138, allocations: 23.73 kB / 386.8 MB, free: 464 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.2138, allocations: 0 / 386.8 MB, free: 464 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2139, allocations: 314.8 kB / 387.1 MB, free: 140 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.214, allocations: 23.98 kB / 387.1 MB, free: 116 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.2141, allocations: 16 kB / 387.1 MB, free: 100 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.2142, allocations: 45.84 kB / 387.2 MB, free: 48 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2142, allocations: 0 / 387.2 MB, free: 48 kB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.2065/0.4208, allocations: 113.1 kB / 387.3 MB, free: 55.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.4209, allocations: 31.09 kB / 387.3 MB, free: 55.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4209, allocations: 0.9062 kB / 387.3 MB, free: 55.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.4209, allocations: 1.797 kB / 387.3 MB, free: 55.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.4211, allocations: 12.11 kB / 387.3 MB, free: 55.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4211, allocations: 3.891 kB / 387.3 MB, free: 55.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.4213, allocations: 10.31 kB / 387.3 MB, free: 55.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.4213, allocations: 4.016 kB / 387.3 MB, free: 55.67 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.0001167/0.4214, allocations: 143.9 kB / 387.5 MB, free: 55.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.4215, allocations: 10.88 kB / 387.5 MB, free: 55.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.4218, allocations: 111.4 kB / 387.6 MB, free: 55.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4218, allocations: 2.453 kB / 387.6 MB, free: 55.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4219, allocations: 0.5625 kB / 387.6 MB, free: 55.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4219, allocations: 0 / 387.6 MB, free: 55.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.4224, allocations: 385.8 kB / 388 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4224, allocations: 2.438 kB / 388 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.4225, allocations: 6.734 kB / 388 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4225, allocations: 1.844 kB / 388 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4225, allocations: 6.312 kB / 388 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4225, allocations: 2.078 kB / 388 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4225, allocations: 7.453 kB / 388 MB, free: 55.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4227, allocations: 210.6 kB / 388.2 MB, free: 54.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.4228, allocations: 95.41 kB / 388.3 MB, free: 54.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.4229, allocations: 1.375 kB / 388.3 MB, free: 54.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.423, allocations: 7.297 kB / 388.3 MB, free: 54.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.4231, allocations: 2.844 kB / 388.3 MB, free: 54.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4231, allocations: 9.562 kB / 388.3 MB, free: 54.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.4232, allocations: 127.6 kB / 388.5 MB, free: 54.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4232, allocations: 2.656 kB / 388.5 MB, free: 54.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.4236, allocations: 25.47 kB / 388.5 MB, free: 54.76 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.0004466/0.424, allocations: 0.8423 MB / 389.3 MB, free: 53.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.4243, allocations: 89.88 kB / 389.4 MB, free: 53.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4243, allocations: 0.5 kB / 389.4 MB, free: 53.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.4244, allocations: 75.08 kB / 389.5 MB, free: 53.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.4251, allocations: 55.69 kB / 389.5 MB, free: 53.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.4265, allocations: 0.6853 MB / 390.2 MB, free: 53.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.4267, allocations: 0.6989 MB / 390.9 MB, free: 52.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.4268, allocations: 13.25 kB / 390.9 MB, free: 52.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.4269, allocations: 27.19 kB / 391 MB, free: 52.73 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4269, allocations: 1.094 kB / 391 MB, free: 52.73 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.451, allocations: 2.919 MB / 393.9 MB, free: 52.45 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.4513, allocations: 169.3 kB / 394 MB, free: 52.21 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.861, allocations: 0 / 394 MB, free: 52.21 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)