Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 112.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 191.1 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 252.3 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.91 MB / 352.4 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.861e-05, allocations: 2.281 kB / 495.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002292/0.002311, allocations: 1.463 MB / 497.4 MB, free: 480 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.004211, allocations: 1.425 MB / 498.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.004249, allocations: 3.938 kB / 498.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.004413, allocations: 39.77 kB / 498.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.004602, allocations: 47.64 kB / 498.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.005031, allocations: 223.1 kB / 499.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.005153, allocations: 59.77 kB / 499.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.005189, allocations: 4 kB / 499.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.005251, allocations: 35.78 kB / 499.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.005307, allocations: 23.86 kB / 499.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.005319, allocations: 4 kB / 499.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.005795, allocations: 327.6 kB / 499.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0001064/0.005901, allocations: 106.7 kB / 499.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.54e-05/0.005947, allocations: 70.92 kB / 499.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.005964, allocations: 11.94 kB / 499.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.947e-06/0.005973, allocations: 0 / 499.8 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0005092/0.006482, allocations: 447 kB / 0.4885 GB, free: 13.54 MB / 366.1 MB Notification: Performance of FunctionAlias: time 7.013e-05/0.006552, allocations: 25.48 kB / 0.4885 GB, free: 13.52 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0005545/0.007107, allocations: 0.5779 MB / 0.4891 GB, free: 12.91 MB / 366.1 MB Notification: Performance of Simplify 1: time 8.494e-05/0.007192, allocations: 92.3 kB / 0.4891 GB, free: 12.8 MB / 366.1 MB Notification: Performance of Alias: time 0.0005695/0.007761, allocations: 365.7 kB / 0.4895 GB, free: 12.36 MB / 366.1 MB Notification: Performance of Simplify 2: time 8.501e-05/0.007846, allocations: 96.38 kB / 0.4896 GB, free: 12.24 MB / 366.1 MB Notification: Performance of Remove Stream: time 6.323e-05/0.007909, allocations: 72.38 kB / 0.4897 GB, free: 12.14 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003368/0.008246, allocations: 154.9 kB / 0.4898 GB, free: 11.95 MB / 366.1 MB Notification: Performance of Events: time 0.0003946/0.008641, allocations: 353.7 kB / 0.4901 GB, free: 11.61 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001885/0.008829, allocations: 180.1 kB / 0.4903 GB, free: 11.41 MB / 366.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) Real der_m_flow1 (1|1) Unmatched Equations *************************** [SCAL] (1) m_flow1 = smooth(2, if $SEV_0 then (if $SEV_1 then sqrt((1.2337005501361697 * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (0.1 + time)) / data.zeta1) else 0.0) * sqrt((-1.0) + time) else if $SEV_2 then -(if $SEV_3 then sqrt((1.2337005501361697 * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (0.2 + 0.5 * time)) / data.zeta2) else 0.0) * sqrt(abs((-1.0) + time)) else if $SEV_4 then Modelica.Fluid.Utilities.regRoot2.regRoot2_utility((-1.0) + time, dp_small, (1.2337005501361697 * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (0.1 + time)) / data.zeta1, (1.2337005501361697 * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (0.2 + 0.5 * time)) / data.zeta2, false, 1.0) else -Modelica.Fluid.Utilities.regRoot2.regRoot2_utility(-((-1.0) + time), dp_small, (1.2337005501361697 * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (0.2 + 0.5 * time)) / data.zeta2, (1.2337005501361697 * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (0.1 + time)) / data.zeta1, false, 1.0)) ($RES_SIM_2) " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.382429360412061]