Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 113.9 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001264, allocations: 218.2 kB / 19.43 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.187e-05, allocations: 2.281 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005712/0.005743, allocations: 4.955 MB / 364.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.008529, allocations: 1.312 MB / 365.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.009305, allocations: 8 kB / 365.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.009982, allocations: 162.5 kB / 365.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.01115, allocations: 337.2 kB / 366.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.01183, allocations: 227.6 kB / 366.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.01371, allocations: 1.317 MB / 367.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.01424, allocations: 314.2 kB / 367.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.01506, allocations: 462.3 kB / 368.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.01567, allocations: 0.5135 MB / 368.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.01581, allocations: 91.94 kB / 369 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.01605, allocations: 116 kB / 369.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001104/0.01716, allocations: 1.6 MB / 370.7 MB, free: 1.547 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005706/0.01774, allocations: 0.9626 MB / 371.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.01806, allocations: 159.6 kB / 371.8 MB, free: 424 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002163/0.01829, allocations: 27.86 kB / 371.9 MB, free: 396 kB / 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.1586/0.1769, allocations: 5.318 MB / 377.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.00037/0.1773, allocations: 430.1 kB / 377.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001436/0.1787, allocations: 1.845 MB / 379.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002146/0.1789, allocations: 188.3 kB / 379.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Alias: time 0.003097/0.182, allocations: 3.251 MB / 382.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001679/0.1822, allocations: 148.6 kB / 383 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006378/0.1829, allocations: 0.6478 MB / 383.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of Events: time 0.0005918/0.1835, allocations: 0.5724 MB / 384.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007675/0.1842, allocations: 0.9507 MB / 385.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of Causalize: time 0.003172/0.1874, allocations: 3.093 MB / 388.3 MB, free: 6.172 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001683/0.1891, allocations: 1.958 MB / 390.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of Inline: time 0.00301/0.1921, allocations: 3.263 MB / 393.5 MB, free: 3.07 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002152/0.1923, allocations: 208.1 kB / 393.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001631/0.1925, allocations: 155.5 kB / 393.9 MB, free: 2.848 MB / 302.1 MB Notification: Performance of Causalize: time 0.01056/0.2031, allocations: 9.934 MB / 403.8 MB, free: 12.75 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!