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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 118.3 kB / 16.37 MB, free: 5.984 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.001251/0.001251, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.233/1.233, 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.05683/0.05683, allocations: 11.83 MB / 282.4 MB, free: 248 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.00153/0.00153, allocations: 71.89 kB / 343.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1795, allocations: 49.21 MB / 392.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003239/0.1828, allocations: 2.627 MB / 395.1 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.1837, allocations: 0.6963 MB / 395.8 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.1838, allocations: 2.656 kB / 395.8 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1839, allocations: 28 kB / 395.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1842, allocations: 118.9 kB / 396 MB, free: 46.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.1843, allocations: 45.06 kB / 396 MB, free: 46.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1846, allocations: 251.1 kB / 396.2 MB, free: 46.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1847, allocations: 62.61 kB / 396.3 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1848, allocations: 90.48 kB / 396.4 MB, free: 46.74 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.185, allocations: 99.64 kB / 396.5 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.185, allocations: 15.03 kB / 396.5 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.1851, allocations: 33.52 kB / 396.5 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1852, allocations: 40.02 kB / 396.6 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.1853, allocations: 104.4 kB / 396.7 MB, free: 46.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1855, allocations: 211 kB / 396.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1855, allocations: 3.938 kB / 396.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1855, allocations: 0 / 396.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1855, allocations: 1 kB / 396.9 MB, free: 46.51 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005366/0.1861, allocations: 0.5011 MB / 397.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1861, allocations: 13.55 kB / 397.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.1862, allocations: 21.69 kB / 397.4 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1864, allocations: 233.3 kB / 397.7 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1865, allocations: 14.78 kB / 397.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.1865, allocations: 23.34 kB / 397.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1868, allocations: 181.2 kB / 397.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1868, allocations: 0 / 397.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1869, allocations: 9.969 kB / 397.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1869, allocations: 4.688 kB / 397.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1871, allocations: 127.7 kB / 398 MB, free: 45.62 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.0009111/0.188, allocations: 0.9228 MB / 398.9 MB, free: 44.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.1883, allocations: 152.3 kB / 399.1 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1884, allocations: 62.38 kB / 399.1 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1885, allocations: 1.469 kB / 399.1 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.1885, allocations: 36.48 kB / 399.2 MB, free: 44.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.1885, allocations: 0 / 399.2 MB, free: 44.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001593/0.1901, allocations: 0.7578 MB / 399.9 MB, free: 44.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.1901, allocations: 80.64 kB / 400 MB, free: 44.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.1903, allocations: 179.8 kB / 400.2 MB, free: 43.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1903, allocations: 26.67 kB / 400.2 MB, free: 43.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.1903, allocations: 126.1 kB / 400.3 MB, free: 43.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.1904, allocations: 65.73 kB / 400.4 MB, free: 43.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.1904, allocations: 43.89 kB / 400.4 MB, free: 43.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.1905, allocations: 328.7 kB / 400.8 MB, free: 43.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1906, allocations: 65.34 kB / 400.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1908, allocations: 98.94 kB / 400.9 MB, free: 43.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.1911, allocations: 217.8 kB / 401.1 MB, free: 43.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1911, allocations: 5.562 kB / 401.1 MB, free: 43.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003509/0.1914, allocations: 229.3 kB / 401.4 MB, free: 42.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1915, allocations: 32.17 kB / 401.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1915, allocations: 5 kB / 401.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1915, allocations: 2.438 kB / 401.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.1918, allocations: 58.89 kB / 401.5 MB, free: 42.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1918, allocations: 6.375 kB / 401.5 MB, free: 42.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1919, allocations: 12.52 kB / 401.5 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1919, allocations: 9.812 kB / 401.5 MB, free: 42.91 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.1921, allocations: 161.7 kB / 401.7 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.1921, allocations: 15.5 kB / 401.7 MB, free: 42.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.1925, allocations: 253.6 kB / 401.9 MB, free: 42.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1925, allocations: 7.281 kB / 401.9 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1925, allocations: 0 / 401.9 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1926, allocations: 3.984 kB / 401.9 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.1932, allocations: 0.5797 MB / 402.5 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1932, allocations: 0 / 402.5 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.1935, allocations: 50.34 kB / 402.6 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1935, allocations: 1.25 kB / 402.6 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1935, allocations: 14.41 kB / 402.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1935, allocations: 1.219 kB / 402.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1935, allocations: 3.938 kB / 402.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.194, allocations: 402.8 kB / 403 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1941, allocations: 111.2 kB / 403.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1941, allocations: 2.406 kB / 403.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1943, allocations: 11.94 kB / 403.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.1943, allocations: 18.66 kB / 403.1 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1943, allocations: 4.188 kB / 403.1 MB, free: 41.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.1944, allocations: 139.5 kB / 403.3 MB, free: 41.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1944, allocations: 0 / 403.3 MB, free: 41.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.1947, allocations: 51.62 kB / 403.3 MB, free: 41.49 MB / 318.1 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001012/0.1948, allocations: 110.2 kB / 403.4 MB, free: 41.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.1952, allocations: 226.2 kB / 403.6 MB, free: 41.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1952, allocations: 0 / 403.6 MB, free: 41.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1954, allocations: 142.9 kB / 403.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1957, allocations: 42.83 kB / 403.8 MB, free: 41.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.1964, allocations: 499.6 kB / 404.3 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.1966, allocations: 0.7328 MB / 405 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1967, allocations: 29.97 kB / 405.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.1967, allocations: 24.86 kB / 405.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1968, allocations: 0 / 405.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of Templates: time 0.005508/0.2023, allocations: 2.697 MB / 407.8 MB, free: 38.72 MB / 318.1 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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)