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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 111.8 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 192.2 kB / 17.3 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05573/0.05573, allocations: 11.85 MB / 282.4 MB, free: 240 kB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.81 kB / 343.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1829, allocations: 49.21 MB / 392.5 MB, free: 49.36 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003382/0.1863, allocations: 2.891 MB / 395.4 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1885, allocations: 2.001 MB / 397.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1886, allocations: 3.375 kB / 397.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1888, allocations: 63.08 kB / 397.4 MB, free: 45.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1891, allocations: 150.4 kB / 397.6 MB, free: 45.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.1898, allocations: 379.3 kB / 398 MB, free: 45.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.1902, allocations: 375.4 kB / 398.3 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1903, allocations: 86.58 kB / 398.4 MB, free: 45.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1905, allocations: 125.9 kB / 398.5 MB, free: 45.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1907, allocations: 157.4 kB / 398.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.1907, allocations: 23.78 kB / 398.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.1911, allocations: 242.8 kB / 399 MB, free: 45.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.1912, allocations: 66.34 kB / 399 MB, free: 45.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1913, allocations: 152.6 kB / 399.2 MB, free: 45.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.1918, allocations: 453 kB / 399.6 MB, free: 44.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1918, allocations: 4 kB / 399.6 MB, free: 44.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1918, allocations: 0 / 399.6 MB, free: 44.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1918, allocations: 5.156 kB / 399.6 MB, free: 44.86 MB / 318.1 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.000707/0.1925, allocations: 0.5905 MB / 400.2 MB, free: 44.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.1926, allocations: 13.45 kB / 400.2 MB, free: 44.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1927, allocations: 33.97 kB / 400.3 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.193, allocations: 264.3 kB / 400.5 MB, free: 44.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.193, allocations: 23.16 kB / 400.5 MB, free: 44.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.193, allocations: 27.59 kB / 400.6 MB, free: 44.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.1934, allocations: 274.7 kB / 400.8 MB, free: 43.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1935, allocations: 0 / 400.8 MB, free: 43.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1935, allocations: 6.156 kB / 400.8 MB, free: 43.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1935, allocations: 5.531 kB / 400.8 MB, free: 43.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.1939, allocations: 227 kB / 401.1 MB, free: 43.73 MB / 318.1 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.001503/0.1954, allocations: 1.451 MB / 402.5 MB, free: 42.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1957, allocations: 153.2 kB / 402.7 MB, free: 42.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1958, allocations: 75.75 kB / 402.7 MB, free: 42.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.1959, allocations: 168.3 kB / 402.9 MB, free: 41.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.196, allocations: 33.38 kB / 402.9 MB, free: 41.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.196, allocations: 0 / 402.9 MB, free: 41.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001603/0.1976, allocations: 0.7318 MB / 403.7 MB, free: 41.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/0.1976, allocations: 62.59 kB / 403.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1978, allocations: 263.2 kB / 404 MB, free: 41.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1979, allocations: 29.7 kB / 404 MB, free: 41.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.1979, allocations: 161.4 kB / 404.2 MB, free: 40.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.198, allocations: 78.58 kB / 404.3 MB, free: 40.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.198, allocations: 56.83 kB / 404.3 MB, free: 40.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.1981, allocations: 336.7 kB / 404.6 MB, free: 40.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.1983, allocations: 84.78 kB / 404.7 MB, free: 40.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1985, allocations: 120.9 kB / 404.8 MB, free: 40.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.1988, allocations: 208.3 kB / 405 MB, free: 40.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1988, allocations: 5 kB / 405 MB, free: 40.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004595/0.1992, allocations: 260.5 kB / 405.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1993, allocations: 5.688 kB / 405.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1993, allocations: 5.109 kB / 405.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1993, allocations: 3.531 kB / 405.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.1996, allocations: 68.39 kB / 405.4 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1996, allocations: 2.969 kB / 405.4 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1998, allocations: 8.656 kB / 405.4 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1998, allocations: 16.42 kB / 405.4 MB, free: 40.09 MB / 318.1 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.0001298/0.1999, allocations: 147.8 kB / 405.6 MB, free: 39.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.2, allocations: 24 kB / 405.6 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.2005, allocations: 249.5 kB / 405.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2005, allocations: 2.969 kB / 405.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2005, allocations: 0 / 405.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2005, allocations: 1.188 kB / 405.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.2013, allocations: 0.6318 MB / 406.5 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2013, allocations: 1.281 kB / 406.5 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.2016, allocations: 58.91 kB / 406.5 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2016, allocations: 1.406 kB / 406.5 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2016, allocations: 9.891 kB / 406.5 MB, free: 39.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2016, allocations: 9.094 kB / 406.5 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2016, allocations: 5.375 kB / 406.5 MB, free: 39.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.2021, allocations: 399.2 kB / 406.9 MB, free: 38.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.2022, allocations: 115.2 kB / 407 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.2023, allocations: 8.938 kB / 407 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2025, allocations: 14.48 kB / 407.1 MB, free: 38.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.2025, allocations: 17.45 kB / 407.1 MB, free: 38.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2025, allocations: 13.61 kB / 407.1 MB, free: 38.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.2027, allocations: 198 kB / 407.3 MB, free: 38.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2027, allocations: 1.125 kB / 407.3 MB, free: 38.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.2031, allocations: 107.1 kB / 407.4 MB, free: 38.64 MB / 318.1 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.0002475/0.2034, allocations: 197.8 kB / 407.6 MB, free: 38.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.2038, allocations: 182.8 kB / 407.8 MB, free: 38.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2038, allocations: 0 / 407.8 MB, free: 38.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.2039, allocations: 91.78 kB / 407.9 MB, free: 38.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.2044, allocations: 81.69 kB / 407.9 MB, free: 38.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.2053, allocations: 0.6168 MB / 408.6 MB, free: 37.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2054, allocations: 0.7575 MB / 409.3 MB, free: 37.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.2056, allocations: 33.02 kB / 409.3 MB, free: 37.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.2056, allocations: 37.95 kB / 409.4 MB, free: 37.14 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2056, allocations: 0 / 409.4 MB, free: 37.14 MB / 318.1 MB Notification: Performance of Templates: time 0.007245/0.2129, allocations: 4.985 MB / 414.4 MB, free: 32.6 MB / 318.1 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)