Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 115.1 kB / 17.1 MB, free: 5.98 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.001474/0.001474, allocations: 196.3 kB / 18.03 MB, free: 5.059 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.929/1.929, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2817/0.2817, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.685e-05, allocations: 2.281 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01907/0.01911, allocations: 17.04 MB / 459.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.02649, allocations: 4.4 MB / 463.9 MB, free: 188 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.02727, allocations: 15.88 kB / 463.9 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.02839, allocations: 294 kB / 464.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.03065, allocations: 0.742 MB / 464.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.03383, allocations: 0.9785 MB / 465.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002433/0.03628, allocations: 1.578 MB / 467.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.03703, allocations: 447.1 kB / 467.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.03824, allocations: 0.6112 MB / 468.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.03893, allocations: 446.1 kB / 468.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.94e-05/0.03903, allocations: 48 kB / 469 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.04068, allocations: 0.632 MB / 469.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001059/0.04176, allocations: 1.141 MB / 470.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000664/0.04243, allocations: 0.7399 MB / 471.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.0427, allocations: 119.7 kB / 471.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001853/0.04289, allocations: 23.88 kB / 471.6 MB, free: 8.371 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (107) * Number of variables: 117 (114) Notification: Performance of Bindings: time 0.003479/0.04638, allocations: 3.034 MB / 474.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001518/0.04654, allocations: 107.8 kB / 474.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Early Inline: time 0.002695/0.04925, allocations: 2.197 MB / 477 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simplify1: time 0.000205/0.04947, allocations: 159.8 kB / 477.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Alias: time 0.003539/0.05301, allocations: 2.525 MB / 479.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplify2: time 0.000215/0.05324, allocations: 147.8 kB / 479.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Events: time 0.0007673/0.05402, allocations: 474.4 kB / 480.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005798/0.05461, allocations: 472.6 kB / 480.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0008912/0.05551, allocations: 0.7019 MB / 481.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Causalize: time 0.003092/0.05861, allocations: 2.403 MB / 483.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.001809/0.06044, allocations: 1.527 MB / 485.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of Inline: time 0.003742/0.06419, allocations: 3.085 MB / 488.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001724/0.06438, allocations: 135.6 kB / 488.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0003948/0.06478, allocations: 331.4 kB / 488.9 MB, free: 6.246 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) p_table.nextEventScaled = $START.p_table.nextEventScaled ($RES_SRT_170) slice: {}; Notification: Performance of Causalize: time 0.01585/0.08064, allocations: 11.74 MB / 0.4889 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Tearing: time 0.001002/0.08168, allocations: 0.5531 MB / 0.4895 GB, free: 9.652 MB / 382.1 MB Notification: Performance of Initialization: time 1.272e-06/0.0817, allocations: 0 / 0.4895 GB, free: 9.652 MB / 382.1 MB Notification: Performance of Tearing: time 0.0005969/0.0823, allocations: 0.5415 MB / 0.49 GB, free: 9.062 MB / 382.1 MB Notification: Performance of Categorize: time 6.685e-05/0.08238, allocations: 7.938 kB / 0.49 GB, free: 9.055 MB / 382.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min 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 expansion1.V_flow = (995.586 * expansion1.V_flow) / Modelica.Fluid.Utilities.regStep(995.586 * expansion1.V_flow, ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.expansion1.Medium.density(expansion1.state_a), ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.expansion1.Medium.density(expansion1.state_b), expansion1.m_flow_small) ### Equation: [SCAL] (1) 995.586 * expansion1.V_flow = homotopy(smooth(2, if $SEV_7 then (if $SEV_8 then sqrt((1228.2549959078688 * expansion1.diameter * expansion1.diameter * expansion1.diameter * expansion1.diameter) / expansion1.zeta) else 0.0) * sqrt(expansion1.dp_fg) else if $SEV_9 then -(if $SEV_8 then sqrt((1228.2549959078688 * expansion1.diameter * expansion1.diameter * expansion1.diameter * expansion1.diameter) / expansion1.zeta) else 0.0) * sqrt(abs(expansion1.dp_fg)) else if $SEV_10 then Modelica.Fluid.Utilities.regRoot2.regRoot2_utility(expansion1.dp_fg, expansion1.dp_small, (1228.2549959078688 * expansion1.diameter * expansion1.diameter * expansion1.diameter * expansion1.diameter) / expansion1.zeta, (1228.2549959078688 * expansion1.diameter * expansion1.diameter * expansion1.diameter * expansion1.diameter) / expansion1.zeta, false, 1.0) else -Modelica.Fluid.Utilities.regRoot2.regRoot2_utility(-expansion1.dp_fg, expansion1.dp_small, (1228.2549959078688 * expansion1.diameter * expansion1.diameter * expansion1.diameter * expansion1.diameter) / expansion1.zeta, (1228.2549959078688 * expansion1.diameter * expansion1.diameter * expansion1.diameter * expansion1.diameter) / expansion1.zeta, false, 1.0)), (expansion1.dp_fg * expansion1.m_flow_nominal) / expansion1.dp_nominal) ($RES_SIM_24)