Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001117/0.001117, allocations: 111.3 kB / 18.47 MB, free: 4.703 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.001358/0.001358, allocations: 193.3 kB / 19.4 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.66e-05, allocations: 2.281 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01765/0.01769, allocations: 17.05 MB / 488.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007293/0.02502, allocations: 4.397 MB / 492.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.02585, allocations: 19.88 kB / 492.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.02687, allocations: 293.9 kB / 492.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.02875, allocations: 0.742 MB / 493.6 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.03236, allocations: 1 MB / 494.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.03473, allocations: 1.558 MB / 496.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.03549, allocations: 455.1 kB / 496.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.03653, allocations: 0.6189 MB / 497.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.03713, allocations: 434.2 kB / 497.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.991e-05/0.03722, allocations: 48 kB / 497.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.03867, allocations: 0.6397 MB / 498.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0009311/0.03962, allocations: 1.148 MB / 499.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005038/0.04013, allocations: 0.7354 MB / 0.4885 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.04031, allocations: 119.6 kB / 0.4887 GB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001993/0.04052, allocations: 31.88 kB / 0.4887 GB, free: 15.84 MB / 382.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.003017/0.04354, allocations: 3.049 MB / 0.4917 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.000125/0.04368, allocations: 107.9 kB / 0.4918 GB, free: 12.57 MB / 382.1 MB Notification: Performance of Early Inline: time 0.002281/0.04597, allocations: 2.181 MB / 0.4939 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001679/0.04615, allocations: 159.8 kB / 0.494 GB, free: 10.2 MB / 382.1 MB Notification: Performance of Alias: time 0.003088/0.04924, allocations: 2.53 MB / 0.4965 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simplify2: time 0.0001526/0.04941, allocations: 151.8 kB / 0.4967 GB, free: 7.246 MB / 382.1 MB Notification: Performance of Events: time 0.0006574/0.05007, allocations: 471.2 kB / 0.4971 GB, free: 6.797 MB / 382.1 MB Notification: Performance of Detect States: time 0.0007404/0.05082, allocations: 468.7 kB / 0.4976 GB, free: 6.32 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0007444/0.05158, allocations: 0.6941 MB / 0.4982 GB, free: 5.473 MB / 382.1 MB Notification: Performance of Causalize: time 0.002812/0.0544, allocations: 2.41 MB / 0.5006 GB, free: 2.906 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001578/0.056, allocations: 1.536 MB / 0.5021 GB, free: 1.34 MB / 382.1 MB Notification: Performance of Inline: time 0.3021/0.3581, allocations: 3.074 MB / 0.5051 GB, free: 25.54 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0002941/0.3584, allocations: 133.3 kB / 0.5052 GB, free: 25.5 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0003866/0.3588, allocations: 327.3 kB / 0.5055 GB, free: 25.48 MB / 382.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.01787/0.3767, allocations: 11.74 MB / 0.517 GB, free: 22.94 MB / 382.1 MB Notification: Performance of Tearing: time 0.0009464/0.3777, allocations: 0.546 MB / 0.5175 GB, free: 22.7 MB / 382.1 MB Notification: Performance of Initialization: time 2.144e-06/0.3777, allocations: 0 / 0.5175 GB, free: 22.7 MB / 382.1 MB Notification: Performance of Tearing: time 0.0006583/0.3784, allocations: 0.5547 MB / 0.5181 GB, free: 22.45 MB / 382.1 MB Notification: Performance of Categorize: time 6.065e-05/0.3784, allocations: 6.797 kB / 0.5181 GB, free: 22.45 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)