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.001326/0.001326, allocations: 115.2 kB / 16.43 MB, free: 6.496 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.001311/0.001311, allocations: 187.7 kB / 17.35 MB, free: 5.754 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.12/1.12, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04892/0.04892, allocations: 11.83 MB / 282.4 MB, free: 236 kB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.669e-05, allocations: 4.391 kB / 392.9 MB, free: 45.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.005232/0.005258, allocations: 6.101 MB / 399 MB, free: 40.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.009686, allocations: 3.26 MB / 402.3 MB, free: 38.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008928/0.01059, allocations: 19.88 kB / 402.3 MB, free: 38.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.01119, allocations: 282.1 kB / 402.6 MB, free: 38.51 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.001109/0.01232, allocations: 0.5912 MB / 403.2 MB, free: 38.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.01396, allocations: 0.8443 MB / 404 MB, free: 37.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.01535, allocations: 1.898 MB / 405.9 MB, free: 36.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.0158, allocations: 428.4 kB / 406.3 MB, free: 36.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.01635, allocations: 0.6665 MB / 407 MB, free: 35.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.0169, allocations: 0.684 MB / 407.7 MB, free: 35.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.01704, allocations: 100.9 kB / 407.8 MB, free: 35.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.01763, allocations: 376.2 kB / 408.2 MB, free: 35.32 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009914/0.01863, allocations: 2.081 MB / 410.2 MB, free: 33.84 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004464/0.01908, allocations: 1.337 MB / 411.6 MB, free: 32.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.01922, allocations: 219.3 kB / 411.8 MB, free: 32.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001431/0.01937, allocations: 28 kB / 411.8 MB, free: 32.4 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.00313/0.02251, allocations: 6.203 MB / 418 MB, free: 26.01 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002411/0.02275, allocations: 340.6 kB / 418.4 MB, free: 25.68 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002063/0.02482, allocations: 3.563 MB / 421.9 MB, free: 22.08 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001572/0.02499, allocations: 267.7 kB / 422.2 MB, free: 21.82 MB / 318.1 MB Notification: Performance of Alias: time 0.002768/0.02776, allocations: 4.147 MB / 426.3 MB, free: 17.35 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001484/0.02792, allocations: 243.7 kB / 426.6 MB, free: 17.11 MB / 318.1 MB Notification: Performance of Events: time 0.0004409/0.02837, allocations: 0.6456 MB / 427.2 MB, free: 16.46 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005164/0.02889, allocations: 0.8891 MB / 428.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0008333/0.02974, allocations: 1.357 MB / 429.5 MB, free: 14.02 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)