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.0007523/0.0007524, allocations: 143.9 kB / 16.09 MB, free: 5.602 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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 0.914/0.914, allocations: 150.7 MB / 167.5 MB, free: 5.82 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001038/0.001038, allocations: 81.97 kB / 202.8 MB, free: 2.469 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04811/0.04811, allocations: 11.84 MB / 249.9 MB, free: 468 kB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 8.797 kB / 297.7 MB, free: 26.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06086/0.06126, allocations: 37.14 MB / 334.8 MB, free: 5.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06655/0.1278, allocations: 52.66 MB / 387.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.1281, allocations: 67.97 kB / 387.5 MB, free: 0.9062 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.1341/0.2623, allocations: 6.498 MB / 394 MB, free: 56.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2623, allocations: 3.938 kB / 394 MB, free: 56.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.2623, allocations: 4.219 kB / 394 MB, free: 56.22 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.0006239/0.2629, allocations: 0.507 MB / 394.5 MB, free: 55.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.263, allocations: 9.281 kB / 394.5 MB, free: 55.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2631, allocations: 28.67 kB / 394.6 MB, free: 55.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2633, allocations: 257 kB / 394.8 MB, free: 55.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2634, allocations: 17.12 kB / 394.8 MB, free: 55.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2634, allocations: 20.03 kB / 394.9 MB, free: 55.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.2638, allocations: 214 kB / 395.1 MB, free: 55.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2638, allocations: 5.469 kB / 395.1 MB, free: 55.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.2638, allocations: 9.969 kB / 395.1 MB, free: 55.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2638, allocations: 5 kB / 395.1 MB, free: 55.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.2641, allocations: 150.9 kB / 395.2 MB, free: 55.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2653, allocations: 1.123 MB / 396.4 MB, free: 54.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.2656, allocations: 145.6 kB / 396.5 MB, free: 54.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2657, allocations: 65.81 kB / 396.6 MB, free: 54.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.2659, allocations: 331.5 kB / 396.9 MB, free: 53.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.266, allocations: 40.88 kB / 396.9 MB, free: 53.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.266, allocations: 0 / 396.9 MB, free: 53.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001555/0.2675, allocations: 0.7113 MB / 397.6 MB, free: 53.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.2676, allocations: 58 kB / 397.7 MB, free: 53.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.2677, allocations: 218.3 kB / 397.9 MB, free: 53.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.2678, allocations: 30.95 kB / 397.9 MB, free: 53.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2678, allocations: 132.7 kB / 398.1 MB, free: 53.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.2679, allocations: 68.38 kB / 398.1 MB, free: 52.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.2679, allocations: 5.406 kB / 398.1 MB, free: 52.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.2679, allocations: 330.7 kB / 398.5 MB, free: 52.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2681, allocations: 69.33 kB / 398.5 MB, free: 52.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2682, allocations: 114.7 kB / 398.6 MB, free: 52.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2685, allocations: 186.6 kB / 398.8 MB, free: 52.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2685, allocations: 1.219 kB / 398.8 MB, free: 52.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003854/0.2689, allocations: 239.5 kB / 399.1 MB, free: 52.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2689, allocations: 4.281 kB / 399.1 MB, free: 52.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2689, allocations: 6.297 kB / 399.1 MB, free: 52.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.269, allocations: 2.5 kB / 399.1 MB, free: 52.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2692, allocations: 61.47 kB / 399.1 MB, free: 52.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2692, allocations: 6.406 kB / 399.1 MB, free: 52.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2694, allocations: 15.52 kB / 399.2 MB, free: 52.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2694, allocations: 5.438 kB / 399.2 MB, free: 52.3 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.0001288/0.2695, allocations: 145.1 kB / 399.3 MB, free: 52.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.2696, allocations: 21.94 kB / 399.3 MB, free: 52.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.27, allocations: 240.4 kB / 399.6 MB, free: 52.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.27, allocations: 2.312 kB / 399.6 MB, free: 52.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.27, allocations: 0 / 399.6 MB, free: 52.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.27, allocations: 5.375 kB / 399.6 MB, free: 52.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.2707, allocations: 0.5761 MB / 400.1 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2707, allocations: 0 / 400.1 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.271, allocations: 51.66 kB / 400.2 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.271, allocations: 0.8438 kB / 400.2 MB, free: 51.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.271, allocations: 6.562 kB / 400.2 MB, free: 51.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.271, allocations: 5.344 kB / 400.2 MB, free: 51.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.271, allocations: 3.703 kB / 400.2 MB, free: 51.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.2715, allocations: 384.7 kB / 400.6 MB, free: 51.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.2716, allocations: 112.6 kB / 400.7 MB, free: 51.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2716, allocations: 6.312 kB / 400.7 MB, free: 51.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2718, allocations: 15.66 kB / 400.7 MB, free: 51.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.2719, allocations: 18.28 kB / 400.7 MB, free: 51.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2719, allocations: 3.5 kB / 400.7 MB, free: 51.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.272, allocations: 164 kB / 400.9 MB, free: 51.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.272, allocations: 0 / 400.9 MB, free: 51.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.2724, allocations: 109.4 kB / 401 MB, free: 51.14 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.0002399/0.2727, allocations: 181 kB / 401.2 MB, free: 51.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.2731, allocations: 156.8 kB / 401.3 MB, free: 50.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2731, allocations: 4.312 kB / 401.3 MB, free: 50.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2732, allocations: 78.69 kB / 401.4 MB, free: 50.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.2739, allocations: 108.6 kB / 401.5 MB, free: 50.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.2747, allocations: 0.6729 MB / 402.2 MB, free: 50.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.2749, allocations: 0.7525 MB / 403 MB, free: 49.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.2751, allocations: 34.11 kB / 403 MB, free: 49.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.2752, allocations: 30.27 kB / 403 MB, free: 49.75 MB / 266.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2752, allocations: 0 / 403 MB, free: 49.75 MB / 266.7 MB Notification: Performance of Templates: time 0.007408/0.2826, allocations: 3.965 MB / 407 MB, free: 47.99 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)