Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001205, allocations: 109.5 kB / 17.75 MB, free: 5.328 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.00115/0.00115, allocations: 192.2 kB / 18.68 MB, free: 4.406 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.291/1.291, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.434e-05, allocations: 3.266 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005185/0.005209, allocations: 5.19 MB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.007052, allocations: 1.371 MB / 335.1 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.007277, allocations: 12 kB / 335.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.007627, allocations: 166.5 kB / 335.2 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.00812, allocations: 341.1 kB / 335.6 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.008497, allocations: 235.6 kB / 335.8 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.009626, allocations: 1.394 MB / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.01005, allocations: 338.2 kB / 337.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.01046, allocations: 482.2 kB / 338 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.01093, allocations: 0.5446 MB / 338.5 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.01106, allocations: 96 kB / 338.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.01126, allocations: 123.9 kB / 338.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001151/0.01242, allocations: 1.693 MB / 340.4 MB, free: 7.309 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005501/0.01297, allocations: 1.032 MB / 341.5 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.01312, allocations: 163.6 kB / 341.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.59e-05/0.01318, allocations: 27.88 kB / 341.7 MB, free: 6.074 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 (149) * Number of variables: 149 (149) Notification: Performance of Bindings: time 0.00421/0.0174, allocations: 5.562 MB / 347.2 MB, free: 336 kB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000439/0.01784, allocations: 474 kB / 347.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001707/0.01956, allocations: 1.959 MB / 349.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001876/0.01976, allocations: 203.7 kB / 349.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Alias: time 0.003152/0.02291, allocations: 3.061 MB / 352.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001395/0.02308, allocations: 159.7 kB / 353.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Events: time 0.0007407/0.02382, allocations: 0.7193 MB / 353.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of Detect States: time 0.000805/0.02464, allocations: 0.7527 MB / 354.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009198/0.02557, allocations: 0.9849 MB / 355.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of Causalize: time 0.004064/0.02964, allocations: 4.611 MB / 360.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001869/0.03152, allocations: 2.095 MB / 362.2 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of Inline: time 0.003288/0.03482, allocations: 3.463 MB / 365.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002234/0.03506, allocations: 211.6 kB / 365.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of Cleanup: time 0.000159/0.03522, allocations: 175.7 kB / 366.1 MB, free: 12.58 MB / 318.1 MB Notification: Performance of Causalize: time 0.01064/0.04587, allocations: 12.29 MB / 378.4 MB, free: 0.9648 MB / 318.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_13 then [----] [SCAL] (1) pipe1.pressureDrop = (pipe1.dpLaminar / pipe1.V_flowLaminar) * pipe1.volumeFlow + pipe1.k * (pipe1.volumeFlow - pipe1.V_flowLaminar) ^ 2.0 ($RES_SIM_85) [----] elseif $SEV_14 then [----] [SCAL] (1) pipe1.pressureDrop = (pipe1.dpLaminar / pipe1.V_flowLaminar) * pipe1.volumeFlow - pipe1.k * (pipe1.volumeFlow + pipe1.V_flowLaminar) ^ 2.0 ($RES_SIM_86) [----] else [----] [SCAL] (1) pipe1.pressureDrop = (pipe1.dpLaminar / pipe1.V_flowLaminar) * pipe1.volumeFlow ($RES_SIM_87) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!