Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) 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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 119 kB / 17.1 MB, free: 5.996 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.001635/0.001635, allocations: 192.8 kB / 18.04 MB, free: 5.07 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.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3845/0.3845, allocations: 64.94 MB / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.226e-05, allocations: 2.281 kB / 495.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009943/0.009992, allocations: 7.369 MB / 0.4915 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006809/0.01685, allocations: 4.388 MB / 0.4958 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.01803, allocations: 11.94 kB / 0.4958 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.01982, allocations: 0.5553 MB / 0.4963 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.02196, allocations: 0.7182 MB / 0.497 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.02339, allocations: 0.5267 MB / 0.4975 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.02712, allocations: 2.641 MB / 0.5001 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.02845, allocations: 0.6987 MB / 0.5008 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.03031, allocations: 0.8723 MB / 0.5016 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.03217, allocations: 0.9106 MB / 0.5025 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005732/0.03276, allocations: 188 kB / 0.5027 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.03424, allocations: 431.4 kB / 0.5031 GB, free: 1.289 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.3114/0.3456, allocations: 2.397 MB / 0.5055 GB, free: 14.32 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001786/0.3474, allocations: 1.431 MB / 0.5069 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008614/0.3483, allocations: 236.8 kB / 0.5071 GB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002873/0.3486, allocations: 44.7 kB / 0.5071 GB, free: 13.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 (353) * Number of variables: 546 (347) Notification: Performance of Bindings: time 0.00925/0.3579, allocations: 8.36 MB / 0.5153 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001839/0.3597, allocations: 1.385 MB / 0.5166 GB, free: 9.559 MB / 382.1 MB Notification: Performance of Early Inline: time 0.006053/0.3658, allocations: 4.645 MB / 0.5212 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simplify1: time 0.0007585/0.3666, allocations: 380.6 kB / 0.5215 GB, free: 6.484 MB / 382.1 MB Notification: Performance of Alias: time 0.01051/0.3771, allocations: 6.882 MB / 0.5283 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simplify2: time 0.001098/0.3783, allocations: 341.5 kB / 0.5286 GB, free: 2.266 MB / 382.1 MB Notification: Performance of Detect States: time 0.001554/0.3798, allocations: 1.115 MB / 0.5297 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Events: time 0.0009017/0.3808, allocations: 383.6 kB / 0.53 GB, free: 1.293 MB / 382.1 MB Notification: Performance of Partitioning: time 0.002839/0.3836, allocations: 2.122 MB / 0.5321 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Causalize: time 0.01684/0.4005, allocations: 11.61 MB / 0.5434 GB, free: 10.22 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.004516/0.405, allocations: 3.733 MB / 0.5471 GB, free: 6.949 MB / 398.1 MB Notification: Performance of Inline: time 0.006694/0.4118, allocations: 6.397 MB / 0.5533 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0004769/0.4123, allocations: 320.7 kB / 0.5536 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0005213/0.4128, allocations: 334.5 kB / 0.554 GB, free: 0.6484 MB / 398.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) 1.0 = sum(tank.x_l[:]) ($RES_$AUX_370) slice: {}; [SCAL] (1) $AUX_0 = (tank.mediumLiquid.mediumConOut.rho * tank.y) / tank.mediumLiquid.mediumConOut.MM ($RES_$AUX_0) slice: {}; [SCAL] (1) tank.A = 0.7853981633974483 * tank.d_volume ^ 2.0 ($RES_BND_424) slice: {}; [SCAL] (1) tank.T_ref = systemTS.T_ref ($RES_BND_418) slice: {}; Notification: Performance of Causalize: time 0.02656/0.4394, allocations: 21.87 MB / 0.5753 GB, free: 11.28 MB / 430.1 MB Error: Internal error NBDifferentiate.differentiateCall failed for: sum(idealPumpControlledVdot.mediumLiquid.x[i] * ({0.018, 0.044, 0.061})[i] for i in 1:3) Error: Internal error NBInitialization.main failed to apply modules!