Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.8791/0.8791, 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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.525e-05, allocations: 6 kB / 251.1 MB, free: 3.777 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.TestDiaphragm): time 2.109/2.109, allocations: 307.5 MB / 0.5456 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03821/2.148, allocations: 30.75 MB / 0.5756 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/2.148, allocations: 4 kB / 0.5756 GB, free: 3.844 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/Diaphragm.mo:30:3-32: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/Diaphragm.mo:33:3-35:37: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.0004522/2.148, allocations: 107.3 kB / 0.5757 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/2.149, allocations: 107.2 kB / 0.5758 GB, free: 3.633 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.02892/2.177, allocations: 9.758 MB / 0.5853 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007099/2.178, allocations: 426.8 kB / 0.5857 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/2.178, allocations: 124.3 kB / 0.5859 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/2.179, allocations: 167.4 kB / 0.586 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/2.179, allocations: 111.4 kB / 0.5861 GB, free: 9.059 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/2.179, allocations: 16 kB / 0.5861 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0272/2.206, allocations: 16.23 MB / 0.602 GB, free: 8.793 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0005191/2.207, allocations: 0.514 MB / 0.6025 GB, free: 8.273 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002551/2.207, allocations: 359.2 kB / 0.6028 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/2.207, allocations: 28 kB / 0.6029 GB, free: 7.891 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.432e-05/2.207, allocations: 7.938 kB / 0.6029 GB, free: 7.883 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: 78 (51) * Number of variables: 78 (78) Notification: Performance of [SIM] Bindings: time 0.001866/2.209, allocations: 1.735 MB / 0.6046 GB, free: 6.016 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003266/2.209, allocations: 244.8 kB / 0.6048 GB, free: 5.77 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.001376/2.211, allocations: 1.286 MB / 0.6061 GB, free: 4.453 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003019/2.211, allocations: 200.2 kB / 0.6063 GB, free: 4.207 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.00194/2.213, allocations: 1.385 MB / 0.6076 GB, free: 2.656 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002135/2.213, allocations: 157.1 kB / 0.6078 GB, free: 2.461 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001136/2.213, allocations: 96.31 kB / 0.6078 GB, free: 2.34 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002839/2.214, allocations: 252.4 kB / 0.6081 GB, free: 2.035 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.000104/2.214, allocations: 54.53 kB / 0.6081 GB, free: 1.984 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.000491/2.214, allocations: 400.8 kB / 0.6085 GB, free: 1.578 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001633/2.216, allocations: 1.207 MB / 0.6097 GB, free: 364 kB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007617/2.217, allocations: 0.7413 MB / 0.6104 GB, free: 15.61 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.0006662/2.217, allocations: 418.9 kB / 0.6108 GB, free: 15.14 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.001333/2.219, allocations: 1.17 MB / 0.612 GB, free: 13.96 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 4.768e-05/2.219, allocations: 33.31 kB / 0.612 GB, free: 13.93 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.000139/2.219, allocations: 167.8 kB / 0.6122 GB, free: 13.76 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.001949/2.221, allocations: 1.448 MB / 0.6136 GB, free: 12.3 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.000349/2.221, allocations: 260.6 kB / 0.6138 GB, free: 12.05 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 1.232e-06/2.221, allocations: 1.266 kB / 0.6138 GB, free: 12.05 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005563/2.222, allocations: 447.9 kB / 0.6142 GB, free: 11.64 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.202e-06/2.222, allocations: 5.906 kB / 0.6143 GB, free: 11.63 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.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.0005709/2.222, allocations: 459.1 kB / 0.6147 GB, free: 11.2 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 1.366e-05/2.222, allocations: 4 kB / 0.6147 GB, free: 11.2 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.001491/2.224, allocations: 1.097 MB / 0.6158 GB, free: 10.11 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.8197535459767096] Failed to read output from testmodel.py, exit status != 0: 2.4163121880264953 2.430071545 0.219795809 Calling exit ...