Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe.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.9013/0.9013, allocations: 153.8 MB / 173.5 MB, free: 4.293 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.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe") translateModel(ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLumpedStraightPipe") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.243e-05, allocations: 2.281 kB / 251.1 MB, free: 3.809 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.TestLumpedStraightPipe): time 2.177/2.177, allocations: 308.5 MB / 0.5465 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2163/2.394, allocations: 161.1 MB / 0.7039 GB, free: 152 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/2.394, allocations: 4 kB / 0.7039 GB, free: 148 kB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Volumes/Tank.mo:71:3-72:53:writable] Warning: Connector Ce1 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/Volumes/Tank.mo:73:3-74:53:writable] Warning: Connector Cs2 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/Volumes/Tank.mo:78:3-79:55:writable] Warning: Connector Ce2 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/Volumes/Tank.mo:80:3-81:51:writable] Warning: Connector Cs1 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/Volumes/Tank.mo:71:3-72:53:writable] Warning: Connector Ce1 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/Volumes/Tank.mo:73:3-74:53:writable] Warning: Connector Cs2 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/Volumes/Tank.mo:78:3-79:55:writable] Warning: Connector Ce2 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/Volumes/Tank.mo:80:3-81:51:writable] Warning: Connector Cs1 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/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53: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.0005046/2.395, allocations: 148.1 kB / 0.704 GB, free: 0 / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0004737/2.395, allocations: 210.4 kB / 0.7042 GB, free: 15.79 MB / 0.5763 GB [/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.02938/2.425, allocations: 10.23 MB / 0.7142 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001646/2.426, allocations: 1.08 MB / 0.7153 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000496/2.427, allocations: 331.2 kB / 0.7156 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/2.428, allocations: 426.6 kB / 0.716 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/2.428, allocations: 358.4 kB / 0.7163 GB, free: 3.375 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/2.428, allocations: 72 kB / 0.7164 GB, free: 3.305 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02806/2.456, allocations: 15.53 MB / 0.7316 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001481/2.458, allocations: 1.347 MB / 0.7329 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0005564/2.458, allocations: 0.7748 MB / 0.7337 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/2.458, allocations: 56 kB / 0.7337 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.538e-05/2.458, allocations: 15.94 kB / 0.7337 GB, free: 1.535 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 (119) * Number of variables: 146 (146) Notification: Performance of [SIM] Bindings: time 0.003708/2.462, allocations: 3.486 MB / 0.7371 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0008648/2.463, allocations: 0.7234 MB / 0.7378 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.003271/2.466, allocations: 3.253 MB / 0.741 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.0009428/2.467, allocations: 0.6117 MB / 0.7416 GB, free: 9.199 MB / 0.6075 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.003792/2.471, allocations: 3.02 MB / 0.7446 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0006408/2.472, allocations: 456 kB / 0.745 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0002542/2.472, allocations: 224.1 kB / 0.7452 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0006023/2.472, allocations: 0.5417 MB / 0.7457 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0004705/2.473, allocations: 295.2 kB / 0.746 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.001248/2.474, allocations: 1.051 MB / 0.747 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.003049/2.477, allocations: 2.267 MB / 0.7493 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002184/2.479, allocations: 2.263 MB / 0.7515 GB, free: 14.53 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.00151/2.481, allocations: 0.909 MB / 0.7524 GB, free: 13.51 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.003297/2.484, allocations: 3.202 MB / 0.7555 GB, free: 10.29 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.000104/2.484, allocations: 60.05 kB / 0.7555 GB, free: 10.22 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0004374/2.485, allocations: 483.4 kB / 0.756 GB, free: 9.746 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.004343/2.489, allocations: 3.21 MB / 0.7591 GB, free: 6.488 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.0009829/2.49, allocations: 0.7131 MB / 0.7598 GB, free: 5.785 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.252e-06/2.49, allocations: 0 / 0.7598 GB, free: 5.785 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.001257/2.491, allocations: 0.8532 MB / 0.7607 GB, free: 4.957 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.172e-05/2.491, allocations: 5 kB / 0.7607 GB, free: 4.949 MB / 0.6232 GB [/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_18.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_18.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_18.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_18.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_18.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_18.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_18.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_18.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_18.x [/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_9.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_9.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_9.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_9.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_9.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_9.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_9.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_9.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_9.x Notification: Performance of [SIM] Tearing: time 0.0006125/2.492, allocations: 483.2 kB / 0.7611 GB, free: 4.477 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 1.558e-05/2.492, allocations: 8 kB / 0.7611 GB, free: 4.469 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.005005/2.497, allocations: 3.599 MB / 0.7647 GB, free: 0.9062 MB / 0.6232 GB [/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_18.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.434107034001499] Failed to read output from testmodel.py, exit status != 0: 3.0174866219749674 3.02816316 0.5671022219999999 Calling exit ...