Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.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.8463/0.8463, allocations: 153.8 MB / 173.5 MB, free: 4.867 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.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.495e-05, allocations: 7.859 kB / 251.1 MB, free: 3.848 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.TestCentrifugalPump5): time 1.907/1.907, allocations: 307.9 MB / 0.5459 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3654/2.272, allocations: 27.76 MB / 0.573 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/2.272, allocations: 3.125 kB / 0.573 GB, free: 13.07 MB / 462.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/Machines/Shaft.mo:13:3-15:47:writable] Warning: Connector C2 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/ElectroMechanics/Machines/Shaft.mo:16:3-18:49:writable] Warning: Connector C1 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/ElectroMechanics/Machines/SynchronousMotor.mo:36:3-38:45:writable] Warning: Connector C is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006452/2.273, allocations: 112.6 kB / 0.5731 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/2.273, allocations: 141.1 kB / 0.5733 GB, free: 12.98 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. Notification: Performance of NFTyping.typeClassSections: time 0.02931/2.303, allocations: 8.595 MB / 0.5817 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/2.304, allocations: 0.6418 MB / 0.5823 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/2.305, allocations: 243.6 kB / 0.5825 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/2.305, allocations: 277.3 kB / 0.5828 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/2.306, allocations: 190.4 kB / 0.583 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.429e-05/2.306, allocations: 36.69 kB / 0.583 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02959/2.335, allocations: 13.71 MB / 0.5964 GB, free: 6.711 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0008544/2.336, allocations: 0.8116 MB / 0.5972 GB, free: 6.129 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002663/2.336, allocations: 0.53 MB / 0.5977 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/2.337, allocations: 38.22 kB / 0.5977 GB, free: 5.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001086/2.337, allocations: 16.78 kB / 0.5978 GB, free: 5.762 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 (93) * Number of variables: 102 (102) Notification: Performance of [SIM] Bindings: time 0.002027/2.339, allocations: 2.234 MB / 0.5999 GB, free: 4.059 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002951/2.339, allocations: 295.3 kB / 0.6002 GB, free: 3.781 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.001323/2.34, allocations: 1.64 MB / 0.6018 GB, free: 2.176 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003865/2.341, allocations: 324.2 kB / 0.6021 GB, free: 1.848 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.00273/2.343, allocations: 2.208 MB / 0.6043 GB, free: 15.46 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000404/2.344, allocations: 265.7 kB / 0.6045 GB, free: 15.2 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001618/2.344, allocations: 123.2 kB / 0.6047 GB, free: 15.05 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.000421/2.344, allocations: 301.4 kB / 0.6049 GB, free: 14.71 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.0001461/2.345, allocations: 73.3 kB / 0.605 GB, free: 14.65 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006116/2.345, allocations: 437.8 kB / 0.6054 GB, free: 14.23 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001602/2.347, allocations: 0.9913 MB / 0.6064 GB, free: 13.24 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009762/2.348, allocations: 0.9093 MB / 0.6073 GB, free: 12.35 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.001142/2.349, allocations: 0.6979 MB / 0.608 GB, free: 11.65 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.002092/2.351, allocations: 1.52 MB / 0.6095 GB, free: 10.15 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 7.766e-05/2.351, allocations: 36.73 kB / 0.6095 GB, free: 10.11 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0002576/2.351, allocations: 230.3 kB / 0.6097 GB, free: 9.887 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.00218/2.354, allocations: 1.441 MB / 0.6111 GB, free: 8.453 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0006075/2.354, allocations: 409.9 kB / 0.6115 GB, free: 8.168 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 7.21e-07/2.354, allocations: 0.5312 kB / 0.6115 GB, free: 8.168 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007571/2.355, allocations: 383.5 kB / 0.6119 GB, free: 7.902 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.284e-05/2.355, allocations: 11.94 kB / 0.6119 GB, free: 7.891 MB / 478.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.001059/2.356, allocations: 0.7235 MB / 0.6126 GB, free: 7.305 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.338e-05/2.356, allocations: 4 kB / 0.6126 GB, free: 7.301 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.001613/2.358, allocations: 1.006 MB / 0.6136 GB, free: 6.398 MB / 478.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 657] [Calling sys.exit(0), Time elapsed: 3.9755788290058263] Failed to read output from testmodel.py, exit status != 0: 2.5793058580020443 2.594495509 0.254438473 Calling exit ...