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.00144/0.00144, allocations: 146.4 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.568/1.568, allocations: 150.5 MB / 163.7 MB, free: 2.371 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001291/0.001291, allocations: 66.38 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.2059/0.2059, allocations: 11.7 MB / 245.5 MB, free: 34.11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.093e-05, allocations: 4 kB / 290.6 MB, free: 11.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09932, allocations: 37.15 MB / 327.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/0.3856, allocations: 48.12 MB / 375.9 MB, free: 24.88 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001568/0.3858, allocations: 62.64 kB / 375.9 MB, free: 24.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007685/0.3935, allocations: 2.916 MB / 378.9 MB, free: 24.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3935, allocations: 3.844 kB / 378.9 MB, free: 24.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3936, allocations: 4 kB / 378.9 MB, free: 24.25 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.0003177/0.3939, allocations: 406.1 kB / 379.3 MB, free: 23.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.3939, allocations: 7.531 kB / 379.3 MB, free: 23.86 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.394, allocations: 40.08 kB / 379.3 MB, free: 23.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.394, allocations: 12 kB / 379.3 MB, free: 23.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3942, allocations: 190 kB / 379.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3942, allocations: 6.938 kB / 379.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3942, allocations: 10.23 kB / 379.5 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3944, allocations: 80.66 kB / 379.6 MB, free: 23.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3944, allocations: 4 kB / 379.6 MB, free: 23.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3944, allocations: 8.188 kB / 379.6 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3944, allocations: 0 / 379.6 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.3945, allocations: 54.97 kB / 379.7 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.395, allocations: 0.5013 MB / 380.2 MB, free: 23.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.092e-05/0.3951, allocations: 45.19 kB / 380.2 MB, free: 23.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.3951, allocations: 20.2 kB / 380.2 MB, free: 23.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3952, allocations: 0 / 380.2 MB, free: 23.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.3952, allocations: 30.56 kB / 380.3 MB, free: 23.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3952, allocations: 0 / 380.3 MB, free: 23.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001613/0.3953, allocations: 93.77 kB / 380.4 MB, free: 22.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.3954, allocations: 84.75 kB / 380.4 MB, free: 22.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.3955, allocations: 140.5 kB / 380.6 MB, free: 22.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.3955, allocations: 25.7 kB / 380.6 MB, free: 22.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.3955, allocations: 113.5 kB / 380.7 MB, free: 22.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.3956, allocations: 20.94 kB / 380.7 MB, free: 22.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.3956, allocations: 0 / 380.7 MB, free: 22.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.3956, allocations: 325.6 kB / 381 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.3957, allocations: 13.47 kB / 381.1 MB, free: 22.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.3957, allocations: 19.53 kB / 381.1 MB, free: 22.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.3957, allocations: 46.73 kB / 381.1 MB, free: 22.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3957, allocations: 0 / 381.1 MB, free: 22.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001174/0.3959, allocations: 115.3 kB / 381.2 MB, free: 22.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3959, allocations: 35.3 kB / 381.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3959, allocations: 0 / 381.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.3959, allocations: 0 / 381.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.396, allocations: 15.67 kB / 381.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.396, allocations: 0.5469 kB / 381.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.3961, allocations: 14.73 kB / 381.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3961, allocations: 4.594 kB / 381.3 MB, free: 22.17 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 4.999e-05/0.3962, allocations: 133.5 kB / 381.4 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.3962, allocations: 8.234 kB / 381.4 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.3964, allocations: 115.2 kB / 381.6 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3964, allocations: 0.6094 kB / 381.6 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3964, allocations: 0 / 381.6 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3964, allocations: 0.6094 kB / 381.6 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.3967, allocations: 382.8 kB / 381.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3967, allocations: 5.078 kB / 381.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.3968, allocations: 4.203 kB / 381.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3968, allocations: 1.484 kB / 381.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3968, allocations: 7.719 kB / 381.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3968, allocations: 0 / 381.9 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3968, allocations: 7.891 kB / 382 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3969, allocations: 212 kB / 382.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.397, allocations: 99.06 kB / 382.3 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.397, allocations: 0 / 382.3 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.3971, allocations: 7.953 kB / 382.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.3971, allocations: 5.156 kB / 382.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3972, allocations: 3.25 kB / 382.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.3972, allocations: 127.8 kB / 382.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3972, allocations: 0 / 382.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.3975, allocations: 27.83 kB / 382.4 MB, free: 21.23 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.0003065/0.3978, allocations: 0.838 MB / 383.3 MB, free: 20.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3979, allocations: 96.47 kB / 383.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3979, allocations: 0 / 383.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.398, allocations: 74.14 kB / 383.4 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3983, allocations: 62.22 kB / 383.5 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.3988, allocations: 157.8 kB / 383.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3989, allocations: 0.7035 MB / 384.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.618e-05/0.399, allocations: 7.781 kB / 384.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.399, allocations: 32.25 kB / 384.4 MB, free: 19.45 MB / 266.7 MB Notification: Performance of SimCode: time 2.2e-07/0.399, allocations: 3.938 kB / 384.4 MB, free: 19.45 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.4131, allocations: 2.88 MB / 387.3 MB, free: 19.12 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.4133, allocations: 146.8 kB / 387.4 MB, free: 18.9 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.84, allocations: 0 / 387.4 MB, free: 18.9 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)