Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001496/0.001496, allocations: 145.6 kB / 12.7 MB, free: 2.617 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. [/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.022/1.022, allocations: 150.5 MB / 163.7 MB, free: 2.379 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001363/0.001363, allocations: 66.38 kB / 198.8 MB, free: 12.98 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1689/0.1689, allocations: 11.7 MB / 245.5 MB, free: 34.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.392e-05, allocations: 4 kB / 290.5 MB, free: 11.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09054/0.09059, allocations: 37.15 MB / 327.7 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2885/0.3792, allocations: 53.24 MB / 380.9 MB, free: 23.7 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001721/0.3794, allocations: 65.11 kB / 381 MB, free: 23.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.405, allocations: 10.03 MB / 391 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4051, allocations: 0 / 391 MB, free: 17.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.4051, allocations: 4.219 kB / 391 MB, free: 17.73 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000844/0.4059, allocations: 0.5976 MB / 391.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.406, allocations: 8.031 kB / 391.6 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.4061, allocations: 43.88 kB / 391.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.4066, allocations: 330.9 kB / 392 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.4067, allocations: 21.69 kB / 392 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.4067, allocations: 26.38 kB / 392 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.4072, allocations: 317.5 kB / 392.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4072, allocations: 0 / 392.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.4073, allocations: 10.75 kB / 392.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4073, allocations: 4 kB / 392.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.4076, allocations: 260.3 kB / 392.6 MB, free: 16.32 MB / 266.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001702/0.4094, allocations: 1.563 MB / 394.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.4099, allocations: 264.8 kB / 394.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.41, allocations: 113.1 kB / 394.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.4101, allocations: 90.55 kB / 394.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4101, allocations: 42.25 kB / 394.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.4101, allocations: 0 / 394.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001633/0.4118, allocations: 0.8233 MB / 395.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.4118, allocations: 59.62 kB / 395.5 MB, free: 13.63 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.4122, allocations: 296.9 kB / 395.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4122, allocations: 29.39 kB / 395.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.4123, allocations: 190.2 kB / 396 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.4124, allocations: 96.77 kB / 396.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.4124, allocations: 3.25 kB / 396.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.4125, allocations: 339.4 kB / 396.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.4126, allocations: 108.9 kB / 396.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.4128, allocations: 166.8 kB / 396.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.413, allocations: 106.3 kB / 396.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.413, allocations: 4.031 kB / 396.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000417/0.4134, allocations: 322.1 kB / 397.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4134, allocations: 4 kB / 397.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4134, allocations: 4 kB / 397.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4135, allocations: 4 kB / 397.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.4138, allocations: 87.09 kB / 397.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4138, allocations: 12.22 kB / 397.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.414, allocations: 15.55 kB / 397.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.414, allocations: 19.25 kB / 397.3 MB, free: 12.14 MB / 266.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: 9 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001369/0.4142, allocations: 123.1 kB / 397.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.4142, allocations: 35.53 kB / 397.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.4148, allocations: 342.2 kB / 397.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.4148, allocations: 4 kB / 397.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4148, allocations: 3.953 kB / 397.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4149, allocations: 0 / 397.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.416, allocations: 0.786 MB / 398.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.416, allocations: 0 / 398.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.4163, allocations: 82.89 kB / 398.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.4163, allocations: 4 kB / 398.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.4164, allocations: 6.703 kB / 398.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.4164, allocations: 4 kB / 398.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4164, allocations: 0 / 398.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.417, allocations: 0.5185 MB / 399.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.4172, allocations: 142.4 kB / 399.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.4172, allocations: 15.55 kB / 399.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.4174, allocations: 19.5 kB / 399.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.4175, allocations: 19.48 kB / 399.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.4175, allocations: 15.84 kB / 399.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.4177, allocations: 234.9 kB / 399.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4177, allocations: 0 / 399.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004892/0.4182, allocations: 130 kB / 399.8 MB, free: 10.09 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: 1 (checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004658/0.4187, allocations: 236.7 kB / 400 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.4191, allocations: 247 kB / 400.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4191, allocations: 0 / 400.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4193, allocations: 122.4 kB / 400.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.4201, allocations: 168.9 kB / 400.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.4211, allocations: 0.548 MB / 401.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.4213, allocations: 0.8023 MB / 401.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.4215, allocations: 59.25 kB / 401.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.4216, allocations: 31.42 kB / 402 MB, free: 8.066 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4216, allocations: 4 kB / 402 MB, free: 8.062 MB / 266.7 MB Notification: Performance of Templates: time 0.009456/0.4311, allocations: 6.095 MB / 408.1 MB, free: 2.031 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)