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.001266/0.001266, allocations: 102.3 kB / 18.4 MB, free: 4.762 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.00151/0.001511, allocations: 188.3 kB / 19.34 MB, free: 3.84 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.395/1.395, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.569e-05, allocations: 7.203 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00606/0.006094, allocations: 5.194 MB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.009151, allocations: 1.364 MB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008558/0.01003, allocations: 12 kB / 335.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007428/0.01078, allocations: 170.5 kB / 335.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.01214, allocations: 349.1 kB / 336.2 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.01299, allocations: 235.6 kB / 336.5 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.0152, allocations: 1.402 MB / 337.9 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.0158, allocations: 330.2 kB / 338.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.01665, allocations: 490.2 kB / 338.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.01729, allocations: 0.5407 MB / 339.2 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.01744, allocations: 99.94 kB / 339.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.01768, allocations: 123.9 kB / 339.4 MB, free: 9.027 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001158/0.01885, allocations: 1.689 MB / 341.1 MB, free: 7.32 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006336/0.01949, allocations: 1.028 MB / 342.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.01971, allocations: 171.6 kB / 342.3 MB, free: 6.109 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001579/0.01987, allocations: 27.88 kB / 342.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.004882/0.02476, allocations: 5.573 MB / 347.9 MB, free: 332 kB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0005031/0.02527, allocations: 446.2 kB / 348.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001932/0.02721, allocations: 1.975 MB / 350.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002254/0.02745, allocations: 203.7 kB / 350.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Alias: time 0.003981/0.03144, allocations: 3.37 MB / 353.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simplify2: time 0.000179/0.03163, allocations: 151.8 kB / 354 MB, free: 9.785 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006715/0.03232, allocations: 0.6814 MB / 354.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of Events: time 0.0007316/0.03306, allocations: 0.6324 MB / 355.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009848/0.03405, allocations: 0.981 MB / 356.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of Causalize: time 0.003466/0.03753, allocations: 3.235 MB / 359.6 MB, free: 3.742 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.002013/0.03956, allocations: 2.091 MB / 361.7 MB, free: 1.621 MB / 302.1 MB Notification: Performance of Inline: time 0.003488/0.04305, allocations: 3.475 MB / 365.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002494/0.04332, allocations: 211.6 kB / 365.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of Cleanup: time 0.00018/0.04351, allocations: 167.7 kB / 365.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of Causalize: time 0.01258/0.0561, allocations: 10.43 MB / 375.9 MB, free: 3.145 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!