Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.00119/0.00119, allocations: 107.6 kB / 16.42 MB, free: 6.5 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.001125/0.001125, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.22/1.22, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.809e-05, allocations: 2.281 kB / 327.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005148/0.005174, allocations: 4.938 MB / 332.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.00712, allocations: 1.325 MB / 333.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.007371, allocations: 11.94 kB / 333.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.007755, allocations: 162.6 kB / 333.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.008253, allocations: 321.2 kB / 333.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.008657, allocations: 223.6 kB / 334.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.009775, allocations: 1.316 MB / 335.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.0102, allocations: 330.2 kB / 335.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.01061, allocations: 450.3 kB / 336.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.0111, allocations: 0.5096 MB / 336.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.01122, allocations: 92 kB / 336.8 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.01144, allocations: 116 kB / 336.9 MB, free: 9.543 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001181/0.01262, allocations: 1.596 MB / 338.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006107/0.01324, allocations: 0.9664 MB / 339.5 MB, free: 6.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.01341, allocations: 155.6 kB / 339.6 MB, free: 6.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.408e-05/0.01347, allocations: 23.88 kB / 339.7 MB, free: 6.773 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.00433/0.0178, allocations: 5.305 MB / 345 MB, free: 1.281 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004111/0.01822, allocations: 465.4 kB / 345.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001581/0.01981, allocations: 1.838 MB / 347.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simplify1: time 0.000154/0.01997, allocations: 191.7 kB / 347.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Alias: time 0.002863/0.02284, allocations: 2.935 MB / 350.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplify2: time 0.000123/0.02298, allocations: 147.8 kB / 350.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Events: time 0.0006673/0.02365, allocations: 0.6677 MB / 351.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008511/0.02451, allocations: 0.6981 MB / 351.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008509/0.02537, allocations: 0.9563 MB / 352.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of Causalize: time 0.003923/0.0293, allocations: 4.365 MB / 357.2 MB, free: 4.234 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001877/0.03119, allocations: 1.954 MB / 359.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of Inline: time 0.003197/0.0344, allocations: 3.271 MB / 362.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002096/0.03462, allocations: 203.6 kB / 362.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001347/0.03476, allocations: 155.7 kB / 362.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of Causalize: time 0.01014/0.04491, allocations: 11.6 MB / 374.4 MB, free: 3.574 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_83) [----] 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_84) [----] else [----] [SCAL] (1) pipe1.pressureDrop = (pipe1.dpLaminar / pipe1.V_flowLaminar) * pipe1.volumeFlow ($RES_SIM_85) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!