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: translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0006266/0.0006266, allocations: 151.3 kB / 7.619 MB, free: 1.438 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.506/1.506, allocations: 150.6 MB / 158.6 MB, free: 6.168 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001394/0.001394, allocations: 75.39 kB / 193.6 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04854/0.04854, allocations: 11.72 MB / 240.2 MB, free: 2.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.335e-05/1.338e-05, allocations: 4 kB / 283.6 MB, free: 31.14 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.08703, allocations: 37.14 MB / 320.7 MB, free: 9.992 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.4069, allocations: 51.86 MB / 372.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.4071, allocations: 64.5 kB / 372.6 MB, free: 12.82 MB / 250.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.01967/0.4268, allocations: 6.424 MB / 379 MB, free: 6.395 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4269, allocations: 0.9375 kB / 379 MB, free: 6.395 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.4269, allocations: 4 kB / 379 MB, free: 6.391 MB / 250.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.000828/0.4277, allocations: 498.7 kB / 379.5 MB, free: 5.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.4277, allocations: 8.031 kB / 379.5 MB, free: 5.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.4279, allocations: 27.72 kB / 379.6 MB, free: 5.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.4283, allocations: 243.7 kB / 379.8 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4283, allocations: 11.98 kB / 379.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.4284, allocations: 12 kB / 379.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002443/0.4286, allocations: 120.7 kB / 379.9 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.4289, allocations: 178 kB / 380.1 MB, free: 5.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.429, allocations: 8 kB / 380.1 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.429, allocations: 0 / 380.1 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.429, allocations: 4 kB / 380.1 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.4304, allocations: 1.071 MB / 381.2 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.4307, allocations: 134.6 kB / 381.3 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.4308, allocations: 56.84 kB / 381.4 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.431, allocations: 332.3 kB / 381.7 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.4311, allocations: 38.56 kB / 381.8 MB, free: 3.355 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.4311, allocations: 0 / 381.8 MB, free: 3.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.001621/0.4327, allocations: 0.5826 MB / 382.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.4328, allocations: 55.41 kB / 382.4 MB, free: 2.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.4329, allocations: 147.4 kB / 382.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.4329, allocations: 29.7 kB / 382.6 MB, free: 2.473 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.433, allocations: 148.1 kB / 382.7 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.4331, allocations: 55.11 kB / 382.8 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-06/0.4331, allocations: 0 / 382.8 MB, free: 2.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4332, allocations: 322.8 kB / 383.1 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.4333, allocations: 61.22 kB / 383.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.4335, allocations: 94.55 kB / 383.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.4337, allocations: 77.77 kB / 383.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4338, allocations: 0 / 383.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004702/0.4342, allocations: 201.4 kB / 383.5 MB, free: 1.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4343, allocations: 8 kB / 383.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4343, allocations: 0 / 383.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4343, allocations: 4 kB / 383.5 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.4345, allocations: 59.95 kB / 383.6 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4345, allocations: 11.89 kB / 383.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4347, allocations: 8 kB / 383.6 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.4347, allocations: 12.08 kB / 383.6 MB, free: 1.387 MB / 250.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.0001438/0.4349, allocations: 105 kB / 383.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.4349, allocations: 15.81 kB / 383.7 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.4354, allocations: 203.4 kB / 383.9 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4354, allocations: 4 kB / 383.9 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.4354, allocations: 0 / 383.9 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4354, allocations: 4 kB / 383.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007651/0.4362, allocations: 0.5065 MB / 384.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4362, allocations: 0 / 384.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.4365, allocations: 59.91 kB / 384.5 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4365, allocations: 0 / 384.5 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.4365, allocations: 3.984 kB / 384.5 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.4365, allocations: 0 / 384.5 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4365, allocations: 3.938 kB / 384.5 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.437, allocations: 347 kB / 384.8 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.4371, allocations: 112.9 kB / 384.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4372, allocations: 48 / 384.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4373, allocations: 15.97 kB / 385 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.4374, allocations: 7.984 kB / 385 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4374, allocations: 8.062 kB / 385 MB, free: 15.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.4375, allocations: 127.2 kB / 385.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4375, allocations: 0 / 385.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004616/0.438, allocations: 103.9 kB / 385.2 MB, free: 15.7 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.0003227/0.4383, allocations: 171.1 kB / 385.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.4386, allocations: 127.8 kB / 385.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4386, allocations: 0 / 385.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.4387, allocations: 64.23 kB / 385.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.4392, allocations: 52.64 kB / 385.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.44, allocations: 368.8 kB / 386 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.4404, allocations: 0.7594 MB / 386.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.4406, allocations: 25.84 kB / 386.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.4407, allocations: 23.42 kB / 386.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4407, allocations: 4 kB / 386.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Templates: time 0.006549/0.4472, allocations: 2.871 MB / 389.7 MB, free: 11.22 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)