Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001128/0.001128, allocations: 108.9 kB / 16.42 MB, free: 6.418 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.001119/0.001119, allocations: 191.3 kB / 17.36 MB, free: 5.684 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.256/1.256, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.82e-05, allocations: 10.16 kB / 327.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005471/0.005507, allocations: 5.188 MB / 332.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.007512, allocations: 1.371 MB / 333.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.007737, allocations: 11.94 kB / 333.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.008093, allocations: 162.5 kB / 333.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.00859, allocations: 333.1 kB / 334.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.008981, allocations: 243.6 kB / 334.5 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.01008, allocations: 1.394 MB / 335.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.01048, allocations: 346.1 kB / 336.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.01087, allocations: 486.2 kB / 336.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.01134, allocations: 0.5407 MB / 337.2 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.01146, allocations: 99.94 kB / 337.3 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.01164, allocations: 124 kB / 337.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001048/0.0127, allocations: 1.689 MB / 339.1 MB, free: 7.301 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005062/0.01321, allocations: 1.024 MB / 340.2 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.01336, allocations: 167.6 kB / 340.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.21e-05/0.01342, allocations: 27.88 kB / 340.3 MB, free: 6.07 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.004014/0.01744, allocations: 5.569 MB / 345.9 MB, free: 324 kB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004364/0.01788, allocations: 470 kB / 346.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001758/0.01965, allocations: 1.955 MB / 348.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001874/0.01984, allocations: 199.7 kB / 348.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Alias: time 0.003068/0.02292, allocations: 3.064 MB / 351.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001375/0.02307, allocations: 155.8 kB / 351.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Events: time 0.0007197/0.02379, allocations: 0.7271 MB / 352.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006607/0.02446, allocations: 0.745 MB / 353.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008443/0.02532, allocations: 0.9888 MB / 354.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of Causalize: time 0.00404/0.02936, allocations: 4.611 MB / 358.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001977/0.03136, allocations: 2.09 MB / 360.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of Inline: time 0.003715/0.03509, allocations: 3.471 MB / 364.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002677/0.03537, allocations: 215.6 kB / 364.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001509/0.03553, allocations: 163.7 kB / 364.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of Causalize: time 0.01014/0.04567, allocations: 12.29 MB / 377 MB, free: 0.9609 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!