Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.902/0.902, allocations: 153.8 MB / 173.5 MB, free: 4.281 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.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.121e-05, allocations: 6 kB / 251.1 MB, free: 3.789 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.TestStaticExchangerWaterSteamFlueGases): time 2.182/2.182, allocations: 308.1 MB / 0.5461 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/2.386, allocations: 147.1 MB / 0.6898 GB, free: 14.6 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/2.386, allocations: 3.938 kB / 0.6898 GB, free: 14.6 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16: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/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:50:3-51:83:writable] Warning: Connector Cws2 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/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:52:3-54:16:writable] Warning: Connector Cws1 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/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:55:3-56:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:57:3-59:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006063/2.387, allocations: 132.2 kB / 0.6899 GB, free: 14.47 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0005958/2.388, allocations: 158.8 kB / 0.6901 GB, free: 14.31 MB / 0.5607 GB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01749/2.405, allocations: 6.045 MB / 0.696 GB, free: 8.273 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0009686/2.406, allocations: 0.647 MB / 0.6966 GB, free: 7.625 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/2.407, allocations: 209.2 kB / 0.6968 GB, free: 7.414 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/2.407, allocations: 247.1 kB / 0.697 GB, free: 7.172 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/2.407, allocations: 191 kB / 0.6972 GB, free: 6.984 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/2.407, allocations: 40 kB / 0.6972 GB, free: 6.945 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01857/2.426, allocations: 11.55 MB / 0.7085 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of combineBinaries: time 0.001002/2.427, allocations: 0.866 MB / 0.7094 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of replaceArrayConstructors: time 0.0005134/2.427, allocations: 0.5667 MB / 0.7099 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/2.427, allocations: 48 kB / 0.71 GB, free: 9.883 MB / 0.5763 GB Notification: Performance of FrontEnd: time 9.472e-05/2.428, allocations: 11.94 kB / 0.71 GB, free: 9.871 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 (109) * Number of variables: 136 (136) Notification: Performance of [SIM] Bindings: time 0.002574/2.43, allocations: 2.443 MB / 0.7124 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004695/2.431, allocations: 374.2 kB / 0.7127 GB, free: 6.918 MB / 0.5763 GB Notification: Performance of [SIM] Early Inline: time 0.002163/2.433, allocations: 2.006 MB / 0.7147 GB, free: 4.863 MB / 0.5763 GB Notification: Performance of [SIM] Simplify 1: time 0.0004612/2.433, allocations: 288.2 kB / 0.715 GB, free: 4.527 MB / 0.5763 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.003912/2.437, allocations: 2.656 MB / 0.7176 GB, free: 1.602 MB / 0.5763 GB Notification: Performance of [SIM] Simplify 2: time 0.0002695/2.437, allocations: 202.8 kB / 0.7177 GB, free: 1.367 MB / 0.5763 GB Notification: Performance of [SIM] Remove Stream: time 0.0001361/2.438, allocations: 112.3 kB / 0.7179 GB, free: 1.23 MB / 0.5763 GB Notification: Performance of [SIM] Detect States: time 0.000309/2.438, allocations: 304.3 kB / 0.7181 GB, free: 0.8789 MB / 0.5763 GB Notification: Performance of [SIM] Events: time 0.0001248/2.438, allocations: 66.19 kB / 0.7182 GB, free: 0.8164 MB / 0.5763 GB Notification: Performance of [SIM] Partitioning: time 0.0006203/2.439, allocations: 0.5017 MB / 0.7187 GB, free: 304 kB / 0.5763 GB Notification: Performance of [SIM] Causalize: time 0.002156/2.441, allocations: 1.435 MB / 0.7201 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009628/2.442, allocations: 0.9755 MB / 0.7211 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of [INI] Simplify: time 0.001281/2.443, allocations: 0.8542 MB / 0.7219 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of [INI] Inline: time 0.002166/2.445, allocations: 1.738 MB / 0.7236 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of [INI] Partitioning: time 8.818e-05/2.445, allocations: 47.97 kB / 0.7236 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of [INI] Cleanup: time 0.0002204/2.445, allocations: 259.7 kB / 0.7239 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of [INI] Causalize: time 0.00302/2.449, allocations: 2.149 MB / 0.726 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of [INI] Tearing: time 0.0003613/2.449, allocations: 289.5 kB / 0.7263 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of [SIM] Initialization: time 9.72e-07/2.449, allocations: 3.938 kB / 0.7263 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of [SIM] DAE-Mode: time 0.000682/2.45, allocations: 455.5 kB / 0.7267 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of [SIM] Remove Dummies: time 8.847e-06/2.45, allocations: 5.438 kB / 0.7267 GB, free: 8.039 MB / 0.5919 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_5.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_5.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_5.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_5.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_5.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_5.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_5.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.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_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.0006176/2.45, allocations: 0.5104 MB / 0.7272 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of [SIM] Categorize: time 1.18e-05/2.45, allocations: 4 kB / 0.7272 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of [SIM] Solve: time 0.003825/2.454, allocations: 2.469 MB / 0.7296 GB, free: 5.23 MB / 0.5919 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_5.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.279391066986136] Failed to read output from testmodel.py, exit status != 0: 2.859883130004164 2.872792964 0.44179166499999994 Calling exit ...