Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",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.0007273/0.0007273, allocations: 145.7 kB / 12.7 MB, free: 2.609 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.265/1.265, allocations: 150.5 MB / 163.7 MB, free: 2.379 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001422/0.001422, allocations: 77.56 kB / 198.8 MB, free: 12.98 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1715/0.1715, allocations: 11.7 MB / 245.5 MB, free: 34.1 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.117e-05, allocations: 4 kB / 290.6 MB, free: 11.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09417, allocations: 37.14 MB / 327.8 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.4128, allocations: 52.52 MB / 380.3 MB, free: 23.88 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.4131, allocations: 63.09 kB / 380.3 MB, free: 23.88 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01845/0.4315, allocations: 6.474 MB / 386.8 MB, free: 21.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4315, allocations: 0 / 386.8 MB, free: 21.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4316, allocations: 4 kB / 386.8 MB, free: 21.29 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006552/0.4322, allocations: 0.4947 MB / 387.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4323, allocations: 8.031 kB / 387.3 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.4324, allocations: 53.42 kB / 387.4 MB, free: 20.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4325, allocations: 24.58 kB / 387.4 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4328, allocations: 251.2 kB / 387.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4328, allocations: 19.81 kB / 387.7 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.4328, allocations: 15.12 kB / 387.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.4332, allocations: 205.5 kB / 387.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4332, allocations: 8 kB / 387.9 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4332, allocations: 5.562 kB / 387.9 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.4333, allocations: 4 kB / 387.9 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.4335, allocations: 129.6 kB / 388 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.4348, allocations: 1.128 MB / 389.1 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.4351, allocations: 144 kB / 389.3 MB, free: 18.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.4352, allocations: 58.61 kB / 389.3 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.4354, allocations: 324.4 kB / 389.7 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4354, allocations: 34.56 kB / 389.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.4354, allocations: 0 / 389.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001271/0.4367, allocations: 0.6141 MB / 390.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4367, allocations: 51.41 kB / 390.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4369, allocations: 188.2 kB / 390.5 MB, free: 17.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.437, allocations: 29.33 kB / 390.6 MB, free: 17.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.437, allocations: 138.2 kB / 390.7 MB, free: 17.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.4371, allocations: 61.3 kB / 390.8 MB, free: 17.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-06/0.4371, allocations: 4 kB / 390.8 MB, free: 17.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.4372, allocations: 337.4 kB / 391.1 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.4373, allocations: 55.34 kB / 391.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.4374, allocations: 96.25 kB / 391.3 MB, free: 16.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.4375, allocations: 62.66 kB / 391.3 MB, free: 16.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4375, allocations: 7.938 kB / 391.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002783/0.4378, allocations: 195 kB / 391.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4378, allocations: 4 kB / 391.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.4378, allocations: 3.953 kB / 391.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4378, allocations: 4 kB / 391.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.4381, allocations: 74.67 kB / 391.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4381, allocations: 0 / 391.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.4382, allocations: 10.25 kB / 391.6 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.4383, allocations: 14.23 kB / 391.6 MB, free: 16.66 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001154/0.4384, allocations: 117 kB / 391.7 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.4384, allocations: 19.72 kB / 391.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.4388, allocations: 210.7 kB / 392 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4388, allocations: 4.047 kB / 392 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4388, allocations: 3.984 kB / 392 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4388, allocations: 3.953 kB / 392 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.4394, allocations: 0.5428 MB / 392.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4395, allocations: 0 / 392.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.4397, allocations: 59.89 kB / 392.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4397, allocations: 4 kB / 392.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.4397, allocations: 6.625 kB / 392.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4397, allocations: 0 / 392.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4397, allocations: 3.953 kB / 392.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.4401, allocations: 335.6 kB / 392.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.4402, allocations: 111.5 kB / 393 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4403, allocations: 7.625 kB / 393 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.4404, allocations: 19.8 kB / 393 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.4405, allocations: 11.94 kB / 393.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.4405, allocations: 10.56 kB / 393.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.4407, allocations: 158.9 kB / 393.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4407, allocations: 0 / 393.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004379/0.4411, allocations: 105.8 kB / 393.3 MB, free: 15.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0007519/0.4419, allocations: 0.953 MB / 394.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.4422, allocations: 130.9 kB / 394.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4422, allocations: 0 / 394.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4423, allocations: 69.23 kB / 394.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.4429, allocations: 107.9 kB / 394.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.4439, allocations: 479.6 kB / 395.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.4441, allocations: 0.7519 MB / 395.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.4442, allocations: 42.03 kB / 395.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.4443, allocations: 75.11 kB / 395.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4444, allocations: 0 / 395.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.4659, allocations: 5.926 MB / 401.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.4661, allocations: 158.3 kB / 402 MB, free: 6.602 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.301, allocations: 0 / 402 MB, free: 6.602 MB / 266.7 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)