Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.9021/0.9021, allocations: 153.8 MB / 173.5 MB, free: 4.277 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.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.471e-05, allocations: 2.281 kB / 251.1 MB, free: 3.844 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.PressureLoss.TestBend): time 2.143/2.143, allocations: 307.6 MB / 0.5456 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04152/2.185, allocations: 31.11 MB / 0.5759 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/2.185, allocations: 4 kB / 0.5759 GB, free: 3.445 MB / 446.1 MB [/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). [/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/PressureLosses/Bend.mo:55:3-57:42:writable] Warning: Connector C1 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/PressureLosses/Bend.mo:58:3-60:43:writable] Warning: Connector C2 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.0007101/2.186, allocations: 263.1 kB / 0.5762 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/2.186, allocations: 278.9 kB / 0.5765 GB, free: 2.914 MB / 446.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. Notification: Performance of NFTyping.typeClassSections: time 0.03363/2.22, allocations: 9.934 MB / 0.5862 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/2.221, allocations: 0.612 MB / 0.5868 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/2.221, allocations: 194.5 kB / 0.5869 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005104/2.222, allocations: 287 kB / 0.5872 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/2.222, allocations: 255.1 kB / 0.5875 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/2.222, allocations: 24 kB / 0.5875 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03091/2.253, allocations: 16.31 MB / 0.6034 GB, free: 7.277 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0008056/2.254, allocations: 0.6767 MB / 0.6041 GB, free: 6.594 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003235/2.254, allocations: 451.6 kB / 0.6045 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/2.254, allocations: 32 kB / 0.6045 GB, free: 6.117 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.048e-05/2.254, allocations: 7.938 kB / 0.6045 GB, free: 6.109 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: 89 (62) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.002459/2.257, allocations: 2.066 MB / 0.6066 GB, free: 3.902 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003957/2.257, allocations: 281.9 kB / 0.6068 GB, free: 3.621 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.001752/2.259, allocations: 1.445 MB / 0.6082 GB, free: 2.141 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000383/2.259, allocations: 224.3 kB / 0.6084 GB, free: 1.875 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.002437/2.262, allocations: 1.589 MB / 0.61 GB, free: 92 kB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003039/2.262, allocations: 187.2 kB / 0.6102 GB, free: 15.86 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001453/2.262, allocations: 116.2 kB / 0.6103 GB, free: 15.72 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.0002959/2.262, allocations: 268.4 kB / 0.6105 GB, free: 15.41 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.0001484/2.263, allocations: 65.94 kB / 0.6106 GB, free: 15.34 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005994/2.263, allocations: 460 kB / 0.611 GB, free: 14.88 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.001865/2.265, allocations: 1.321 MB / 0.6123 GB, free: 13.52 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008921/2.266, allocations: 0.8507 MB / 0.6132 GB, free: 12.67 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.0008783/2.267, allocations: 0.5055 MB / 0.6137 GB, free: 12.09 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.001633/2.268, allocations: 1.344 MB / 0.615 GB, free: 10.75 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 6.889e-05/2.269, allocations: 39.98 kB / 0.615 GB, free: 10.7 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0001802/2.269, allocations: 195.8 kB / 0.6152 GB, free: 10.51 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.0031/2.272, allocations: 2.242 MB / 0.6174 GB, free: 8.25 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0005145/2.272, allocations: 334.8 kB / 0.6177 GB, free: 7.938 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 7.52e-07/2.272, allocations: 0 / 0.6177 GB, free: 7.938 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000691/2.273, allocations: 0.4891 MB / 0.6182 GB, free: 7.457 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.163e-06/2.273, allocations: 336 / 0.6182 GB, free: 7.457 MB / 494.1 MB [/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_6.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_6.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_6.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_6.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_6.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_6.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_6.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_6.x Notification: Performance of [SIM] Tearing: time 0.0007682/2.274, allocations: 0.5489 MB / 0.6187 GB, free: 6.926 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 2.133e-05/2.274, allocations: 7.984 kB / 0.6187 GB, free: 6.918 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.001704/2.276, allocations: 1.173 MB / 0.6199 GB, free: 5.766 MB / 494.1 MB [/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_6.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace. " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.9331592450034805] Failed to read output from testmodel.py, exit status != 0: 2.4956447730073705 2.508218379 0.250703428 Calling exit ...