Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2.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.8802/0.8802, allocations: 153.8 MB / 173.5 MB, free: 4.285 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.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.786e-05, allocations: 3.594 kB / 251.1 MB, free: 3.805 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.SimpleExamples.TestStodolaTurbine2): time 2.163/2.163, allocations: 308 MB / 0.546 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05197/2.215, allocations: 39.39 MB / 0.5845 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/2.215, allocations: 4 kB / 0.5845 GB, free: 10.75 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.0005346/2.216, allocations: 172.2 kB / 0.5846 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/2.216, allocations: 190.8 kB / 0.5848 GB, free: 10.4 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.03673/2.253, allocations: 13.04 MB / 0.5975 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/2.254, allocations: 0.6186 MB / 0.5981 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/2.254, allocations: 128.7 kB / 0.5983 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/2.254, allocations: 231.1 kB / 0.5985 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/2.254, allocations: 151.1 kB / 0.5986 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/2.255, allocations: 28 kB / 0.5987 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03965/2.294, allocations: 21.36 MB / 0.6195 GB, free: 6.812 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0009878/2.295, allocations: 0.7342 MB / 0.6202 GB, free: 6.07 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004221/2.296, allocations: 0.5087 MB / 0.6207 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/2.296, allocations: 40 kB / 0.6208 GB, free: 5.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.966e-05/2.296, allocations: 11.94 kB / 0.6208 GB, free: 5.504 MB / 494.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.003486/2.299, allocations: 2.523 MB / 0.6232 GB, free: 2.832 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005127/2.3, allocations: 385.1 kB / 0.6236 GB, free: 2.449 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.002468/2.302, allocations: 2.155 MB / 0.6257 GB, free: 272 kB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005245/2.303, allocations: 291.6 kB / 0.626 GB, free: 15.93 MB / 0.4982 GB Notification: Performance of [SIM] Alias: time 0.002603/2.305, allocations: 1.8 MB / 0.6277 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of [SIM] Simplify 2: time 0.00034/2.306, allocations: 238.1 kB / 0.628 GB, free: 13.66 MB / 0.4982 GB Notification: Performance of [SIM] Remove Stream: time 0.0001868/2.306, allocations: 160.1 kB / 0.6281 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of [SIM] Detect States: time 0.0004342/2.306, allocations: 402 kB / 0.6285 GB, free: 13.03 MB / 0.4982 GB Notification: Performance of [SIM] Events: time 0.0001028/2.306, allocations: 47.98 kB / 0.6286 GB, free: 12.98 MB / 0.4982 GB Notification: Performance of [SIM] Partitioning: time 0.0008692/2.307, allocations: 0.7005 MB / 0.6292 GB, free: 12.27 MB / 0.4982 GB Notification: Performance of [SIM] Causalize: time 0.002596/2.31, allocations: 1.884 MB / 0.6311 GB, free: 10.36 MB / 0.4982 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001343/2.311, allocations: 1.362 MB / 0.6324 GB, free: 9 MB / 0.4982 GB Notification: Performance of [INI] Simplify: time 0.001022/2.312, allocations: 0.6335 MB / 0.633 GB, free: 8.285 MB / 0.4982 GB Notification: Performance of [INI] Inline: time 0.00247/2.315, allocations: 2.137 MB / 0.6351 GB, free: 6.141 MB / 0.4982 GB Notification: Performance of [INI] Partitioning: time 9.224e-05/2.315, allocations: 59.89 kB / 0.6352 GB, free: 6.07 MB / 0.4982 GB Notification: Performance of [INI] Cleanup: time 0.0002833/2.315, allocations: 311.7 kB / 0.6355 GB, free: 5.766 MB / 0.4982 GB Notification: Performance of [INI] Causalize: time 0.00317/2.318, allocations: 2.258 MB / 0.6377 GB, free: 3.473 MB / 0.4982 GB Notification: Performance of [INI] Tearing: time 0.0003442/2.319, allocations: 259.7 kB / 0.6379 GB, free: 3.23 MB / 0.4982 GB Notification: Performance of [SIM] Initialization: time 1.092e-06/2.319, allocations: 0 / 0.6379 GB, free: 3.23 MB / 0.4982 GB Notification: Performance of [SIM] DAE-Mode: time 0.001126/2.32, allocations: 0.7978 MB / 0.6387 GB, free: 2.512 MB / 0.4982 GB Notification: Performance of [SIM] Remove Dummies: time 7.995e-06/2.32, allocations: 0.5 kB / 0.6387 GB, free: 2.512 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.0006026/2.32, allocations: 0.4972 MB / 0.6392 GB, free: 2.039 MB / 0.4982 GB Notification: Performance of [SIM] Categorize: time 1.999e-05/2.32, allocations: 8 kB / 0.6392 GB, free: 2.031 MB / 0.4982 GB Notification: Performance of [SIM] Solve: time 0.002972/2.323, allocations: 2.166 MB / 0.6413 GB, free: 15.94 MB / 0.5138 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: 3.9425101579981856] Failed to read output from testmodel.py, exit status != 0: 2.5258350940421224 2.5404005290000002 0.241362452 Calling exit ...