Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 110.2 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 211.9 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/1.943e-05, allocations: 2.281 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005401/0.005429, allocations: 5.207 MB / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.008272, allocations: 1.363 MB / 365.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006566/0.008943, allocations: 8 kB / 365.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.009516, allocations: 166.5 kB / 366.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.0106, allocations: 341.1 kB / 366.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.01133, allocations: 239.6 kB / 366.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.01328, allocations: 1.39 MB / 368 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.01391, allocations: 338.2 kB / 368.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.01478, allocations: 490.1 kB / 368.8 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/0.01554, allocations: 0.5446 MB / 369.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.01575, allocations: 100 kB / 369.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.01611, allocations: 116 kB / 369.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001716/0.01783, allocations: 1.708 MB / 371.3 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.15/0.1679, allocations: 1.012 MB / 372.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006097/0.1685, allocations: 170.2 kB / 372.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002541/0.1688, allocations: 27.59 kB / 372.5 MB, free: 12.73 MB / 302.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.004125/0.1729, allocations: 5.566 MB / 378.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003962/0.1733, allocations: 453.7 kB / 378.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001544/0.1749, allocations: 1.966 MB / 380.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002084/0.1751, allocations: 199.4 kB / 380.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Alias: time 0.003241/0.1783, allocations: 3.382 MB / 384.1 MB, free: 8 MB / 302.1 MB Notification: Performance of simplify2: time 0.000156/0.1785, allocations: 154.4 kB / 384.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Events: time 0.0006416/0.1792, allocations: 0.7108 MB / 384.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006688/0.1798, allocations: 0.7618 MB / 385.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007453/0.1806, allocations: 0.9791 MB / 386.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of Causalize: time 0.003037/0.1836, allocations: 3.23 MB / 389.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001676/0.1853, allocations: 2.097 MB / 392 MB, free: 3.461 MB / 302.1 MB Notification: Performance of Inline: time 0.002928/0.1883, allocations: 3.474 MB / 395.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001977/0.1885, allocations: 210.4 kB / 395.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001271/0.1886, allocations: 164.3 kB / 395.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of Causalize: time 0.01032/0.1989, allocations: 10.43 MB / 406.3 MB, free: 9.98 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!