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.001433/0.001432, allocations: 155.7 kB / 15.95 MB, free: 5.793 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.9234/0.9234, allocations: 150.5 MB / 167.2 MB, free: 10.27 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001502/0.001502, allocations: 89.95 kB / 201.8 MB, free: 7.574 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05112/0.05112, allocations: 11.84 MB / 248.2 MB, free: 19.39 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 67.89 kB / 295.4 MB, free: 4.098 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1602, allocations: 36.43 MB / 331.9 MB, free: 34.83 MB / 234.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003668/0.164, allocations: 3.45 MB / 335.3 MB, free: 32.1 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.1666, allocations: 2.096 MB / 337.4 MB, free: 30.43 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1668, allocations: 3.812 kB / 337.4 MB, free: 30.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.1671, allocations: 54.27 kB / 337.5 MB, free: 30.39 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.1675, allocations: 150.5 kB / 337.6 MB, free: 30.26 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.1682, allocations: 298.8 kB / 337.9 MB, free: 30.05 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.1686, allocations: 415.2 kB / 338.3 MB, free: 29.75 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1687, allocations: 86.16 kB / 338.4 MB, free: 29.67 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1689, allocations: 127.5 kB / 338.5 MB, free: 29.54 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1691, allocations: 147.3 kB / 338.7 MB, free: 29.4 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.1691, allocations: 16 kB / 338.7 MB, free: 29.38 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.1695, allocations: 243.7 kB / 338.9 MB, free: 29.14 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1695, allocations: 39.84 kB / 339 MB, free: 29.11 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1696, allocations: 159.2 kB / 339.1 MB, free: 28.95 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.17, allocations: 448.9 kB / 339.5 MB, free: 28.51 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.17, allocations: 0 / 339.5 MB, free: 28.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1701, allocations: 0 / 339.5 MB, free: 28.51 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1701, allocations: 8 kB / 339.6 MB, free: 28.5 MB / 234.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.0007347/0.1708, allocations: 0.5924 MB / 340.1 MB, free: 27.86 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1708, allocations: 8.031 kB / 340.2 MB, free: 27.86 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.171, allocations: 36.56 kB / 340.2 MB, free: 27.82 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1712, allocations: 272.3 kB / 340.5 MB, free: 27.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1712, allocations: 16.94 kB / 340.5 MB, free: 27.5 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.1712, allocations: 27.94 kB / 340.5 MB, free: 27.47 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.1716, allocations: 275.7 kB / 340.8 MB, free: 27.2 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1716, allocations: 4 kB / 340.8 MB, free: 27.19 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1717, allocations: 8 kB / 340.8 MB, free: 27.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1717, allocations: 4 kB / 340.8 MB, free: 27.18 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.172, allocations: 226 kB / 341 MB, free: 26.96 MB / 234.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.001472/0.1735, allocations: 1.448 MB / 342.5 MB, free: 25.32 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1737, allocations: 149.1 kB / 342.6 MB, free: 25.17 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1739, allocations: 72.83 kB / 342.7 MB, free: 25.09 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.174, allocations: 178.1 kB / 342.8 MB, free: 24.88 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.174, allocations: 34.5 kB / 342.9 MB, free: 24.84 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.174, allocations: 0 / 342.9 MB, free: 24.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.001538/0.1756, allocations: 0.7411 MB / 343.6 MB, free: 24.05 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.1756, allocations: 55.41 kB / 343.7 MB, free: 23.98 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1758, allocations: 266.7 kB / 343.9 MB, free: 23.71 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1758, allocations: 33.7 kB / 344 MB, free: 23.68 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.1759, allocations: 156.2 kB / 344.1 MB, free: 23.52 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.176, allocations: 70.91 kB / 344.2 MB, free: 23.45 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.176, allocations: 45.94 kB / 344.2 MB, free: 23.4 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.1761, allocations: 342.8 kB / 344.6 MB, free: 23.05 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1762, allocations: 81.52 kB / 344.6 MB, free: 22.97 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1764, allocations: 122.9 kB / 344.8 MB, free: 22.83 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1767, allocations: 205.9 kB / 345 MB, free: 22.61 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1767, allocations: 7.938 kB / 345 MB, free: 22.6 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004144/0.1771, allocations: 264.5 kB / 345.2 MB, free: 22.34 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1772, allocations: 4 kB / 345.2 MB, free: 22.34 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1772, allocations: 7.938 kB / 345.2 MB, free: 22.33 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1772, allocations: 0 / 345.2 MB, free: 22.33 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.1774, allocations: 71.89 kB / 345.3 MB, free: 22.26 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1774, allocations: 4 kB / 345.3 MB, free: 22.25 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1776, allocations: 11.98 kB / 345.3 MB, free: 22.24 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1776, allocations: 16.12 kB / 345.3 MB, free: 22.23 MB / 234.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.1778, allocations: 153.5 kB / 345.5 MB, free: 22.07 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.1779, allocations: 27.72 kB / 345.5 MB, free: 22.04 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.1783, allocations: 243.5 kB / 345.8 MB, free: 21.8 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1783, allocations: 8 kB / 345.8 MB, free: 21.79 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1783, allocations: 0 / 345.8 MB, free: 21.79 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1783, allocations: 0 / 345.8 MB, free: 21.79 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.1791, allocations: 0.6278 MB / 346.4 MB, free: 21.1 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1791, allocations: 4.047 kB / 346.4 MB, free: 21.1 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.1793, allocations: 63.88 kB / 346.5 MB, free: 21.04 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1793, allocations: 32 / 346.5 MB, free: 21.04 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1793, allocations: 12 kB / 346.5 MB, free: 21.02 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1794, allocations: 3.938 kB / 346.5 MB, free: 21.02 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1794, allocations: 7.984 kB / 346.5 MB, free: 21.01 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03152/0.2109, allocations: 3.894 MB / 350.4 MB, free: 16.93 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.211, allocations: 124.9 kB / 350.5 MB, free: 16.79 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.2111, allocations: 3.938 kB / 350.5 MB, free: 16.79 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.2112, allocations: 15.98 kB / 350.5 MB, free: 16.77 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.2113, allocations: 15.98 kB / 350.5 MB, free: 16.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2113, allocations: 7.984 kB / 350.5 MB, free: 16.75 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.2115, allocations: 198 kB / 350.7 MB, free: 16.55 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2115, allocations: 0 / 350.7 MB, free: 16.55 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007258/0.2122, allocations: 224 kB / 351 MB, free: 16.34 MB / 234.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005764/0.2128, allocations: 227 kB / 351.2 MB, free: 16.11 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.2133, allocations: 183.7 kB / 351.4 MB, free: 15.93 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2133, allocations: 0 / 351.4 MB, free: 15.93 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2135, allocations: 92.2 kB / 351.5 MB, free: 15.84 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.2143, allocations: 127.2 kB / 351.6 MB, free: 15.71 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2154, allocations: 0.9019 MB / 352.5 MB, free: 14.77 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2156, allocations: 0.7602 MB / 353.2 MB, free: 13.98 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.2159, allocations: 62.88 kB / 353.3 MB, free: 13.92 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.216, allocations: 31.42 kB / 353.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of SimCode: time 4.91e-07/0.216, allocations: 0 / 353.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of Templates: time 0.01355/0.2295, allocations: 10.74 MB / 364.1 MB, free: 3.168 MB / 234.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)