Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, 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.001205/0.001205, allocations: 185.5 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.178/1.178, 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.05063/0.05063, allocations: 11.83 MB / 282.4 MB, free: 228 kB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.346e-05, allocations: 2.281 kB / 392.9 MB, free: 45.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.00509/0.005111, allocations: 6.1 MB / 399 MB, free: 40.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.008905, allocations: 3.264 MB / 402.3 MB, free: 38.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.009551, allocations: 15.31 kB / 402.3 MB, free: 38.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.01016, allocations: 287.2 kB / 402.6 MB, free: 38.52 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001156/0.01133, allocations: 0.6245 MB / 403.2 MB, free: 38.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.01312, allocations: 0.8309 MB / 404.1 MB, free: 37.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.01494, allocations: 1.904 MB / 406 MB, free: 36.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.01548, allocations: 428.9 kB / 406.4 MB, free: 36.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009586/0.01644, allocations: 0.6591 MB / 407 MB, free: 35.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.0175, allocations: 0.6837 MB / 407.7 MB, free: 35.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.01779, allocations: 101.3 kB / 407.8 MB, free: 35.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.01874, allocations: 379.3 kB / 408.2 MB, free: 35.34 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00143/0.02018, allocations: 2.078 MB / 410.3 MB, free: 33.86 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004889/0.02067, allocations: 1.348 MB / 411.6 MB, free: 32.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.02085, allocations: 215.3 kB / 411.8 MB, free: 32.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001466/0.02101, allocations: 24 kB / 411.9 MB, free: 32.38 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: 241 (207) * Number of variables: 241 (198) Notification: Performance of Bindings: time 0.0032/0.02421, allocations: 6.199 MB / 418 MB, free: 25.99 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002605/0.02448, allocations: 342.1 kB / 418.4 MB, free: 25.66 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002142/0.02663, allocations: 3.571 MB / 422 MB, free: 22.05 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001665/0.0268, allocations: 259.7 kB / 422.2 MB, free: 21.8 MB / 318.1 MB Notification: Performance of Alias: time 0.003126/0.02994, allocations: 4.155 MB / 426.4 MB, free: 17.32 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001716/0.03012, allocations: 239.7 kB / 426.6 MB, free: 17.09 MB / 318.1 MB Notification: Performance of Detect States: time 0.0006668/0.0308, allocations: 0.9365 MB / 427.5 MB, free: 16.12 MB / 318.1 MB Notification: Performance of Events: time 0.0004423/0.03125, allocations: 0.4989 MB / 428 MB, free: 15.62 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0008822/0.03214, allocations: 1.349 MB / 429.4 MB, free: 14.1 MB / 318.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 8 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: restriction.data.c0. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $FUN_2 = OpenHydraulics.Basic.BaseClasses.massFlowRate_dp_and_Re(restriction.dp, restriction.d_a, restriction.d_b, 0.036, 0.036, restriction.data) ($RES_$AUX_235)