Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.001141/0.001141, allocations: 105.8 kB / 16.42 MB, free: 6.52 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.001145/0.001145, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.134e-05, allocations: 2.281 kB / 327.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005388/0.005417, allocations: 5.193 MB / 332.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.007623, allocations: 1.364 MB / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.007877, allocations: 8 kB / 333.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.008277, allocations: 174.5 kB / 333.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.008793, allocations: 333.1 kB / 334.2 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.009242, allocations: 243.6 kB / 334.5 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.01038, allocations: 1.391 MB / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.0108, allocations: 346.2 kB / 336.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.01121, allocations: 478.3 kB / 336.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.01167, allocations: 0.5407 MB / 337.2 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.01179, allocations: 103.9 kB / 337.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.01199, allocations: 119.9 kB / 337.4 MB, free: 9.027 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001146/0.01314, allocations: 1.693 MB / 339.1 MB, free: 7.316 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005462/0.01369, allocations: 1.024 MB / 340.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.01388, allocations: 171.6 kB / 340.3 MB, free: 6.109 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.221e-05/0.01398, allocations: 27.88 kB / 340.3 MB, free: 6.082 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.004557/0.01854, allocations: 5.566 MB / 345.9 MB, free: 340 kB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004846/0.01904, allocations: 478.1 kB / 346.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001791/0.02084, allocations: 1.955 MB / 348.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002123/0.02106, allocations: 199.7 kB / 348.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Alias: time 0.003292/0.02436, allocations: 3.068 MB / 351.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001505/0.02452, allocations: 151.8 kB / 351.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Events: time 0.0007499/0.02528, allocations: 0.7154 MB / 352.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008539/0.02614, allocations: 0.7488 MB / 353.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009111/0.02706, allocations: 0.9849 MB / 354.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of Causalize: time 0.004202/0.03127, allocations: 4.614 MB / 358.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.002016/0.0333, allocations: 2.091 MB / 360.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of Inline: time 0.003742/0.03705, allocations: 3.483 MB / 364.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002502/0.03732, allocations: 207.6 kB / 364.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001826/0.03751, allocations: 163.7 kB / 364.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of Causalize: time 0.01061/0.04812, allocations: 12.29 MB / 377 MB, free: 0.9766 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!