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.0008491/0.0008489, allocations: 146.3 kB / 12.7 MB, free: 2.617 MB / 13.93 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.032/1.032, allocations: 150.5 MB / 163.7 MB, free: 2.32 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001409/0.00141, allocations: 73.62 kB / 198.8 MB, free: 12.97 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1806/0.1806, allocations: 11.7 MB / 245.5 MB, free: 34.07 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.073e-05, allocations: 0 / 290.5 MB, free: 11.42 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.08725, allocations: 37.15 MB / 327.7 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3752, allocations: 48.12 MB / 375.8 MB, free: 24.89 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.3756, allocations: 61.41 kB / 375.8 MB, free: 24.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008837/0.3845, allocations: 2.917 MB / 378.8 MB, free: 24.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3845, allocations: 0 / 378.8 MB, free: 24.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3845, allocations: 3.844 kB / 378.8 MB, free: 24.28 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.0003559/0.3849, allocations: 399.5 kB / 379.1 MB, free: 23.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3849, allocations: 11.22 kB / 379.2 MB, free: 23.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.385, allocations: 15.44 kB / 379.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3852, allocations: 192.9 kB / 379.4 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3852, allocations: 3.75 kB / 379.4 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3853, allocations: 7.562 kB / 379.4 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3855, allocations: 83.31 kB / 379.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3855, allocations: 0.6094 kB / 379.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3855, allocations: 4 kB / 379.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3855, allocations: 3.531 kB / 379.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3856, allocations: 52.09 kB / 379.5 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.3862, allocations: 0.504 MB / 380 MB, free: 23.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.3863, allocations: 42.88 kB / 380.1 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.3863, allocations: 24.53 kB / 380.1 MB, free: 23.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3864, allocations: 4 kB / 380.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3864, allocations: 31.17 kB / 380.1 MB, free: 23.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3864, allocations: 0 / 380.1 MB, free: 23.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001917/0.3866, allocations: 90.05 kB / 380.2 MB, free: 23.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.3866, allocations: 85.44 kB / 380.3 MB, free: 22.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3868, allocations: 144.2 kB / 380.4 MB, free: 22.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.3868, allocations: 25.7 kB / 380.5 MB, free: 22.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.3868, allocations: 110.1 kB / 380.6 MB, free: 22.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.3868, allocations: 27.25 kB / 380.6 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.3869, allocations: 0 / 380.6 MB, free: 22.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.3869, allocations: 321.3 kB / 380.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.387, allocations: 17.3 kB / 380.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.387, allocations: 20.77 kB / 380.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.695e-05/0.387, allocations: 47.36 kB / 381 MB, free: 22.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3871, allocations: 0 / 381 MB, free: 22.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001254/0.3872, allocations: 107.8 kB / 381.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3872, allocations: 33.58 kB / 381.1 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3872, allocations: 4 kB / 381.1 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3872, allocations: 0 / 381.1 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.3874, allocations: 15.69 kB / 381.1 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3874, allocations: 0 / 381.1 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.3874, allocations: 11.55 kB / 381.2 MB, free: 22.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3875, allocations: 5.25 kB / 381.2 MB, free: 22.24 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 5.918e-05/0.3875, allocations: 142.2 kB / 381.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3876, allocations: 7.688 kB / 381.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.3877, allocations: 105.7 kB / 381.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3877, allocations: 0 / 381.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3878, allocations: 5.625 kB / 381.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3878, allocations: 128 / 381.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.3881, allocations: 388.6 kB / 381.8 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3881, allocations: 0 / 381.8 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.3881, allocations: 5.297 kB / 381.8 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3882, allocations: 3.719 kB / 381.8 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3882, allocations: 3.938 kB / 381.8 MB, free: 21.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3882, allocations: 7.969 kB / 381.8 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3882, allocations: 3.953 kB / 381.8 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.3883, allocations: 216.1 kB / 382 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.3884, allocations: 92.86 kB / 382.1 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3884, allocations: 1.266 kB / 382.1 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3885, allocations: 3.953 kB / 382.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.3885, allocations: 9.25 kB / 382.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3885, allocations: 0 / 382.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.3886, allocations: 131.6 kB / 382.3 MB, free: 21.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3886, allocations: 0 / 382.3 MB, free: 21.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.3889, allocations: 27.06 kB / 382.3 MB, free: 21.28 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.0001307/0.389, allocations: 108.6 kB / 382.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.3891, allocations: 99.83 kB / 382.5 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3892, allocations: 0 / 382.5 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.3892, allocations: 76.42 kB / 382.6 MB, free: 21.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3896, allocations: 55.91 kB / 382.6 MB, free: 21.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.39, allocations: 127.8 kB / 382.7 MB, free: 20.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.3901, allocations: 0.6997 MB / 383.4 MB, free: 20.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.3902, allocations: 19.03 kB / 383.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.3902, allocations: 14.66 kB / 383.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3902, allocations: 0 / 383.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004179/0.3944, allocations: 1.733 MB / 385.2 MB, free: 20.11 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)