Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank.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.8641/0.8641, allocations: 153.8 MB / 173.5 MB, free: 4.863 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.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank") translateModel(ThermoSysPro.Examples.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestTank") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/2.862e-05, allocations: 8.016 kB / 251.1 MB, free: 3.832 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.TestTank): time 1.963/1.963, allocations: 309.5 MB / 0.5475 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.535/2.498, allocations: 164.8 MB / 0.7084 GB, free: 8.297 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006661/2.498, allocations: 9.312 kB / 0.7084 GB, free: 8.289 MB / 0.5607 GB [/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). [/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). [/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/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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.000874/2.499, allocations: 205 kB / 0.7086 GB, free: 8.09 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.001091/2.5, allocations: 349.4 kB / 0.709 GB, free: 7.746 MB / 0.5607 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.03527/2.536, allocations: 11.73 MB / 0.7204 GB, free: 12.03 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001871/2.538, allocations: 1.477 MB / 0.7218 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/2.538, allocations: 459.3 kB / 0.7223 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007445/2.539, allocations: 0.5761 MB / 0.7229 GB, free: 9.508 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/2.539, allocations: 418 kB / 0.7232 GB, free: 9.098 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/2.539, allocations: 72 kB / 0.7233 GB, free: 9.027 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0319/2.571, allocations: 18.16 MB / 0.7411 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001868/2.573, allocations: 1.79 MB / 0.7428 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0008191/2.574, allocations: 1.148 MB / 0.7439 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/2.574, allocations: 88 kB / 0.744 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001427/2.574, allocations: 23.88 kB / 0.744 GB, free: 3.762 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: 224 (161) * Number of variables: 224 (224) Notification: Performance of [SIM] Bindings: time 0.004958/2.579, allocations: 4.802 MB / 0.7487 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.001139/2.58, allocations: 0.8773 MB / 0.7496 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.004339/2.585, allocations: 4.069 MB / 0.7536 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.001019/2.586, allocations: 0.6076 MB / 0.7541 GB, free: 9.074 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.005684/2.592, allocations: 4.168 MB / 0.7582 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.000834/2.592, allocations: 0.5042 MB / 0.7587 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0004089/2.593, allocations: 276.1 kB / 0.759 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0009021/2.594, allocations: 0.6691 MB / 0.7596 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0005477/2.594, allocations: 299 kB / 0.7599 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.001931/2.596, allocations: 1.338 MB / 0.7612 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.006056/2.602, allocations: 3.643 MB / 0.7648 GB, free: 13.57 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00304/2.605, allocations: 2.787 MB / 0.7675 GB, free: 10.78 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.002254/2.607, allocations: 1.287 MB / 0.7688 GB, free: 9.355 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.004472/2.612, allocations: 4.162 MB / 0.7728 GB, free: 5.18 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001736/2.612, allocations: 84.97 kB / 0.7729 GB, free: 5.074 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0006172/2.613, allocations: 0.6126 MB / 0.7735 GB, free: 4.461 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.007018/2.62, allocations: 4.651 MB / 0.778 GB, free: 15.69 MB / 0.6388 GB Notification: Performance of [INI] Tearing: time 0.002281/2.622, allocations: 1.606 MB / 0.7796 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of [SIM] Initialization: time 2.034e-06/2.622, allocations: 0 / 0.7796 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of [SIM] DAE-Mode: time 0.002119/2.624, allocations: 1.14 MB / 0.7807 GB, free: 13.02 MB / 0.6388 GB Notification: Performance of [SIM] Remove Dummies: time 1.34e-05/2.624, allocations: 1 kB / 0.7807 GB, free: 13.02 MB / 0.6388 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 " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.445942019985523] Failed to read output from testmodel.py, exit status != 0: 3.054654052015394 3.064068581 0.48724607299999995 Calling exit ...