Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 108 kB / 18.41 MB, free: 4.664 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.001307/0.001308, allocations: 194.6 kB / 19.35 MB, free: 3.742 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.519/1.519, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.23e-05, allocations: 3.125 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006246/0.006279, allocations: 4.938 MB / 334.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.008834, allocations: 1.329 MB / 335.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.009099, allocations: 11.94 kB / 335.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.009518, allocations: 158.6 kB / 335.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005506/0.01008, allocations: 321.2 kB / 335.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.01048, allocations: 227.6 kB / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.01173, allocations: 1.32 MB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.01221, allocations: 322.2 kB / 337.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/0.01265, allocations: 458.3 kB / 338.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.01323, allocations: 0.5096 MB / 338.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.01335, allocations: 92 kB / 338.8 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.01356, allocations: 112 kB / 338.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001152/0.01472, allocations: 1.592 MB / 340.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005675/0.01529, allocations: 0.9703 MB / 341.5 MB, free: 6.945 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.01546, allocations: 159.6 kB / 341.6 MB, free: 6.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.388e-05/0.01554, allocations: 19.94 kB / 341.7 MB, free: 6.77 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: 144 (144) * Number of variables: 144 (144) Notification: Performance of Bindings: time 0.004743/0.02029, allocations: 5.313 MB / 347 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000473/0.02077, allocations: 433.5 kB / 347.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001864/0.02264, allocations: 1.858 MB / 349.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001978/0.02285, allocations: 187.8 kB / 349.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Alias: time 0.003856/0.02671, allocations: 3.232 MB / 352.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001586/0.02689, allocations: 147.8 kB / 352.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of Events: time 0.0007189/0.02761, allocations: 0.6677 MB / 353.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007156/0.02834, allocations: 0.7059 MB / 354.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009689/0.02932, allocations: 0.9563 MB / 355.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of Causalize: time 0.003495/0.03282, allocations: 3.091 MB / 358.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001945/0.03479, allocations: 1.962 MB / 360.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of Inline: time 0.003438/0.03825, allocations: 3.244 MB / 363.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002433/0.03851, allocations: 215.6 kB / 363.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001536/0.03867, allocations: 151.7 kB / 363.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of Causalize: time 0.01194/0.05062, allocations: 9.939 MB / 373.7 MB, free: 5.363 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!