Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8777/0.8777, allocations: 153.8 MB / 173.5 MB, free: 4.859 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.677e-05, allocations: 2.281 kB / 251.1 MB, free: 3.953 MB / 206.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.SteamTurbine.TestStodolaTurbine): time 1.938/1.938, allocations: 307.9 MB / 0.5458 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4195/2.358, allocations: 39.38 MB / 0.5843 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/2.358, allocations: 2.656 kB / 0.5843 GB, free: 11.88 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StodolaTurbine.mo:59:3-61:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StodolaTurbine.mo:62:3-63:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StodolaTurbine.mo:67:3-71:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005481/2.359, allocations: 182.3 kB / 0.5845 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/2.359, allocations: 186.5 kB / 0.5846 GB, free: 11.77 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ps.mo:71:3-71:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ps.mo:71:3-71:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03928/2.398, allocations: 13.03 MB / 0.5974 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007924/2.399, allocations: 0.6163 MB / 0.598 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/2.399, allocations: 127.8 kB / 0.5981 GB, free: 5.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/2.399, allocations: 235.2 kB / 0.5983 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/2.4, allocations: 154.3 kB / 0.5985 GB, free: 5.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/2.4, allocations: 26.22 kB / 0.5985 GB, free: 5.695 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03702/2.437, allocations: 21.36 MB / 0.6193 GB, free: 3.93 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0009757/2.438, allocations: 0.7357 MB / 0.6201 GB, free: 3.188 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004084/2.438, allocations: 0.5049 MB / 0.6206 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/2.438, allocations: 40 kB / 0.6206 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.634e-05/2.438, allocations: 8.781 kB / 0.6206 GB, free: 2.629 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 (60) * Number of variables: 112 (112) Notification: Performance of [SIM] Bindings: time 0.00295/2.441, allocations: 2.525 MB / 0.6231 GB, free: 15.96 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005312/2.442, allocations: 380.2 kB / 0.6234 GB, free: 15.59 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.002517/2.444, allocations: 2.163 MB / 0.6255 GB, free: 13.4 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005263/2.445, allocations: 294.9 kB / 0.6258 GB, free: 13.08 MB / 494.1 MB Notification: Performance of [SIM] Alias: time 0.002668/2.447, allocations: 1.8 MB / 0.6276 GB, free: 11.1 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004128/2.448, allocations: 231.1 kB / 0.6278 GB, free: 10.83 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002265/2.448, allocations: 168.1 kB / 0.628 GB, free: 10.64 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.0005401/2.449, allocations: 393.4 kB / 0.6283 GB, free: 10.19 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.0001205/2.449, allocations: 52.91 kB / 0.6284 GB, free: 10.14 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.001036/2.45, allocations: 0.6971 MB / 0.6291 GB, free: 9.445 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.002762/2.453, allocations: 1.889 MB / 0.6309 GB, free: 7.531 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001465/2.454, allocations: 1.367 MB / 0.6322 GB, free: 6.16 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.001113/2.455, allocations: 0.6365 MB / 0.6329 GB, free: 5.457 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.002666/2.458, allocations: 2.14 MB / 0.635 GB, free: 3.312 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 9.217e-05/2.458, allocations: 52.02 kB / 0.635 GB, free: 3.25 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0002835/2.458, allocations: 312.7 kB / 0.6353 GB, free: 2.945 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.003216/2.461, allocations: 2.248 MB / 0.6375 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0003569/2.462, allocations: 262.8 kB / 0.6378 GB, free: 420 kB / 494.1 MB Notification: Performance of [SIM] Initialization: time 1.062e-06/2.462, allocations: 0.6562 kB / 0.6378 GB, free: 420 kB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001148/2.463, allocations: 0.797 MB / 0.6385 GB, free: 15.71 MB / 0.4982 GB Notification: Performance of [SIM] Remove Dummies: time 9.598e-06/2.463, allocations: 0.5 kB / 0.6385 GB, free: 15.71 MB / 0.4982 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.T [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.d [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.u [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.s [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.cp [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.ddhp [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.ddph [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.duph [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.duhp [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.T [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.u [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.s [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.cp [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.ddhp [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.ddph [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.duph [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.duhp [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.x Notification: Performance of [SIM] Tearing: time 0.0005948/2.464, allocations: 0.5048 MB / 0.639 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of [SIM] Categorize: time 1.807e-05/2.464, allocations: 4 kB / 0.639 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of [SIM] Solve: time 0.003069/2.467, allocations: 2.165 MB / 0.6411 GB, free: 13.2 MB / 0.4982 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Util/NBDifferentiate.mo:817:30-818:7:writable] Error: Internal error NBVariable.getVarPointer failed for $FUN_2.duhp, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace. " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.099583687027916] Failed to read output from testmodel.py, exit status != 0: 2.6785863950499333 2.693500117 0.251899361 Calling exit ...