Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.9024/0.9024, 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.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.36e-05, allocations: 5.422 kB / 251.1 MB, free: 3.84 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.TestSingularPressureLoss): time 1.956/1.956, allocations: 307.5 MB / 0.5456 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3378/2.294, allocations: 30.49 MB / 0.5753 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/2.294, allocations: 5.562 kB / 0.5754 GB, free: 13.2 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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52: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.0003505/2.294, allocations: 103 kB / 0.5755 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/2.294, allocations: 114.7 kB / 0.5756 GB, free: 13.12 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.02896/2.323, allocations: 9.674 MB / 0.585 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007444/2.324, allocations: 403.7 kB / 0.5854 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/2.324, allocations: 104.9 kB / 0.5855 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/2.325, allocations: 164.2 kB / 0.5857 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/2.325, allocations: 97.16 kB / 0.5857 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/2.325, allocations: 15.59 kB / 0.5858 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.027/2.352, allocations: 16.17 MB / 0.6016 GB, free: 3.5 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0004338/2.352, allocations: 487.2 kB / 0.602 GB, free: 3.031 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001204/2.352, allocations: 343.5 kB / 0.6023 GB, free: 2.699 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/2.353, allocations: 24 kB / 0.6024 GB, free: 2.676 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.863e-05/2.353, allocations: 9.219 kB / 0.6024 GB, free: 2.668 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: 74 (47) * Number of variables: 74 (74) Notification: Performance of [SIM] Bindings: time 0.001154/2.354, allocations: 1.651 MB / 0.604 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002021/2.354, allocations: 228.1 kB / 0.6042 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.001093/2.355, allocations: 1.216 MB / 0.6054 GB, free: 15.51 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003045/2.355, allocations: 194.9 kB / 0.6056 GB, free: 15.28 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.00199/2.357, allocations: 1.319 MB / 0.6069 GB, free: 13.85 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002045/2.358, allocations: 156.9 kB / 0.607 GB, free: 13.66 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001134/2.358, allocations: 94.31 kB / 0.6071 GB, free: 13.55 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002442/2.358, allocations: 234.6 kB / 0.6073 GB, free: 13.27 MB / 478.1 MB Notification: Performance of [SIM] Events: time 8.733e-05/2.358, allocations: 33.83 kB / 0.6074 GB, free: 13.24 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004326/2.358, allocations: 360.1 kB / 0.6077 GB, free: 12.91 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001541/2.36, allocations: 1.123 MB / 0.6088 GB, free: 11.79 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006681/2.361, allocations: 0.6564 MB / 0.6094 GB, free: 11.15 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0006202/2.361, allocations: 413.2 kB / 0.6098 GB, free: 10.7 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.001269/2.363, allocations: 1.061 MB / 0.6109 GB, free: 9.676 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 5.303e-05/2.363, allocations: 28.09 kB / 0.6109 GB, free: 9.645 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0001312/2.363, allocations: 156.5 kB / 0.611 GB, free: 9.5 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.001873/2.365, allocations: 1.367 MB / 0.6124 GB, free: 8.137 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0003517/2.365, allocations: 248.8 kB / 0.6126 GB, free: 7.91 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 5.71e-07/2.365, allocations: 0 / 0.6126 GB, free: 7.91 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000548/2.365, allocations: 418.2 kB / 0.613 GB, free: 7.578 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.095e-06/2.365, allocations: 1.25 kB / 0.613 GB, free: 7.578 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.0006005/2.366, allocations: 449.5 kB / 0.6134 GB, free: 7.18 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.172e-05/2.366, allocations: 4.5 kB / 0.6135 GB, free: 7.176 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.001481/2.368, allocations: 1.047 MB / 0.6145 GB, free: 6.266 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.9809696119627915] Failed to read output from testmodel.py, exit status != 0: 2.5695535899722017 2.584164286 0.22833730700000002 Calling exit ...