Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.857/0.857, allocations: 153.8 MB / 173.5 MB, free: 4.852 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.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/2.903e-05, allocations: 4.672 kB / 251.1 MB, free: 3.914 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.PressureLoss.TestPipePressureLoss): time 1.909/1.909, allocations: 307.5 MB / 0.5455 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3377/2.247, allocations: 30.51 MB / 0.5753 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/2.247, allocations: 2.5 kB / 0.5753 GB, free: 13.07 MB / 462.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/PipePressureLoss.mo:35:3-37: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/PipePressureLoss.mo:38:3-40: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.0003838/2.248, allocations: 106.2 kB / 0.5754 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/2.248, allocations: 120.5 kB / 0.5755 GB, free: 13 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.02543/2.273, allocations: 9.67 MB / 0.5849 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007471/2.274, allocations: 423.8 kB / 0.5853 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/2.274, allocations: 111.7 kB / 0.5854 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/2.275, allocations: 173.2 kB / 0.5856 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/2.275, allocations: 96.72 kB / 0.5857 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/2.275, allocations: 20.75 kB / 0.5857 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02892/2.304, allocations: 16.17 MB / 0.6015 GB, free: 3.434 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0004918/2.304, allocations: 0.5046 MB / 0.602 GB, free: 2.938 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001544/2.305, allocations: 366.6 kB / 0.6023 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/2.305, allocations: 24 kB / 0.6024 GB, free: 2.562 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.277e-05/2.305, allocations: 15.88 kB / 0.6024 GB, free: 2.547 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: 76 (49) * Number of variables: 76 (76) Notification: Performance of [SIM] Bindings: time 0.001333/2.306, allocations: 1.703 MB / 0.604 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002206/2.306, allocations: 233.5 kB / 0.6043 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.001197/2.307, allocations: 1.245 MB / 0.6055 GB, free: 15.3 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002844/2.308, allocations: 188.6 kB / 0.6057 GB, free: 15.07 MB / 478.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.001937/2.31, allocations: 1.352 MB / 0.607 GB, free: 13.62 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002101/2.31, allocations: 148.2 kB / 0.6071 GB, free: 13.43 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001145/2.31, allocations: 100.6 kB / 0.6072 GB, free: 13.31 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002472/2.31, allocations: 239.3 kB / 0.6074 GB, free: 13.03 MB / 478.1 MB Notification: Performance of [SIM] Events: time 9.275e-05/2.31, allocations: 40.47 kB / 0.6075 GB, free: 13 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004676/2.311, allocations: 374.8 kB / 0.6078 GB, free: 12.65 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001597/2.312, allocations: 1.144 MB / 0.609 GB, free: 11.5 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006638/2.313, allocations: 0.6918 MB / 0.6096 GB, free: 10.84 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.000666/2.314, allocations: 416.9 kB / 0.61 GB, free: 10.39 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.001304/2.315, allocations: 1.102 MB / 0.6111 GB, free: 9.316 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 5.525e-05/2.315, allocations: 29.38 kB / 0.6111 GB, free: 9.281 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0001317/2.315, allocations: 162.3 kB / 0.6113 GB, free: 9.133 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.001896/2.317, allocations: 1.393 MB / 0.6126 GB, free: 7.738 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0003706/2.318, allocations: 263 kB / 0.6129 GB, free: 7.504 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 8.52e-07/2.318, allocations: 0 / 0.6129 GB, free: 7.504 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005078/2.318, allocations: 414.5 kB / 0.6133 GB, free: 7.176 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.851e-06/2.318, allocations: 0 / 0.6133 GB, free: 7.176 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_5.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_5.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_5.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_5.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_5.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_5.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_5.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_5.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_5.x Notification: Performance of [SIM] Tearing: time 0.0005961/2.319, allocations: 483.5 kB / 0.6138 GB, free: 6.746 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 8.345e-06/2.319, allocations: 0.5312 kB / 0.6138 GB, free: 6.746 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.001514/2.32, allocations: 1.068 MB / 0.6148 GB, free: 5.816 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_5.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.9077195309801027] Failed to read output from testmodel.py, exit status != 0: 2.5158002270036377 2.530020664 0.222048864 Calling exit ...