Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.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.001367/0.001367, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001645/0.001645, allocations: 203.2 kB / 24.54 MB, free: 3.73 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.715/1.715, allocations: 207.7 MB / 235.4 MB, free: 9.773 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.3878/0.3878, allocations: 49.6 MB / 337.3 MB, free: 3.938 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.HRB.Simulators.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.501e-05, allocations: 2.281 kB / 477.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator): time 0.6455/0.6455, allocations: 227.1 MB / 0.6883 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02883/0.6744, allocations: 16.71 MB / 0.7046 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.6766, allocations: 47.62 kB / 0.7046 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.6798, allocations: 0.9203 MB / 0.7055 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004761/0.6846, allocations: 1.528 MB / 0.707 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02663/0.7112, allocations: 7.984 MB / 0.7148 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.7214, allocations: 5.958 MB / 0.7206 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003684/0.7251, allocations: 1.459 MB / 0.7221 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.7306, allocations: 2.232 MB / 0.7242 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/0.7345, allocations: 1.646 MB / 0.7258 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006722/0.7352, allocations: 268 kB / 0.7261 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.7522, allocations: 6.975 MB / 0.7329 GB, free: 14.77 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.007409/0.7596, allocations: 4.745 MB / 0.7375 GB, free: 9.988 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0034/0.763, allocations: 2.756 MB / 0.7402 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.764, allocations: 188 kB / 0.7404 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 0.0004463/0.7645, allocations: 47.75 kB / 0.7405 GB, free: 6.973 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1369 (320) * Number of variables: 1369 (333) Notification: Performance of [SIM] Bindings: time 0.4297/1.194, allocations: 13.02 MB / 0.7532 GB, free: 23.6 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.003799/1.198, allocations: 1.399 MB / 0.7545 GB, free: 23.48 MB / 0.545 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.01909/1.217, allocations: 9.393 MB / 0.7637 GB, free: 23.23 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.00534/1.222, allocations: 1.605 MB / 0.7653 GB, free: 22.6 MB / 0.545 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.01737/1.24, allocations: 9.2 MB / 0.7743 GB, free: 21.21 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.002947/1.243, allocations: 1.46 MB / 0.7757 GB, free: 20.52 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001079/1.244, allocations: 0.6153 MB / 0.7763 GB, free: 20.43 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.002133/1.246, allocations: 1.653 MB / 0.7779 GB, free: 20.23 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.001136/1.247, allocations: 0.5731 MB / 0.7785 GB, free: 20.14 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.003627/1.251, allocations: 2.704 MB / 0.7811 GB, free: 19.83 MB / 0.545 GB Error: Internal error NBSlice.resolveDependency failed for: Plant.Boiler.GasSide.dMdt[1:(-1) + $i1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (10) ($RES_AUX_446) [----] for $i1 in 1:10 loop [----] [SCAL] (1) $FUN_13[$i1] = sum(Plant.Boiler.GasSide.dMdt[1:(-1) + $i1]) ($RES_AUX_447) [----] end for; " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.484097807027865] Failed to read output from testmodel.py, exit status != 0: 1.2655602429877035 1.277446017 0.509482431 Calling exit ...