Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump1.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.8627/0.8627, 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.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.702e-05, allocations: 3.594 kB / 251.1 MB, free: 3.762 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.TestCentrifugalPump1): time 2.069/2.069, allocations: 308.5 MB / 0.5465 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0361/2.105, allocations: 28.06 MB / 0.5739 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/2.105, allocations: 8 kB / 0.5739 GB, free: 5.531 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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/Machines/CentrifugalPump.mo:120:3-122:37:writable] Warning: Connector C2 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/CentrifugalPump.mo:126:3-130: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/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/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/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15:24: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/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/WaterSteam/Machines/CentrifugalPump.mo:117:3-119: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/Machines/CentrifugalPump.mo:120:3-122:37:writable] Warning: Connector C2 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/CentrifugalPump.mo:126:3-130: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0006563/2.106, allocations: 145.6 kB / 0.5741 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/2.107, allocations: 233.1 kB / 0.5743 GB, free: 5.164 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.02792/2.134, allocations: 8.737 MB / 0.5828 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/2.136, allocations: 1.083 MB / 0.5839 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/2.137, allocations: 401.8 kB / 0.5843 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007445/2.137, allocations: 458.5 kB / 0.5847 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/2.138, allocations: 310.4 kB / 0.585 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/2.138, allocations: 56 kB / 0.5851 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02601/2.164, allocations: 13.73 MB / 0.5985 GB, free: 12.39 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.001435/2.165, allocations: 1.318 MB / 0.5998 GB, free: 11.05 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006736/2.166, allocations: 0.8595 MB / 0.6006 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/2.166, allocations: 60 kB / 0.6007 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0001599/2.166, allocations: 19.94 kB / 0.6007 GB, free: 10.11 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: 173 (155) * Number of variables: 173 (173) Notification: Performance of [SIM] Bindings: time 0.003841/2.17, allocations: 3.46 MB / 0.6041 GB, free: 6.469 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007123/2.171, allocations: 0.5179 MB / 0.6046 GB, free: 5.938 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.003171/2.174, allocations: 2.802 MB / 0.6073 GB, free: 3.113 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008992/2.175, allocations: 0.5213 MB / 0.6078 GB, free: 2.555 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.005742/2.181, allocations: 3.726 MB / 0.6114 GB, free: 14.39 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006245/2.181, allocations: 427.9 kB / 0.6118 GB, free: 13.97 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002122/2.182, allocations: 176.1 kB / 0.612 GB, free: 13.77 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.0004564/2.182, allocations: 412.2 kB / 0.6124 GB, free: 13.31 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.0002205/2.182, allocations: 125.9 kB / 0.6125 GB, free: 13.19 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009131/2.183, allocations: 0.7457 MB / 0.6133 GB, free: 12.43 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.002478/2.186, allocations: 1.766 MB / 0.615 GB, free: 10.63 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001518/2.187, allocations: 1.514 MB / 0.6165 GB, free: 9.117 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.001876/2.189, allocations: 1.192 MB / 0.6176 GB, free: 7.836 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.002721/2.192, allocations: 2.542 MB / 0.6201 GB, free: 5.285 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 0.0001103/2.192, allocations: 64.06 kB / 0.6202 GB, free: 5.207 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0003441/2.192, allocations: 371.5 kB / 0.6205 GB, free: 4.844 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.003556/2.196, allocations: 2.525 MB / 0.623 GB, free: 2.258 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0009324/2.197, allocations: 0.6371 MB / 0.6236 GB, free: 1.68 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 1.674e-06/2.197, allocations: 0 / 0.6236 GB, free: 1.68 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009398/2.198, allocations: 0.554 MB / 0.6242 GB, free: 1.16 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.143e-06/2.198, allocations: 0 / 0.6242 GB, free: 1.16 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 [/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_12.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_12.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_12.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_12.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_12.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_12.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_12.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_12.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_12.x Notification: Performance of [SIM] Tearing: time 0.001607/2.199, allocations: 1.216 MB / 0.6253 GB, free: 15.97 MB / 0.4982 GB Notification: Performance of [SIM] Categorize: time 2.07e-05/2.199, allocations: 4 kB / 0.6253 GB, free: 15.97 MB / 0.4982 GB Notification: Performance of [SIM] Solve: time 0.002643/2.202, allocations: 1.812 MB / 0.6271 GB, free: 14.18 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_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.757179374981206] Failed to read output from testmodel.py, exit status != 0: 2.397764850000385 2.412211874 0.24255889500000002 Calling exit ...