Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001119/0.001119, allocations: 112.9 kB / 17.75 MB, free: 5.348 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.001095/0.001095, allocations: 184.7 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.128e-05, allocations: 2.281 kB / 351.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004498/0.004518, allocations: 4.929 MB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.006139, allocations: 1.289 MB / 358.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.00634, allocations: 11.94 kB / 358.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.006672, allocations: 162.5 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.007148, allocations: 313.3 kB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.007496, allocations: 223.6 kB / 358.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.00858, allocations: 1.335 MB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.008953, allocations: 318.2 kB / 360.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.009311, allocations: 462.3 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/0.009768, allocations: 0.5096 MB / 361.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.009877, allocations: 88 kB / 361.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.01006, allocations: 112 kB / 361.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009796/0.01105, allocations: 1.6 MB / 363.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004725/0.01153, allocations: 0.9664 MB / 364.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.01167, allocations: 159.6 kB / 364.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.42e-05/0.01174, allocations: 23.88 kB / 364.4 MB, free: 6.77 MB / 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.003801/0.01554, allocations: 5.309 MB / 369.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003709/0.01592, allocations: 433.6 kB / 370.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of Early Inline: time 0.1359/0.1518, allocations: 1.849 MB / 372 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002511/0.1521, allocations: 189.5 kB / 372.2 MB, free: 17.01 MB / 302.1 MB Notification: Performance of Alias: time 0.003869/0.1559, allocations: 3.245 MB / 375.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001375/0.1561, allocations: 143.4 kB / 375.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Events: time 0.0005977/0.1567, allocations: 0.6636 MB / 376.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006655/0.1574, allocations: 0.7054 MB / 376.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006889/0.1581, allocations: 0.9507 MB / 377.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Causalize: time 0.003114/0.1612, allocations: 3.103 MB / 381 MB, free: 13.39 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001738/0.1629, allocations: 1.952 MB / 382.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Inline: time 0.003384/0.1663, allocations: 3.263 MB / 386.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002273/0.1666, allocations: 202.9 kB / 386.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001931/0.1668, allocations: 161 kB / 386.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Causalize: time 0.00947/0.1763, allocations: 9.93 MB / 396.5 MB, free: 5.875 MB / 302.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!