Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.007848/0.007847, allocations: 144 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.029/1.029, allocations: 150.7 MB / 166.5 MB, free: 6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001392/0.001392, allocations: 86.45 kB / 201.8 MB, free: 2.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04693/0.04693, allocations: 11.85 MB / 248.8 MB, free: 0.5859 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 8.656 kB / 296.4 MB, free: 26.78 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06395/0.06428, allocations: 37.14 MB / 333.6 MB, free: 6.012 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07412/0.1385, allocations: 53.28 MB / 386.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.1387, allocations: 67.97 kB / 386.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1516/0.2904, allocations: 9.032 MB / 396 MB, free: 55.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2904, allocations: 1.219 kB / 396 MB, free: 55.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.2904, allocations: 5.125 kB / 396 MB, free: 55.61 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000969/0.2914, allocations: 0.565 MB / 396.5 MB, free: 55.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2915, allocations: 7.969 kB / 396.5 MB, free: 55.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.2916, allocations: 33.28 kB / 396.6 MB, free: 55.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.292, allocations: 265.9 kB / 396.8 MB, free: 54.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.2921, allocations: 18.72 kB / 396.8 MB, free: 54.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.2921, allocations: 23.44 kB / 396.9 MB, free: 54.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.2926, allocations: 269.1 kB / 397.1 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2927, allocations: 3.609 kB / 397.1 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.2927, allocations: 10.34 kB / 397.1 MB, free: 54.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2927, allocations: 5.156 kB / 397.2 MB, free: 54.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.2931, allocations: 222.6 kB / 397.4 MB, free: 54.62 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.2949, allocations: 1.485 MB / 398.9 MB, free: 53.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.2953, allocations: 171.8 kB / 399 MB, free: 53.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.2954, allocations: 172.5 kB / 399.2 MB, free: 53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2954, allocations: 31.72 kB / 399.2 MB, free: 52.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2955, allocations: 0 / 399.2 MB, free: 52.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001866/0.2973, allocations: 0.805 MB / 400 MB, free: 52.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.2974, allocations: 57.84 kB / 400.1 MB, free: 52.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.2976, allocations: 238.4 kB / 400.3 MB, free: 52.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2976, allocations: 31.17 kB / 400.3 MB, free: 52.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.2977, allocations: 155.7 kB / 400.5 MB, free: 52.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.2978, allocations: 75.62 kB / 400.6 MB, free: 51.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.2978, allocations: 9.25 kB / 400.6 MB, free: 51.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.2979, allocations: 335.9 kB / 400.9 MB, free: 51.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.2981, allocations: 93.75 kB / 401 MB, free: 51.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2983, allocations: 132.4 kB / 401.1 MB, free: 51.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.2984, allocations: 90.59 kB / 401.2 MB, free: 51.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2985, allocations: 1.375 kB / 401.2 MB, free: 51.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004984/0.299, allocations: 278.6 kB / 401.5 MB, free: 51.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.299, allocations: 9.484 kB / 401.5 MB, free: 51.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.299, allocations: 1.375 kB / 401.5 MB, free: 51.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.299, allocations: 2.75 kB / 401.5 MB, free: 51.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.2993, allocations: 76.27 kB / 401.6 MB, free: 51.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2993, allocations: 2.75 kB / 401.6 MB, free: 51.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2995, allocations: 22.86 kB / 401.6 MB, free: 51.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.2995, allocations: 8.25 kB / 401.6 MB, free: 51.21 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 (28): * Single equations (assignments): 28 * 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.0001676/0.2997, allocations: 147.5 kB / 401.8 MB, free: 51.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2998, allocations: 25.47 kB / 401.8 MB, free: 51.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.3003, allocations: 265.9 kB / 402 MB, free: 50.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3003, allocations: 1.375 kB / 402 MB, free: 50.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3003, allocations: 0 / 402 MB, free: 50.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3003, allocations: 0.9688 kB / 402 MB, free: 50.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/0.3012, allocations: 0.6594 MB / 402.7 MB, free: 50.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3012, allocations: 1.344 kB / 402.7 MB, free: 50.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.3015, allocations: 64.7 kB / 402.8 MB, free: 50.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3015, allocations: 0.7188 kB / 402.8 MB, free: 50.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3015, allocations: 7.344 kB / 402.8 MB, free: 50.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3015, allocations: 1.25 kB / 402.8 MB, free: 50.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3015, allocations: 0 / 402.8 MB, free: 50.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.3022, allocations: 452.7 kB / 403.2 MB, free: 50.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3023, allocations: 128.1 kB / 403.3 MB, free: 49.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.3024, allocations: 2.375 kB / 403.3 MB, free: 49.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.3026, allocations: 20.39 kB / 403.4 MB, free: 49.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.3026, allocations: 20 kB / 403.4 MB, free: 49.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3027, allocations: 8.422 kB / 403.4 MB, free: 49.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.3029, allocations: 195.3 kB / 403.6 MB, free: 49.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3029, allocations: 4.062 kB / 403.6 MB, free: 49.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006504/0.3035, allocations: 127.6 kB / 403.7 MB, free: 49.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0004843/0.304, allocations: 206.1 kB / 403.9 MB, free: 49.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.3045, allocations: 206 kB / 404.1 MB, free: 49.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3045, allocations: 0 / 404.1 MB, free: 49.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3047, allocations: 101.2 kB / 404.2 MB, free: 49.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.3054, allocations: 122.1 kB / 404.3 MB, free: 49.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3065, allocations: 0.7562 MB / 405.1 MB, free: 48.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.3067, allocations: 0.7676 MB / 405.9 MB, free: 48.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.307, allocations: 46.75 kB / 405.9 MB, free: 48.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.3071, allocations: 28.89 kB / 405.9 MB, free: 48.03 MB / 266.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3071, allocations: 0 / 405.9 MB, free: 48.03 MB / 266.7 MB Notification: Performance of Templates: time 0.008989/0.3161, allocations: 4.944 MB / 410.9 MB, free: 45.54 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)