Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 114.7 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.001201, allocations: 212 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.228/1.228, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.777e-05, allocations: 8.75 kB / 359.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004777/0.004803, allocations: 4.953 MB / 364.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.00655, allocations: 1.312 MB / 365.6 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.006761, allocations: 11.94 kB / 365.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.007097, allocations: 166.5 kB / 365.8 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.007593, allocations: 313.3 kB / 366.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.007936, allocations: 227.6 kB / 366.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.008996, allocations: 1.32 MB / 367.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.00938, allocations: 322.2 kB / 367.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.009746, allocations: 466.2 kB / 368.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.01017, allocations: 0.5096 MB / 368.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.0103, allocations: 92 kB / 369 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.0105, allocations: 112 kB / 369.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001067/0.01157, allocations: 1.604 MB / 370.7 MB, free: 1.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004896/0.01207, allocations: 0.9548 MB / 371.7 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.01221, allocations: 163.6 kB / 371.8 MB, free: 452 kB / 302.1 MB Notification: Performance of FrontEnd: time 7.26e-05/0.01228, allocations: 31.86 kB / 371.8 MB, free: 420 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 (144) * Number of variables: 144 (144) Notification: Performance of Bindings: time 0.1457/0.158, allocations: 5.303 MB / 377.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003303/0.1583, allocations: 437.7 kB / 377.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001373/0.1597, allocations: 1.842 MB / 379.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001898/0.1599, allocations: 189.7 kB / 379.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Alias: time 0.002934/0.1628, allocations: 3.257 MB / 382.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001306/0.163, allocations: 141.3 kB / 383 MB, free: 9.195 MB / 302.1 MB Notification: Performance of Events: time 0.0005872/0.1636, allocations: 0.6539 MB / 383.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006038/0.1642, allocations: 0.7043 MB / 384.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000663/0.1648, allocations: 0.9478 MB / 385.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of Causalize: time 0.002845/0.1677, allocations: 3.094 MB / 388.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001536/0.1692, allocations: 1.969 MB / 390.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of Inline: time 0.00274/0.172, allocations: 3.259 MB / 393.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001894/0.1722, allocations: 208.7 kB / 393.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001437/0.1723, allocations: 156.5 kB / 394 MB, free: 2.77 MB / 302.1 MB Notification: Performance of Causalize: time 0.009914/0.1823, allocations: 9.932 MB / 403.9 MB, free: 12.62 MB / 318.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_7 then [----] [SCAL] (1) pipe3.pressureDrop = (pipe3.dpLaminar / pipe3.V_flowLaminar) * pipe3.volumeFlow + pipe3.k * (pipe3.volumeFlow - pipe3.V_flowLaminar) ^ 2.0 ($RES_SIM_44) [----] elseif $SEV_8 then [----] [SCAL] (1) pipe3.pressureDrop = (pipe3.dpLaminar / pipe3.V_flowLaminar) * pipe3.volumeFlow - pipe3.k * (pipe3.volumeFlow + pipe3.V_flowLaminar) ^ 2.0 ($RES_SIM_45) [----] else [----] [SCAL] (1) pipe3.pressureDrop = (pipe3.dpLaminar / pipe3.V_flowLaminar) * pipe3.volumeFlow ($RES_SIM_46) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!