Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 212 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 207.7 MB / 235.4 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3691/0.3691, allocations: 49.62 MB / 337.3 MB, free: 3.824 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop") translateModel(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.489e-05/3.489e-05, allocations: 6.219 kB / 477.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop): time 1.155/1.155, allocations: 321.4 MB / 0.7804 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04912/1.204, allocations: 32.63 MB / 0.8122 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006846/1.211, allocations: 97.09 kB / 0.8123 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.008385/1.219, allocations: 1.987 MB / 0.8143 GB, free: 0.5781 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Examples.mo:2517:21-2517:69:writable] Warning: Pure function 'ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.plant.prescribedSpeedPump.feedWaterPump.flowCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeBindings: time 0.01469/1.234, allocations: 3.493 MB / 0.8177 GB, free: 384 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.04627/1.28, allocations: 12.65 MB / 0.83 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02258/1.303, allocations: 13.79 MB / 0.8435 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009776/1.312, allocations: 3.635 MB / 0.8471 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02173/1.334, allocations: 7.217 MB / 0.8541 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02641/1.36, allocations: 9.867 MB / 0.8638 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002986/1.363, allocations: 0.6329 MB / 0.8644 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03098/1.394, allocations: 10.72 MB / 0.8748 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.02292/1.417, allocations: 11 MB / 0.8856 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.01072/1.428, allocations: 6.382 MB / 0.8918 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003355/1.431, allocations: 432 kB / 0.8922 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.001061/1.433, allocations: 98.06 kB / 0.8923 GB, free: 4.562 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2419 (758) * Number of variables: 2419 (776) Notification: Performance of [SIM] Bindings: time 0.05045/1.483, allocations: 29.86 MB / 0.9215 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of [SIM] FunctionAlias: time 0.007569/1.491, allocations: 3.293 MB / 0.9247 GB, free: 4.52 MB / 0.6231 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j Notification: Performance of [SIM] Early Inline: time 0.04182/1.532, allocations: 21.93 MB / 0.9461 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 0.01145/1.544, allocations: 4.713 MB / 0.9507 GB, free: 9.719 MB / 0.6544 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.04307/1.587, allocations: 19.84 MB / 0.9701 GB, free: 5.434 MB / 0.67 GB Notification: Performance of [SIM] Simplify 2: time 0.008936/1.596, allocations: 4.33 MB / 0.9743 GB, free: 0.543 MB / 0.67 GB Notification: Performance of [SIM] Remove Stream: time 0.004518/1.6, allocations: 1.466 MB / 0.9757 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of [SIM] Detect States: time 0.01108/1.611, allocations: 3.895 MB / 0.9795 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of [SIM] Events: time 0.004839/1.616, allocations: 1.253 MB / 0.9808 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of [SIM] Partitioning: time 0.0226/1.639, allocations: 6.387 MB / 0.987 GB, free: 3.355 MB / 0.6856 GB Error: Internal error NBSlice.resolveDependency failed for: plant.economizer.fluidFlow.dMdt[1:(-1) + $i1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (5) ($RES_AUX_1085) [----] for $i1 in 1:5 loop [----] [SCAL] (1) $FUN_7[$i1] = sum(plant.economizer.fluidFlow.dMdt[1:(-1) + $i1]) ($RES_AUX_1086) [----] end for; " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.897917705005966] Failed to read output from testmodel.py, exit status != 0: 1.6611939030117355 1.6830912789999999 0.24526012199999994 Calling exit ...