Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 115.2 kB / 18.47 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 208.9 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.146/1.146, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.173/0.173, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.507e-05, allocations: 2.281 kB / 481.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01406/0.01408, allocations: 17.15 MB / 499.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004616/0.01872, allocations: 4.408 MB / 0.4917 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.01894, allocations: 15.88 kB / 0.4917 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005725/0.01952, allocations: 286 kB / 0.492 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.02063, allocations: 0.7421 MB / 0.4927 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.02239, allocations: 0.9987 MB / 0.4937 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.02365, allocations: 1.551 MB / 0.4952 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004891/0.02414, allocations: 467.1 kB / 0.4956 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006489/0.0248, allocations: 0.6112 MB / 0.4962 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.02527, allocations: 450.1 kB / 0.4967 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.338e-05/0.02537, allocations: 52 kB / 0.4967 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.02623, allocations: 0.6319 MB / 0.4973 GB, free: 8.727 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0007245/0.02696, allocations: 1.156 MB / 0.4984 GB, free: 7.559 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003809/0.02735, allocations: 0.7242 MB / 0.4992 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.02747, allocations: 123.6 kB / 0.4993 GB, free: 6.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.882e-05/0.02754, allocations: 27.94 kB / 0.4993 GB, free: 6.68 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.002384/0.02993, allocations: 3.046 MB / 0.5023 GB, free: 3.508 MB / 382.1 MB Notification: Performance of FunctionAlias: time 8.646e-05/0.03002, allocations: 107.8 kB / 0.5024 GB, free: 3.402 MB / 382.1 MB Notification: Performance of Early Inline: time 0.00187/0.0319, allocations: 2.189 MB / 0.5045 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001449/0.03205, allocations: 163.8 kB / 0.5047 GB, free: 1.023 MB / 382.1 MB Notification: Performance of Alias: time 0.153/0.185, allocations: 2.519 MB / 0.5071 GB, free: 18.64 MB / 382.1 MB Notification: Performance of simplify2: time 0.0002379/0.1853, allocations: 145.5 kB / 0.5073 GB, free: 18.64 MB / 382.1 MB Notification: Performance of Events: time 0.0005891/0.1859, allocations: 461.8 kB / 0.5077 GB, free: 18.61 MB / 382.1 MB Notification: Performance of Detect States: time 0.000486/0.1864, allocations: 482.8 kB / 0.5082 GB, free: 18.56 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0006321/0.187, allocations: 0.6934 MB / 0.5088 GB, free: 18.21 MB / 382.1 MB Notification: Performance of Causalize: time 0.002345/0.1894, allocations: 2.417 MB / 0.5112 GB, free: 17.48 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.001325/0.1907, allocations: 1.518 MB / 0.5127 GB, free: 17.35 MB / 382.1 MB Notification: Performance of Inline: time 0.00288/0.1936, allocations: 3.101 MB / 0.5157 GB, free: 17.02 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001153/0.1937, allocations: 126.6 kB / 0.5158 GB, free: 16.98 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0002681/0.194, allocations: 329.8 kB / 0.5162 GB, free: 16.95 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.01093/0.2049, allocations: 11.75 MB / 0.5276 GB, free: 13.38 MB / 382.1 MB Notification: Performance of Tearing: time 0.0004942/0.2054, allocations: 0.5415 MB / 0.5282 GB, free: 13.07 MB / 382.1 MB Notification: Performance of Initialization: time 7.01e-07/0.2054, allocations: 0 / 0.5282 GB, free: 13.07 MB / 382.1 MB Notification: Performance of Tearing: time 0.0003604/0.2058, allocations: 0.5492 MB / 0.5287 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Categorize: time 2.587e-05/0.2058, allocations: 8.609 kB / 0.5287 GB, free: 12.74 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)