Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.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.8566/0.8566, allocations: 153.8 MB / 173.5 MB, free: 4.297 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.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.307e-05, allocations: 4.953 kB / 251.1 MB, free: 3.852 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.Volume.TestTank): time 2.149/2.149, allocations: 309.4 MB / 0.5473 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2296/2.379, allocations: 164.8 MB / 0.7083 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/2.379, allocations: 8 kB / 0.7083 GB, free: 11.49 MB / 0.5763 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.0006424/2.38, allocations: 200.6 kB / 0.7085 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0007158/2.381, allocations: 357.3 kB / 0.7088 GB, free: 10.94 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.03233/2.413, allocations: 11.73 MB / 0.7202 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002109/2.415, allocations: 1.477 MB / 0.7217 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/2.416, allocations: 461.7 kB / 0.7221 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008535/2.417, allocations: 0.5761 MB / 0.7227 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/2.417, allocations: 422 kB / 0.7231 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/2.417, allocations: 72 kB / 0.7232 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03179/2.449, allocations: 18.16 MB / 0.7409 GB, free: 10 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001871/2.451, allocations: 1.79 MB / 0.7426 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0009161/2.452, allocations: 1.145 MB / 0.7438 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/2.452, allocations: 87.94 kB / 0.7438 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001361/2.452, allocations: 27.81 kB / 0.7439 GB, free: 6.922 MB / 0.6075 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.004983/2.457, allocations: 4.813 MB / 0.7486 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.001085/2.458, allocations: 0.8739 MB / 0.7494 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.004308/2.462, allocations: 4.072 MB / 0.7534 GB, free: 12.88 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.001047/2.463, allocations: 0.6002 MB / 0.754 GB, free: 12.22 MB / 0.6232 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.006071/2.47, allocations: 4.16 MB / 0.7581 GB, free: 7.613 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0008942/2.47, allocations: 0.4988 MB / 0.7585 GB, free: 7.047 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0003299/2.471, allocations: 276.1 kB / 0.7588 GB, free: 6.738 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0007305/2.471, allocations: 0.6767 MB / 0.7595 GB, free: 5.992 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0004515/2.472, allocations: 298.6 kB / 0.7598 GB, free: 5.703 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001692/2.474, allocations: 1.341 MB / 0.7611 GB, free: 4.355 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.005127/2.479, allocations: 3.643 MB / 0.7646 GB, free: 0.668 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.3542/2.833, allocations: 2.786 MB / 0.7673 GB, free: 38.57 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.002218/2.835, allocations: 1.269 MB / 0.7686 GB, free: 38.2 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.004303/2.84, allocations: 4.179 MB / 0.7727 GB, free: 38.17 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001625/2.84, allocations: 78.48 kB / 0.7727 GB, free: 38.11 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0006697/2.84, allocations: 0.6073 MB / 0.7733 GB, free: 38.11 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.007887/2.848, allocations: 4.651 MB / 0.7779 GB, free: 37.74 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.00176/2.85, allocations: 1.614 MB / 0.7794 GB, free: 37.5 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.723e-06/2.85, allocations: 0 / 0.7794 GB, free: 37.5 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.001571/2.852, allocations: 1.132 MB / 0.7806 GB, free: 37.36 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.308e-05/2.852, allocations: 1.969 kB / 0.7806 GB, free: 37.36 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 " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.358979710028507] Failed to read output from testmodel.py, exit status != 0: 2.9891150050098076 2.998333382 0.5438765689999999 Calling exit ...