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.001085/0.001085, allocations: 111 kB / 16.42 MB, free: 6.527 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.001209/0.001209, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.352/1.352, 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.04956/0.04956, allocations: 11.83 MB / 282.4 MB, free: 240 kB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.739e-05, allocations: 5.516 kB / 392.9 MB, free: 45.37 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003115/0.003141, allocations: 2.904 MB / 395.8 MB, free: 43.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.005375, allocations: 1.999 MB / 397.8 MB, free: 41.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.005507, allocations: 3.438 kB / 397.9 MB, free: 41.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.005737, allocations: 65.48 kB / 397.9 MB, free: 41.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.006085, allocations: 152.6 kB / 398.1 MB, free: 41.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.006925, allocations: 380.8 kB / 398.4 MB, free: 41.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.007425, allocations: 409.6 kB / 398.8 MB, free: 41.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.007629, allocations: 86.92 kB / 398.9 MB, free: 41.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.007806, allocations: 135.8 kB / 399.1 MB, free: 41.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.007984, allocations: 151.8 kB / 399.2 MB, free: 41.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.008035, allocations: 27.72 kB / 399.2 MB, free: 41.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.008464, allocations: 240.4 kB / 399.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003627/0.008835, allocations: 493.7 kB / 399.9 MB, free: 40.83 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001524/0.008993, allocations: 293.1 kB / 400.2 MB, free: 40.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.009058, allocations: 55.41 kB / 400.3 MB, free: 40.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.907e-05/0.009113, allocations: 13.77 kB / 400.3 MB, free: 40.6 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 (55) * Number of variables: 57 (54) Notification: Performance of Bindings: time 0.001316/0.01043, allocations: 1.432 MB / 401.7 MB, free: 39.53 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001493/0.01059, allocations: 90.52 kB / 401.8 MB, free: 39.48 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0008122/0.01141, allocations: 0.7493 MB / 402.6 MB, free: 39 MB / 318.1 MB Notification: Performance of simplify1: time 6.991e-05/0.01149, allocations: 61.42 kB / 402.6 MB, free: 38.98 MB / 318.1 MB Notification: Performance of Alias: time 0.001585/0.01308, allocations: 1.197 MB / 403.8 MB, free: 38.24 MB / 318.1 MB Notification: Performance of simplify2: time 5.677e-05/0.01315, allocations: 47.05 kB / 403.9 MB, free: 38.23 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002281/0.01338, allocations: 161.3 kB / 404 MB, free: 38.11 MB / 318.1 MB Notification: Performance of Events: time 0.0001378/0.01353, allocations: 88.62 kB / 404.1 MB, free: 38.06 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002661/0.0138, allocations: 212.7 kB / 404.3 MB, free: 37.96 MB / 318.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: GenericRestriction.data.D_a. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $FUN_1 = OpenHydraulics.Basic.BaseClasses.massFlowRate_dp_and_Re(GenericRestriction.dp, GenericRestriction.d_a, GenericRestriction.d_b, 0.036, 0.036, GenericRestriction.data) ($RES_$AUX_62)