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: translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001229/0.001229, allocations: 140.2 kB / 7.617 MB, free: 1.461 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.378/1.378, allocations: 150.6 MB / 158.6 MB, free: 11.68 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001319/0.001319, allocations: 74.39 kB / 193.6 MB, free: 3.344 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05005/0.05005, allocations: 11.73 MB / 240.2 MB, free: 5.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.943e-05, allocations: 1.812 kB / 283.6 MB, free: 63.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09224, allocations: 37.13 MB / 320.7 MB, free: 30.91 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0726/0.1649, allocations: 47.47 MB / 368.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.1653, allocations: 63.95 kB / 368.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008636/0.174, allocations: 2.888 MB / 371.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.174, allocations: 0 / 371.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.1741, allocations: 0 / 371.1 MB, free: 12.4 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.0005243/0.1746, allocations: 396.3 kB / 371.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.1747, allocations: 15.97 kB / 371.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.1747, allocations: 11.81 kB / 371.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.175, allocations: 183 kB / 371.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1751, allocations: 8 kB / 371.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1751, allocations: 4 kB / 371.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001546/0.1753, allocations: 55.94 kB / 371.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1754, allocations: 81.5 kB / 371.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1755, allocations: 0 / 371.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1755, allocations: 3.984 kB / 371.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.1755, allocations: 0 / 371.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.1763, allocations: 491.8 kB / 372.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.1764, allocations: 34.56 kB / 372.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.1765, allocations: 16.98 kB / 372.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1765, allocations: 4 kB / 372.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1765, allocations: 30.56 kB / 372.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.1766, allocations: 0 / 372.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003257/0.1769, allocations: 57.69 kB / 372.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.1769, allocations: 85.11 kB / 372.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1771, allocations: 128.9 kB / 372.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1771, allocations: 25.7 kB / 372.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.1772, allocations: 115.7 kB / 372.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.1772, allocations: 11.8 kB / 372.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.1772, allocations: 4 kB / 372.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1774, allocations: 318.8 kB / 373.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.1774, allocations: 19.98 kB / 373.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.1775, allocations: 12 kB / 373.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1776, allocations: 27.98 kB / 373.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1776, allocations: 0 / 373.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001974/0.1778, allocations: 81.58 kB / 373.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.1779, allocations: 29.7 kB / 373.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1779, allocations: 0 / 373.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.1779, allocations: 4 kB / 373.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.178, allocations: 11.98 kB / 373.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1781, allocations: 3.938 kB / 373.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.1781, allocations: 7.938 kB / 373.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1782, allocations: 0 / 373.3 MB, free: 9.922 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 () * 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.0001124/0.1783, allocations: 146.6 kB / 373.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1783, allocations: 7.906 kB / 373.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.1785, allocations: 77.98 kB / 373.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1785, allocations: 0 / 373.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1786, allocations: 0 / 373.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1786, allocations: 0 / 373.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1789, allocations: 323.9 kB / 373.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.179, allocations: 4.156 kB / 373.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.179, allocations: 8 kB / 373.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.179, allocations: 0 / 373.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.179, allocations: 4 kB / 373.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1791, allocations: 0 / 373.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1791, allocations: 0 / 373.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1793, allocations: 185.9 kB / 374.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.1793, allocations: 96.94 kB / 374.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1794, allocations: 0 / 374.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.1795, allocations: 0 / 374.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.1795, allocations: 11.98 kB / 374.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1795, allocations: 3.984 kB / 374.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.1796, allocations: 115.2 kB / 374.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1796, allocations: 0 / 374.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.1799, allocations: 24 kB / 374.3 MB, free: 8.824 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 () * 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.0001779/0.1801, allocations: 103.2 kB / 374.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1803, allocations: 95.33 kB / 374.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1803, allocations: 0 / 374.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.1804, allocations: 71.39 kB / 374.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1807, allocations: 35.91 kB / 374.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.1812, allocations: 128.9 kB / 374.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1815, allocations: 0.7001 MB / 375.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.1816, allocations: 12.94 kB / 375.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1816, allocations: 19.42 kB / 375.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1816, allocations: 0 / 375.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of Templates: time 0.004562/0.1862, allocations: 1.248 MB / 376.7 MB, free: 6.348 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)