Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001199/0.001199, allocations: 107.3 kB / 18.41 MB, free: 4.688 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.0012/0.0012, allocations: 193.4 kB / 19.35 MB, free: 3.762 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.603/1.603, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.138e-05, allocations: 2.281 kB / 329.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007573/0.007615, allocations: 5.189 MB / 334.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.01103, allocations: 1.368 MB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.01205, allocations: 8 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007699/0.01284, allocations: 170.5 kB / 335.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.01434, allocations: 333.1 kB / 336.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.01531, allocations: 247.6 kB / 336.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.0177, allocations: 1.398 MB / 337.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.01822, allocations: 334.2 kB / 338.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.01895, allocations: 478.3 kB / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.01952, allocations: 0.5484 MB / 339.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.01965, allocations: 96 kB / 339.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.0199, allocations: 120 kB / 339.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001161/0.02107, allocations: 1.697 MB / 341.1 MB, free: 7.336 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006687/0.02175, allocations: 1.032 MB / 342.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.02198, allocations: 167.6 kB / 342.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001639/0.02215, allocations: 23.88 kB / 342.3 MB, free: 6.102 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.005193/0.02735, allocations: 5.569 MB / 347.9 MB, free: 356 kB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004592/0.02783, allocations: 446.1 kB / 348.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002128/0.02996, allocations: 1.963 MB / 350.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002883/0.03026, allocations: 203.8 kB / 350.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Alias: time 0.004927/0.0352, allocations: 3.393 MB / 353.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002089/0.03542, allocations: 147.8 kB / 354 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Events: time 0.0008503/0.03628, allocations: 0.7232 MB / 354.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008593/0.03715, allocations: 0.7399 MB / 355.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001107/0.03827, allocations: 1.004 MB / 356.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of Causalize: time 0.004276/0.04255, allocations: 3.212 MB / 359.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.002529/0.0451, allocations: 2.103 MB / 361.8 MB, free: 1.473 MB / 302.1 MB Notification: Performance of Inline: time 0.004613/0.04973, allocations: 3.463 MB / 365.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002791/0.05002, allocations: 207.6 kB / 365.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0002781/0.05031, allocations: 167.7 kB / 365.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of Causalize: time 0.01489/0.0652, allocations: 10.44 MB / 376.1 MB, free: 3.008 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!