Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.92/0.92, 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.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.405e-05, allocations: 6 kB / 251.1 MB, free: 3.793 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.TestPipePressureLoss): time 2.155/2.155, allocations: 307.6 MB / 0.5456 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0404/2.195, allocations: 30.53 MB / 0.5754 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/2.195, allocations: 4 kB / 0.5754 GB, free: 4.066 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/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.0004732/2.196, allocations: 112.6 kB / 0.5755 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/2.196, allocations: 111.2 kB / 0.5756 GB, free: 3.848 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.03352/2.23, allocations: 9.691 MB / 0.5851 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/2.231, allocations: 426.2 kB / 0.5855 GB, free: 9.742 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/2.231, allocations: 108.5 kB / 0.5856 GB, free: 9.637 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/2.231, allocations: 179.2 kB / 0.5858 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/2.231, allocations: 95.45 kB / 0.5859 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/2.231, allocations: 16 kB / 0.5859 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03309/2.264, allocations: 16.17 MB / 0.6017 GB, free: 9.16 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0006024/2.265, allocations: 0.5062 MB / 0.6022 GB, free: 8.648 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002604/2.265, allocations: 359.2 kB / 0.6025 GB, free: 8.293 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/2.265, allocations: 28 kB / 0.6025 GB, free: 8.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.462e-05/2.265, allocations: 4 kB / 0.6025 GB, free: 8.262 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: 76 (49) * Number of variables: 76 (76) Notification: Performance of [SIM] Bindings: time 0.002021/2.267, allocations: 1.706 MB / 0.6042 GB, free: 6.422 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003052/2.268, allocations: 229.3 kB / 0.6044 GB, free: 6.184 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.001396/2.269, allocations: 1.243 MB / 0.6056 GB, free: 4.91 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00032/2.27, allocations: 193.8 kB / 0.6058 GB, free: 4.672 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.002002/2.272, allocations: 1.339 MB / 0.6071 GB, free: 3.18 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002114/2.272, allocations: 154.4 kB / 0.6073 GB, free: 2.988 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001229/2.272, allocations: 100.3 kB / 0.6074 GB, free: 2.863 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002906/2.272, allocations: 244.3 kB / 0.6076 GB, free: 2.566 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.0001098/2.272, allocations: 33.66 kB / 0.6076 GB, free: 2.535 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004822/2.273, allocations: 376.7 kB / 0.608 GB, free: 2.164 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001664/2.274, allocations: 1.163 MB / 0.6091 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007171/2.275, allocations: 0.6869 MB / 0.6098 GB, free: 304 kB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0007011/2.276, allocations: 408.1 kB / 0.6102 GB, free: 15.83 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.001368/2.277, allocations: 1.104 MB / 0.6113 GB, free: 14.72 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 5.286e-05/2.277, allocations: 25.38 kB / 0.6113 GB, free: 14.69 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0001773/2.277, allocations: 167.8 kB / 0.6114 GB, free: 14.53 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.001958/2.279, allocations: 1.386 MB / 0.6128 GB, free: 13.13 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.0004226/2.28, allocations: 276.9 kB / 0.6131 GB, free: 12.88 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 1.052e-06/2.28, allocations: 0 / 0.6131 GB, free: 12.88 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005642/2.28, allocations: 397.5 kB / 0.6134 GB, free: 12.52 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.445e-06/2.28, allocations: 4.984 kB / 0.6135 GB, free: 12.52 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_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.0006292/2.281, allocations: 478.9 kB / 0.6139 GB, free: 12.09 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 1.673e-05/2.281, allocations: 11.94 kB / 0.6139 GB, free: 12.07 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.001576/2.283, allocations: 1.069 MB / 0.615 GB, free: 11.04 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_5.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.928431717969943] Failed to read output from testmodel.py, exit status != 0: 2.4799943270045333 2.4942507259999998 0.22549517800000002 Calling exit ...