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.005425/0.005425, allocations: 143.7 kB / 15.09 MB, free: 5.977 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 0.9866/0.9866, allocations: 150.7 MB / 166.5 MB, free: 6.086 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001495/0.001494, allocations: 90.41 kB / 201.8 MB, free: 2.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04742/0.04742, allocations: 11.84 MB / 248.8 MB, free: 0.6094 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 8.516 kB / 296.4 MB, free: 26.84 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05922/0.05958, allocations: 37.15 MB / 333.6 MB, free: 6.008 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07073/0.1303, allocations: 52.61 MB / 386.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.1306, allocations: 67.97 kB / 386.3 MB, free: 1.254 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.1302/0.2608, allocations: 6.492 MB / 392.8 MB, free: 56.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2608, allocations: 0 / 392.8 MB, free: 56.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.2608, allocations: 8.469 kB / 392.8 MB, free: 56.21 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.0006415/0.2615, allocations: 0.5131 MB / 393.3 MB, free: 55.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2615, allocations: 10.56 kB / 393.3 MB, free: 55.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.2617, allocations: 30.2 kB / 393.3 MB, free: 55.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.2619, allocations: 243.1 kB / 393.6 MB, free: 55.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.262, allocations: 23.88 kB / 393.6 MB, free: 55.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.262, allocations: 15.62 kB / 393.6 MB, free: 55.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.2624, allocations: 221.1 kB / 393.8 MB, free: 55.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2624, allocations: 3.938 kB / 393.8 MB, free: 55.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2625, allocations: 5.438 kB / 393.8 MB, free: 55.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2625, allocations: 5.344 kB / 393.8 MB, free: 55.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.2628, allocations: 146.9 kB / 394 MB, free: 55.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.264, allocations: 1.13 MB / 395.1 MB, free: 54.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.2643, allocations: 144.8 kB / 395.2 MB, free: 54.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.2645, allocations: 334 kB / 395.6 MB, free: 53.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2645, allocations: 36.94 kB / 395.6 MB, free: 53.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.2645, allocations: 3.938 kB / 395.6 MB, free: 53.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001701/0.2663, allocations: 0.7101 MB / 396.3 MB, free: 53.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.2663, allocations: 53.72 kB / 396.4 MB, free: 53.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.2665, allocations: 192.3 kB / 396.6 MB, free: 53.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2665, allocations: 26.98 kB / 396.6 MB, free: 53.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.2666, allocations: 141.1 kB / 396.7 MB, free: 53.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.2667, allocations: 64.8 kB / 396.8 MB, free: 53.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.2667, allocations: 4 kB / 396.8 MB, free: 53.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.2668, allocations: 330.3 kB / 397.1 MB, free: 52.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2669, allocations: 69.95 kB / 397.2 MB, free: 52.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.2671, allocations: 112.8 kB / 397.3 MB, free: 52.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.2673, allocations: 75.98 kB / 397.4 MB, free: 52.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2673, allocations: 5.312 kB / 397.4 MB, free: 52.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004052/0.2677, allocations: 224.6 kB / 397.6 MB, free: 52.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2677, allocations: 5.75 kB / 397.6 MB, free: 52.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2678, allocations: 1.156 kB / 397.6 MB, free: 52.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.2678, allocations: 11.42 kB / 397.6 MB, free: 52.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.268, allocations: 60.97 kB / 397.7 MB, free: 52.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2681, allocations: 2.688 kB / 397.7 MB, free: 52.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2682, allocations: 11.66 kB / 397.7 MB, free: 52.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2682, allocations: 10.47 kB / 397.7 MB, free: 52.43 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.0001551/0.2684, allocations: 145.1 kB / 397.8 MB, free: 52.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.2684, allocations: 23 kB / 397.9 MB, free: 52.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.2689, allocations: 235 kB / 398.1 MB, free: 52.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.269, allocations: 2.25 kB / 398.1 MB, free: 52.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.269, allocations: 0 / 398.1 MB, free: 52.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.269, allocations: 6.953 kB / 398.1 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.2697, allocations: 0.5654 MB / 398.7 MB, free: 51.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2697, allocations: 1.5 kB / 398.7 MB, free: 51.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.2699, allocations: 60.3 kB / 398.7 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.27, allocations: 9.094 kB / 398.7 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.27, allocations: 2.312 kB / 398.7 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.27, allocations: 3.047 kB / 398.7 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.27, allocations: 1.062 kB / 398.7 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.2705, allocations: 385.9 kB / 399.1 MB, free: 51.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.2706, allocations: 113.3 kB / 399.2 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.2707, allocations: 1.188 kB / 399.2 MB, free: 51.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2708, allocations: 16.89 kB / 399.2 MB, free: 51.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2709, allocations: 9.703 kB / 399.2 MB, free: 51.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2709, allocations: 12.86 kB / 399.3 MB, free: 51.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.271, allocations: 171.8 kB / 399.4 MB, free: 51.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.271, allocations: 0 / 399.4 MB, free: 51.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000453/0.2715, allocations: 109.1 kB / 399.5 MB, free: 51.25 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.0002408/0.2718, allocations: 178.5 kB / 399.7 MB, free: 51.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.2721, allocations: 158.1 kB / 399.9 MB, free: 51.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2721, allocations: 1.125 kB / 399.9 MB, free: 51.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2723, allocations: 89.3 kB / 400 MB, free: 51.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.2729, allocations: 104.8 kB / 400.1 MB, free: 51.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.2739, allocations: 0.6707 MB / 400.7 MB, free: 50.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2741, allocations: 0.7581 MB / 401.5 MB, free: 49.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.2743, allocations: 31.14 kB / 401.5 MB, free: 49.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.2744, allocations: 26.14 kB / 401.5 MB, free: 49.88 MB / 266.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2744, allocations: 0 / 401.5 MB, free: 49.88 MB / 266.7 MB Notification: Performance of Templates: time 0.008115/0.2825, allocations: 3.866 MB / 405.4 MB, free: 48.3 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)