Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 115.1 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.001736/0.001736, 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.047/1.047, 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.04808/0.04808, allocations: 11.85 MB / 282.4 MB, free: 228 kB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.547e-06/9.558e-06, allocations: 5.516 kB / 392.9 MB, free: 45.34 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002332/0.00235, allocations: 2.594 MB / 395.5 MB, free: 43.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.004142, allocations: 1.986 MB / 397.5 MB, free: 42.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.004245, allocations: 3.781 kB / 397.5 MB, free: 42.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.004425, allocations: 56.8 kB / 397.6 MB, free: 42.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.004624, allocations: 117.7 kB / 397.7 MB, free: 41.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.005209, allocations: 376.9 kB / 398.1 MB, free: 41.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.005469, allocations: 347.9 kB / 398.4 MB, free: 41.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.00561, allocations: 102.4 kB / 398.5 MB, free: 41.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.005738, allocations: 103.4 kB / 398.6 MB, free: 41.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.00587, allocations: 122.8 kB / 398.7 MB, free: 41.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.005902, allocations: 18.16 kB / 398.7 MB, free: 41.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.006163, allocations: 190.8 kB / 398.9 MB, free: 41.42 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001941/0.006364, allocations: 420.4 kB / 399.3 MB, free: 41.15 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.609e-05/0.006455, allocations: 273.9 kB / 399.6 MB, free: 40.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.006497, allocations: 46.88 kB / 399.7 MB, free: 40.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.272e-05/0.006525, allocations: 5.281 kB / 399.7 MB, free: 40.94 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: 42 (42) * Number of variables: 42 (42) Notification: Performance of Bindings: time 0.000722/0.007251, allocations: 1.227 MB / 400.9 MB, free: 40 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.734e-05/0.007334, allocations: 76.22 kB / 401 MB, free: 39.95 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004943/0.007834, allocations: 0.6783 MB / 401.6 MB, free: 39.52 MB / 318.1 MB Notification: Performance of simplify1: time 4.688e-05/0.007889, allocations: 55.53 kB / 401.7 MB, free: 39.49 MB / 318.1 MB Notification: Performance of Alias: time 0.001035/0.008929, allocations: 1.149 MB / 402.8 MB, free: 38.84 MB / 318.1 MB Notification: Performance of simplify2: time 4.053e-05/0.008979, allocations: 44.7 kB / 402.9 MB, free: 38.82 MB / 318.1 MB Notification: Performance of Events: time 0.0001176/0.009101, allocations: 106.4 kB / 403 MB, free: 38.76 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001046/0.009213, allocations: 130.4 kB / 403.1 MB, free: 38.67 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001472/0.009366, allocations: 208.5 kB / 403.3 MB, free: 38.49 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005864/0.009958, allocations: 0.6652 MB / 404 MB, free: 38.17 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002957/0.01026, allocations: 417.9 kB / 404.4 MB, free: 37.91 MB / 318.1 MB Notification: Performance of Inline: time 0.0006019/0.01087, allocations: 0.8531 MB / 405.3 MB, free: 37.34 MB / 318.1 MB Notification: Performance of Partitioning: time 3.215e-05/0.01091, allocations: 42.56 kB / 405.3 MB, free: 37.31 MB / 318.1 MB Notification: Performance of Cleanup: time 2.436e-05/0.01094, allocations: 41.81 kB / 405.3 MB, free: 37.28 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008246/0.01177, allocations: 0.9104 MB / 406.2 MB, free: 36.87 MB / 318.1 MB Notification: Performance of Tearing: time 7.043e-06/0.01178, allocations: 0 / 406.2 MB, free: 36.87 MB / 318.1 MB Notification: Performance of Initialization: time 7.81e-07/0.01179, allocations: 1.062 kB / 406.2 MB, free: 36.87 MB / 318.1 MB Notification: Performance of Tearing: time 2.975e-06/0.0118, allocations: 5 kB / 406.2 MB, free: 36.86 MB / 318.1 MB Notification: Performance of Categorize: time 8.316e-06/0.01181, allocations: 6.078 kB / 406.3 MB, free: 36.86 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: Real genericPressureLoss.d_a = OpenHydraulics.DevelopmentTests.ShuttleValveTest.oil.density(-2e6 * (869.9493375 - genericPressureLoss.d_a)) ### Equation: [SCAL] (1) -2e6 * (869.9493375 - genericPressureLoss.d_a) = max(sine.y, sine1.y) ($RES_SIM_17)