Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.8864/0.8864, allocations: 153.8 MB / 173.5 MB, free: 4.285 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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.108e-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.TestControlValve): time 2.079/2.079, allocations: 307.6 MB / 0.5456 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0409/2.12, allocations: 30.82 MB / 0.5757 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/2.121, allocations: 4 kB / 0.5757 GB, free: 3.676 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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.000602/2.121, allocations: 155.3 kB / 0.5759 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/2.121, allocations: 171 kB / 0.5761 GB, free: 3.355 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.03357/2.155, allocations: 9.842 MB / 0.5857 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008986/2.156, allocations: 499.1 kB / 0.5861 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/2.156, allocations: 144.3 kB / 0.5863 GB, free: 8.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/2.157, allocations: 215.2 kB / 0.5865 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/2.157, allocations: 143.3 kB / 0.5866 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/2.157, allocations: 20 kB / 0.5866 GB, free: 8.512 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02808/2.185, allocations: 16.23 MB / 0.6025 GB, free: 8.258 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0006954/2.186, allocations: 0.5487 MB / 0.603 GB, free: 7.703 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003012/2.186, allocations: 398.8 kB / 0.6034 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.769e-05/2.186, allocations: 28 kB / 0.6034 GB, free: 7.281 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.943e-05/2.186, allocations: 11.88 kB / 0.6034 GB, free: 7.27 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: 77 (50) * Number of variables: 77 (77) Notification: Performance of [SIM] Bindings: time 0.002158/2.188, allocations: 1.817 MB / 0.6052 GB, free: 5.316 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003541/2.189, allocations: 244.1 kB / 0.6055 GB, free: 5.07 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.001493/2.19, allocations: 1.286 MB / 0.6067 GB, free: 3.754 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003073/2.19, allocations: 192.2 kB / 0.6069 GB, free: 3.523 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.002017/2.192, allocations: 1.395 MB / 0.6083 GB, free: 1.965 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002053/2.193, allocations: 154.5 kB / 0.6084 GB, free: 1.77 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001064/2.193, allocations: 96.69 kB / 0.6085 GB, free: 1.648 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002506/2.193, allocations: 240.5 kB / 0.6087 GB, free: 1.359 MB / 478.1 MB Notification: Performance of [SIM] Events: time 8.763e-05/2.193, allocations: 38.36 kB / 0.6088 GB, free: 1.324 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004662/2.194, allocations: 386.3 kB / 0.6091 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001569/2.195, allocations: 1.167 MB / 0.6103 GB, free: 15.76 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006803/2.196, allocations: 0.714 MB / 0.611 GB, free: 15.05 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.0006333/2.196, allocations: 448.2 kB / 0.6114 GB, free: 14.54 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.001233/2.198, allocations: 1.123 MB / 0.6125 GB, free: 13.41 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 5.216e-05/2.198, allocations: 37.3 kB / 0.6125 GB, free: 13.37 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0001347/2.198, allocations: 159.9 kB / 0.6127 GB, free: 13.21 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.002098/2.2, allocations: 1.551 MB / 0.6142 GB, free: 11.65 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0003794/2.2, allocations: 255.3 kB / 0.6144 GB, free: 11.41 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 9.72e-07/2.2, allocations: 0 / 0.6144 GB, free: 11.41 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005714/2.201, allocations: 433.3 kB / 0.6148 GB, free: 11.03 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.482e-06/2.201, allocations: 3.938 kB / 0.6149 GB, free: 11.03 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.0006064/2.202, allocations: 456.2 kB / 0.6153 GB, free: 10.61 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 9.448e-06/2.202, allocations: 4 kB / 0.6153 GB, free: 10.6 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.001454/2.203, allocations: 1.086 MB / 0.6164 GB, free: 9.547 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.8298877509660088] Failed to read output from testmodel.py, exit status != 0: 2.3920273359981366 2.4063661020000002 0.21694865100000002 Calling exit ...