Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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.9518/0.9518, allocations: 153.8 MB / 173.5 MB, free: 4.859 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.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.447e-05, allocations: 7.828 kB / 251.1 MB, free: 3.898 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.CentrifugalPump.TestCentrifugalPump.Scenario_2): time 1.959/1.959, allocations: 307.6 MB / 0.5456 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2976/2.257, allocations: 27.71 MB / 0.5727 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/2.257, allocations: 3.562 kB / 0.5727 GB, free: 13.45 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0003516/2.257, allocations: 105.1 kB / 0.5728 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/2.258, allocations: 119.2 kB / 0.5729 GB, free: 13.36 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.02055/2.278, allocations: 8.58 MB / 0.5813 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008679/2.279, allocations: 0.5638 MB / 0.5818 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/2.279, allocations: 213.1 kB / 0.582 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/2.28, allocations: 246.8 kB / 0.5822 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/2.28, allocations: 166.4 kB / 0.5824 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/2.28, allocations: 30.38 kB / 0.5824 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02437/2.304, allocations: 13.7 MB / 0.5958 GB, free: 7.176 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0005466/2.305, allocations: 0.6965 MB / 0.5965 GB, free: 6.68 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001555/2.305, allocations: 460.7 kB / 0.5969 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/2.305, allocations: 31.16 kB / 0.597 GB, free: 6.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.413e-05/2.305, allocations: 7.844 kB / 0.597 GB, free: 6.375 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: 89 (80) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.001446/2.307, allocations: 1.98 MB / 0.5989 GB, free: 4.93 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002396/2.307, allocations: 264.2 kB / 0.5992 GB, free: 4.723 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.001108/2.308, allocations: 1.49 MB / 0.6006 GB, free: 3.258 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003233/2.308, allocations: 299.1 kB / 0.6009 GB, free: 2.957 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.001929/2.31, allocations: 1.988 MB / 0.6028 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002484/2.311, allocations: 243.6 kB / 0.6031 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 7.337e-05/2.311, allocations: 108.6 kB / 0.6032 GB, free: 448 kB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0001587/2.311, allocations: 254.4 kB / 0.6034 GB, free: 148 kB / 462.1 MB Notification: Performance of [SIM] Events: time 0.0001081/2.311, allocations: 64.48 kB / 0.6035 GB, free: 92 kB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004494/2.311, allocations: 391.7 kB / 0.6039 GB, free: 15.71 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001335/2.313, allocations: 0.9014 MB / 0.6047 GB, free: 14.81 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008049/2.314, allocations: 0.8102 MB / 0.6055 GB, free: 14.01 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0009555/2.314, allocations: 0.6428 MB / 0.6062 GB, free: 13.38 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.001726/2.316, allocations: 1.335 MB / 0.6075 GB, free: 12.06 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 6.58e-05/2.316, allocations: 35.94 kB / 0.6075 GB, free: 12.02 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0001786/2.316, allocations: 195.1 kB / 0.6077 GB, free: 11.83 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.001824/2.318, allocations: 1.28 MB / 0.6089 GB, free: 10.55 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0004524/2.319, allocations: 322 kB / 0.6092 GB, free: 10.33 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 9.71e-07/2.319, allocations: 0 / 0.6092 GB, free: 10.33 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005586/2.319, allocations: 397.3 kB / 0.6096 GB, free: 10.07 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.222e-06/2.319, allocations: 0.75 kB / 0.6096 GB, free: 10.07 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.0007707/2.32, allocations: 0.615 MB / 0.6102 GB, free: 9.578 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.183e-05/2.32, allocations: 4 kB / 0.6102 GB, free: 9.574 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.001323/2.321, allocations: 0.9353 MB / 0.6111 GB, free: 8.73 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: 4.024198805971537] Failed to read output from testmodel.py, exit status != 0: 2.5260586719959974 2.542024333 0.23282338000000002 Calling exit ...