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.0008822/0.0008821, allocations: 146.7 kB / 7.617 MB, free: 1.438 MB / 5.871 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.361/1.361, allocations: 150.6 MB / 158.6 MB, free: 6.176 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001419/0.001419, allocations: 82.23 kB / 193.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04961/0.04961, allocations: 11.72 MB / 240.2 MB, free: 2.406 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.751e-05, allocations: 0 / 283.6 MB, free: 31.15 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.08974, allocations: 37.13 MB / 320.7 MB, free: 10.01 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3152/0.405, allocations: 52.53 MB / 373.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.4054, allocations: 63.97 kB / 373.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02543/0.4308, allocations: 8.917 MB / 382.2 MB, free: 3.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4309, allocations: 0 / 382.2 MB, free: 3.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.4309, allocations: 4 kB / 382.2 MB, free: 3.254 MB / 250.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.0009014/0.4319, allocations: 0.5379 MB / 382.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.4319, allocations: 12.03 kB / 382.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.4321, allocations: 35.91 kB / 382.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.4326, allocations: 267 kB / 383 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.4326, allocations: 8 kB / 383 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.4327, allocations: 12 kB / 383.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000369/0.433, allocations: 193 kB / 383.2 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.4334, allocations: 230.6 kB / 383.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4335, allocations: 0 / 383.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.4335, allocations: 3.938 kB / 383.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4335, allocations: 8 kB / 383.5 MB, free: 1.867 MB / 250.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.00197/0.4355, allocations: 1.418 MB / 384.9 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.4358, allocations: 154.7 kB / 385.1 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4359, allocations: 64.86 kB / 385.1 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.4361, allocations: 174.2 kB / 385.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4362, allocations: 38.56 kB / 385.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.4362, allocations: 0 / 385.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.003301/0.4395, allocations: 0.8235 MB / 386.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4396, allocations: 55.59 kB / 386.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.4398, allocations: 178 kB / 386.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.4398, allocations: 25.7 kB / 386.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.44, allocations: 160.1 kB / 386.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.4401, allocations: 78.84 kB / 386.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.4401, allocations: 0 / 386.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4403, allocations: 334.8 kB / 387 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4405, allocations: 73.31 kB / 387 MB, free: 13.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.4406, allocations: 110.7 kB / 387.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008105/0.4414, allocations: 171.8 kB / 387.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4415, allocations: 0 / 387.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001011/0.4425, allocations: 317.2 kB / 387.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4425, allocations: 8 kB / 387.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4425, allocations: 0 / 387.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4425, allocations: 4 kB / 387.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.4428, allocations: 75.89 kB / 387.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4428, allocations: 0 / 387.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.443, allocations: 17.17 kB / 387.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.443, allocations: 8 kB / 387.7 MB, free: 13.26 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001668/0.4432, allocations: 116.9 kB / 387.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.4432, allocations: 19.72 kB / 387.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008753/0.4441, allocations: 288.1 kB / 388.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4441, allocations: 4 kB / 388.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4442, allocations: 7.922 kB / 388.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4442, allocations: 0 / 388.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.4454, allocations: 0.6482 MB / 388.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4454, allocations: 0 / 388.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.4457, allocations: 71.89 kB / 388.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4457, allocations: 0 / 388.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.4458, allocations: 0 / 388.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4458, allocations: 8 kB / 388.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4458, allocations: 4.078 kB / 388.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.4467, allocations: 463.8 kB / 389.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4468, allocations: 120.9 kB / 389.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.4469, allocations: 0 / 389.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.447, allocations: 11.98 kB / 389.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4471, allocations: 15.97 kB / 389.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4471, allocations: 8 kB / 389.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.4473, allocations: 151.1 kB / 389.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4473, allocations: 64 / 389.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004708/0.4477, allocations: 127.9 kB / 389.8 MB, free: 11.12 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 () * 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.0003762/0.4481, allocations: 183.1 kB / 389.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.4484, allocations: 175.2 kB / 390.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4484, allocations: 0 / 390.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4486, allocations: 72.23 kB / 390.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.4491, allocations: 72.16 kB / 390.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.4499, allocations: 423.2 kB / 390.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4502, allocations: 0.7633 MB / 391.4 MB, free: 9.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.4504, allocations: 34.05 kB / 391.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.4505, allocations: 31.42 kB / 391.5 MB, free: 9.336 MB / 266.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4505, allocations: 3.938 kB / 391.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of Templates: time 0.007293/0.4578, allocations: 3.704 MB / 395.2 MB, free: 5.652 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)