Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009072/0.0009072, allocations: 113 kB / 17.75 MB, free: 5.309 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.0008543/0.0008543, allocations: 184.7 kB / 18.68 MB, free: 4.387 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.272/1.272, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.052e-05, allocations: 2.281 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005716/0.005745, allocations: 4.94 MB / 333.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.008292, allocations: 1.317 MB / 334.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.008694, allocations: 11.94 kB / 334.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.009106, allocations: 166.5 kB / 334.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.009652, allocations: 321.3 kB / 335.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.01003, allocations: 223.6 kB / 335.5 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.01117, allocations: 1.324 MB / 336.8 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.01161, allocations: 318.2 kB / 337.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.01204, allocations: 454.3 kB / 337.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00051/0.01256, allocations: 0.5135 MB / 338.1 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.01267, allocations: 88 kB / 338.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.01287, allocations: 112 kB / 338.3 MB, free: 9.531 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001045/0.01392, allocations: 1.604 MB / 339.9 MB, free: 7.91 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006326/0.01456, allocations: 0.9625 MB / 340.8 MB, free: 6.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.01472, allocations: 159.6 kB / 341 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.67e-05/0.01479, allocations: 27.86 kB / 341 MB, free: 6.75 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.004391/0.01919, allocations: 5.305 MB / 346.3 MB, free: 1.258 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004151/0.01961, allocations: 457.5 kB / 346.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001648/0.02127, allocations: 1.842 MB / 348.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001863/0.02147, allocations: 191.8 kB / 348.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of Alias: time 0.003057/0.02453, allocations: 2.931 MB / 351.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001361/0.02468, allocations: 143.8 kB / 351.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Events: time 0.0006758/0.02537, allocations: 0.6716 MB / 352.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006456/0.02602, allocations: 0.702 MB / 353.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008325/0.02687, allocations: 0.9447 MB / 354.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of Causalize: time 0.003883/0.03076, allocations: 4.38 MB / 358.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001698/0.03247, allocations: 1.946 MB / 360.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of Inline: time 0.003057/0.03554, allocations: 3.263 MB / 363.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002112/0.03576, allocations: 203.6 kB / 364 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001323/0.0359, allocations: 151.7 kB / 364.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of Causalize: time 0.009481/0.04538, allocations: 11.61 MB / 375.7 MB, free: 3.555 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!