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.0009703/0.0009703, allocations: 110.8 kB / 16.42 MB, free: 6.523 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.0009946/0.0009946, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.091/1.091, 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.04933/0.04933, allocations: 11.83 MB / 282.4 MB, free: 228 kB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.509e-05, allocations: 5.516 kB / 392.9 MB, free: 45.39 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.002565/0.002588, allocations: 2.61 MB / 395.6 MB, free: 43.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.004664, allocations: 1.971 MB / 397.5 MB, free: 42.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.004861, allocations: 4.281 kB / 397.5 MB, free: 42.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.005085, allocations: 60.16 kB / 397.6 MB, free: 42.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.00536, allocations: 113.7 kB / 397.7 MB, free: 42.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.006195, allocations: 385 kB / 398.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.006543, allocations: 348.1 kB / 398.4 MB, free: 41.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.006702, allocations: 98.64 kB / 398.5 MB, free: 41.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.006883, allocations: 116.7 kB / 398.6 MB, free: 41.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.007032, allocations: 118.5 kB / 398.7 MB, free: 41.51 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.007071, allocations: 18.62 kB / 398.8 MB, free: 41.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.007375, allocations: 186.9 kB / 398.9 MB, free: 41.47 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002369/0.00762, allocations: 427.7 kB / 399.4 MB, free: 41.2 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001142/0.00774, allocations: 270 kB / 399.6 MB, free: 41.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.007798, allocations: 47.03 kB / 399.7 MB, free: 40.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.939e-05/0.007842, allocations: 5.25 kB / 399.7 MB, free: 40.99 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.00083/0.008677, allocations: 1.226 MB / 400.9 MB, free: 40.04 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.000102/0.008786, allocations: 73.5 kB / 401 MB, free: 40 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005771/0.00937, allocations: 0.6775 MB / 401.6 MB, free: 39.57 MB / 318.1 MB Notification: Performance of simplify1: time 5.497e-05/0.009432, allocations: 59.66 kB / 401.7 MB, free: 39.54 MB / 318.1 MB Notification: Performance of Alias: time 0.001194/0.01063, allocations: 1.145 MB / 402.8 MB, free: 38.89 MB / 318.1 MB Notification: Performance of simplify2: time 5.923e-05/0.0107, allocations: 40.62 kB / 402.9 MB, free: 38.88 MB / 318.1 MB Notification: Performance of Detect States: time 9.579e-05/0.0108, allocations: 107.8 kB / 403 MB, free: 38.79 MB / 318.1 MB Notification: Performance of Events: time 0.0001391/0.01095, allocations: 107.2 kB / 403.1 MB, free: 38.73 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001681/0.01112, allocations: 212.8 kB / 403.3 MB, free: 38.55 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006422/0.01177, allocations: 0.6637 MB / 404 MB, free: 38.23 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003309/0.01211, allocations: 426.8 kB / 404.4 MB, free: 37.96 MB / 318.1 MB Notification: Performance of Inline: time 0.00068/0.01279, allocations: 0.8453 MB / 405.2 MB, free: 37.39 MB / 318.1 MB Notification: Performance of Partitioning: time 3.675e-05/0.01284, allocations: 38.88 kB / 405.3 MB, free: 37.36 MB / 318.1 MB Notification: Performance of Cleanup: time 4.228e-05/0.01289, allocations: 38.14 kB / 405.3 MB, free: 37.33 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009456/0.01384, allocations: 0.9178 MB / 406.2 MB, free: 36.91 MB / 318.1 MB Notification: Performance of Tearing: time 9.859e-06/0.01385, allocations: 4 kB / 406.2 MB, free: 36.91 MB / 318.1 MB Notification: Performance of Initialization: time 1.162e-06/0.01386, allocations: 0.9688 kB / 406.2 MB, free: 36.91 MB / 318.1 MB Notification: Performance of Tearing: time 5.51e-06/0.01387, allocations: 5 kB / 406.2 MB, free: 36.91 MB / 318.1 MB Notification: Performance of Categorize: time 1.133e-05/0.01388, allocations: 2.188 kB / 406.2 MB, free: 36.91 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)