Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001238/0.001238, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001289/0.001289, allocations: 189 kB / 17.36 MB, free: 5.566 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.176e-05, allocations: 3.547 kB / 327.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005345/0.005377, allocations: 4.93 MB / 332.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.007815, allocations: 1.329 MB / 333.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.008378, allocations: 11.94 kB / 333.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.008896, allocations: 162.5 kB / 333.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008343/0.009763, allocations: 313.3 kB / 333.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.01027, allocations: 227.6 kB / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.01171, allocations: 1.324 MB / 335.5 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.01218, allocations: 318.2 kB / 335.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006477/0.01284, allocations: 462.3 kB / 336.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.0133, allocations: 0.5057 MB / 336.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01342, allocations: 92 kB / 336.8 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.0136, allocations: 112 kB / 336.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001065/0.01468, allocations: 1.596 MB / 338.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005179/0.0152, allocations: 0.9664 MB / 339.5 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.01536, allocations: 159.6 kB / 339.7 MB, free: 6.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.131e-05/0.01543, allocations: 19.94 kB / 339.7 MB, free: 6.762 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.004129/0.01957, allocations: 5.305 MB / 345 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004335/0.02001, allocations: 461.5 kB / 345.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0016/0.02162, allocations: 1.842 MB / 347.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simplify1: time 0.000175/0.0218, allocations: 195.8 kB / 347.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of Alias: time 0.002968/0.02478, allocations: 2.935 MB / 350.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001357/0.02493, allocations: 151.8 kB / 350.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Events: time 0.0006934/0.02563, allocations: 0.66 MB / 351.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006511/0.02629, allocations: 0.6981 MB / 351.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008625/0.02716, allocations: 0.9525 MB / 352.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of Causalize: time 0.003907/0.03108, allocations: 4.372 MB / 357.2 MB, free: 4.223 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001796/0.03289, allocations: 1.95 MB / 359.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of Inline: time 0.003202/0.0361, allocations: 3.271 MB / 362.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002221/0.03633, allocations: 199.6 kB / 362.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001432/0.03648, allocations: 151.7 kB / 362.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of Causalize: time 0.01015/0.04664, allocations: 11.61 MB / 374.4 MB, free: 3.559 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!