Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.009353/0.009353, allocations: 144.9 kB / 15.09 MB, free: 5.969 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.102/1.102, allocations: 150.7 MB / 166.5 MB, free: 6.039 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001468/0.001468, allocations: 86.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.04779/0.04779, allocations: 11.86 MB / 248.8 MB, free: 0.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 11.23 kB / 296.4 MB, free: 26.83 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06011/0.06045, allocations: 37.14 MB / 333.6 MB, free: 6.016 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06766/0.1281, allocations: 50.3 MB / 383.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.1284, allocations: 71.91 kB / 384 MB, free: 3.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1614/0.2898, allocations: 4.565 MB / 388.5 MB, free: 55.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2899, allocations: 0 / 388.5 MB, free: 55.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.2899, allocations: 4.688 kB / 388.5 MB, free: 55.8 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006949/0.2906, allocations: 487.9 kB / 389 MB, free: 55.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2907, allocations: 9.156 kB / 389 MB, free: 55.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.2908, allocations: 25.7 kB / 389 MB, free: 55.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.2911, allocations: 219.2 kB / 389.2 MB, free: 55.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.2912, allocations: 12.56 kB / 389.3 MB, free: 55.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.2912, allocations: 24.91 kB / 389.3 MB, free: 55.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.2917, allocations: 192.3 kB / 389.5 MB, free: 55.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2917, allocations: 2.234 kB / 389.5 MB, free: 55.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.2917, allocations: 6.312 kB / 389.5 MB, free: 55.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2917, allocations: 7.219 kB / 389.5 MB, free: 55.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.292, allocations: 128.8 kB / 389.6 MB, free: 55.09 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.0009765/0.293, allocations: 0.9534 MB / 390.6 MB, free: 54.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.2934, allocations: 163.3 kB / 390.7 MB, free: 54.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2934, allocations: 6.031 kB / 390.7 MB, free: 54.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2934, allocations: 39.86 kB / 390.8 MB, free: 54.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.2934, allocations: 0 / 390.8 MB, free: 54.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001769/0.2952, allocations: 0.7841 MB / 391.6 MB, free: 53.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2953, allocations: 80.14 kB / 391.6 MB, free: 53.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2954, allocations: 156.1 kB / 391.8 MB, free: 53.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2954, allocations: 27.33 kB / 391.8 MB, free: 53.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.2955, allocations: 132.5 kB / 391.9 MB, free: 53.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.2955, allocations: 71.34 kB / 392 MB, free: 53.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.2955, allocations: 4.438 kB / 392 MB, free: 53.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.2956, allocations: 325.2 kB / 392.3 MB, free: 53.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2957, allocations: 73.94 kB / 392.4 MB, free: 53.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2959, allocations: 100.2 kB / 392.5 MB, free: 53.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.296, allocations: 94.16 kB / 392.6 MB, free: 53.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.296, allocations: 1.094 kB / 392.6 MB, free: 53.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003891/0.2964, allocations: 248.2 kB / 392.8 MB, free: 53.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.2965, allocations: 30.98 kB / 392.9 MB, free: 53.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2965, allocations: 1.281 kB / 392.9 MB, free: 53.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2965, allocations: 2.547 kB / 392.9 MB, free: 53.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.2968, allocations: 61.36 kB / 392.9 MB, free: 53.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.2968, allocations: 8.219 kB / 392.9 MB, free: 53.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2969, allocations: 13.48 kB / 393 MB, free: 53.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2969, allocations: 10.3 kB / 393 MB, free: 53.01 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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001459/0.2971, allocations: 157.1 kB / 393.1 MB, free: 52.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.2971, allocations: 22.31 kB / 393.1 MB, free: 52.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.2976, allocations: 267.7 kB / 393.4 MB, free: 52.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2976, allocations: 2.031 kB / 393.4 MB, free: 52.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2977, allocations: 0.8438 kB / 393.4 MB, free: 52.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2977, allocations: 1.406 kB / 393.4 MB, free: 52.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.2984, allocations: 0.5786 MB / 394 MB, free: 52.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2984, allocations: 0 / 394 MB, free: 52.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.2987, allocations: 51.83 kB / 394 MB, free: 52.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2987, allocations: 2.234 kB / 394 MB, free: 52.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2987, allocations: 6.547 kB / 394 MB, free: 52.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2987, allocations: 1.031 kB / 394 MB, free: 52.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2987, allocations: 9.062 kB / 394.1 MB, free: 52.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.2993, allocations: 413.2 kB / 394.5 MB, free: 52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.2994, allocations: 113 kB / 394.6 MB, free: 51.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.2994, allocations: 10.5 kB / 394.6 MB, free: 51.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2996, allocations: 10.09 kB / 394.6 MB, free: 51.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.2997, allocations: 15.95 kB / 394.6 MB, free: 51.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2997, allocations: 7.453 kB / 394.6 MB, free: 51.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.905e-05/0.2998, allocations: 135.6 kB / 394.7 MB, free: 51.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2998, allocations: 0 / 394.7 MB, free: 51.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.3001, allocations: 61.58 kB / 394.8 MB, free: 51.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0001371/0.3002, allocations: 117.5 kB / 394.9 MB, free: 51.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.3006, allocations: 219.2 kB / 395.1 MB, free: 51.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3006, allocations: 0 / 395.1 MB, free: 51.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3008, allocations: 148.2 kB / 395.3 MB, free: 51.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.3013, allocations: 77.56 kB / 395.4 MB, free: 51.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.3021, allocations: 0.5793 MB / 395.9 MB, free: 51.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.3023, allocations: 0.7429 MB / 396.7 MB, free: 50.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3024, allocations: 33.94 kB / 396.7 MB, free: 50.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.3025, allocations: 25.69 kB / 396.7 MB, free: 50.37 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3025, allocations: 1.094 kB / 396.7 MB, free: 50.37 MB / 266.7 MB Notification: Performance of Templates: time 0.006174/0.3087, allocations: 2.797 MB / 399.5 MB, free: 50.16 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)