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.008646/0.008646, allocations: 146.5 kB / 15.09 MB, free: 5.973 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.497/1.497, allocations: 150.7 MB / 166.5 MB, free: 6.031 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001371/0.001372, allocations: 90.47 kB / 201.8 MB, free: 2.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04849/0.04849, allocations: 11.85 MB / 248.8 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 8.562 kB / 296.5 MB, free: 26.77 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09611, allocations: 37.14 MB / 333.7 MB, free: 5.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08535/0.1815, allocations: 52.62 MB / 386.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.1819, allocations: 63.98 kB / 386.4 MB, free: 1.133 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.2208/0.4027, allocations: 6.493 MB / 392.9 MB, free: 56.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4028, allocations: 0.75 kB / 392.9 MB, free: 56.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.4028, allocations: 4.422 kB / 392.9 MB, free: 56.13 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.0007394/0.4035, allocations: 0.5277 MB / 393.4 MB, free: 55.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4036, allocations: 10.16 kB / 393.4 MB, free: 55.66 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.193e-05/0.4036, allocations: 57.16 kB / 393.5 MB, free: 55.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.4038, allocations: 30.38 kB / 393.5 MB, free: 55.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.4041, allocations: 253.6 kB / 393.7 MB, free: 55.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4041, allocations: 11.41 kB / 393.7 MB, free: 55.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.4041, allocations: 21.59 kB / 393.8 MB, free: 55.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.4046, allocations: 210.5 kB / 394 MB, free: 55.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4046, allocations: 0 / 394 MB, free: 55.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.4047, allocations: 11.34 kB / 394 MB, free: 55.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.4047, allocations: 4.969 kB / 394 MB, free: 55.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.405, allocations: 146.2 kB / 394.1 MB, free: 55.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.4066, allocations: 1.123 MB / 395.2 MB, free: 54.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.407, allocations: 149 kB / 395.4 MB, free: 54.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.4072, allocations: 328.8 kB / 395.7 MB, free: 53.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4073, allocations: 35.97 kB / 395.8 MB, free: 53.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.4073, allocations: 2.219 kB / 395.8 MB, free: 53.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001894/0.4092, allocations: 0.7139 MB / 396.5 MB, free: 53.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.4092, allocations: 53.56 kB / 396.5 MB, free: 53.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.4094, allocations: 195 kB / 396.7 MB, free: 53.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4095, allocations: 26.95 kB / 396.7 MB, free: 53.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.4095, allocations: 138.6 kB / 396.9 MB, free: 52.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.4096, allocations: 59.69 kB / 396.9 MB, free: 52.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/0.4096, allocations: 0.5 kB / 396.9 MB, free: 52.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.4097, allocations: 330.9 kB / 397.3 MB, free: 52.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.4098, allocations: 83.7 kB / 397.3 MB, free: 52.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.41, allocations: 108.8 kB / 397.4 MB, free: 52.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4102, allocations: 77.8 kB / 397.5 MB, free: 52.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4102, allocations: 1.125 kB / 397.5 MB, free: 52.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003933/0.4106, allocations: 232.9 kB / 397.7 MB, free: 52.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4106, allocations: 6.469 kB / 397.8 MB, free: 52.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4106, allocations: 1.031 kB / 397.8 MB, free: 52.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4106, allocations: 7.422 kB / 397.8 MB, free: 52.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.4109, allocations: 60.59 kB / 397.8 MB, free: 52.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.4109, allocations: 10.16 kB / 397.8 MB, free: 52.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.411, allocations: 12.03 kB / 397.8 MB, free: 52.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.4111, allocations: 13.06 kB / 397.9 MB, free: 52.29 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "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 () * Number of clocked 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.0001658/0.4112, allocations: 134.5 kB / 398 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.4113, allocations: 18.41 kB / 398 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.4118, allocations: 245.7 kB / 398.2 MB, free: 52.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4118, allocations: 1.156 kB / 398.2 MB, free: 52.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4118, allocations: 1.281 kB / 398.2 MB, free: 52.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4118, allocations: 3.938 kB / 398.3 MB, free: 52.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.4126, allocations: 0.5757 MB / 398.8 MB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4126, allocations: 1.094 kB / 398.8 MB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.4129, allocations: 53.8 kB / 398.9 MB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4129, allocations: 1.344 kB / 398.9 MB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.4129, allocations: 6.25 kB / 398.9 MB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4129, allocations: 0.9688 kB / 398.9 MB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4129, allocations: 0 / 398.9 MB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.4135, allocations: 390.7 kB / 399.3 MB, free: 51.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.4136, allocations: 110.9 kB / 399.4 MB, free: 51.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.4136, allocations: 6.281 kB / 399.4 MB, free: 51.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4138, allocations: 23.44 kB / 399.4 MB, free: 51.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.4138, allocations: 10.34 kB / 399.4 MB, free: 51.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4139, allocations: 7.516 kB / 399.4 MB, free: 51.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.414, allocations: 171.5 kB / 399.6 MB, free: 51.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.414, allocations: 0 / 399.6 MB, free: 51.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.4145, allocations: 105.2 kB / 399.7 MB, free: 51.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 () * Number of clocked 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.0008391/0.4153, allocations: 0.9866 MB / 400.7 MB, free: 50.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.4157, allocations: 160.4 kB / 400.8 MB, free: 50.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4157, allocations: 1.375 kB / 400.8 MB, free: 50.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4159, allocations: 88.34 kB / 400.9 MB, free: 50.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.4164, allocations: 110.6 kB / 401 MB, free: 50.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.4188, allocations: 2.4 MB / 403.4 MB, free: 48.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.419, allocations: 0.755 MB / 404.2 MB, free: 47.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.4192, allocations: 29.62 kB / 404.2 MB, free: 47.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.4193, allocations: 70.2 kB / 404.3 MB, free: 47.67 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4193, allocations: 4 kB / 404.3 MB, free: 47.67 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.4382, allocations: 5.965 MB / 410.3 MB, free: 44.92 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.4384, allocations: 182 kB / 410.4 MB, free: 44.67 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.387, allocations: 3.938 kB / 410.4 MB, free: 44.67 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)