Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer.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.9056/0.9056, allocations: 153.8 MB / 173.5 MB, free: 4.855 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.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestPressurizer") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.363e-05, allocations: 7.312 kB / 251.1 MB, free: 3.902 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.TestPressurizer): time 1.968/1.968, allocations: 310 MB / 0.5479 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5223/2.49, allocations: 166.3 MB / 0.7104 GB, free: 6.285 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005074/2.491, allocations: 20 kB / 0.7104 GB, free: 6.266 MB / 0.5607 GB [/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/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/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/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/SinkQ.mo:24:3-26:16: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/Pressurizer.mo:63:3-65:43:writable] Warning: Connector Cas 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/Pressurizer.mo:66:3-67:83:writable] Warning: Connector Cs 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/Pressurizer.mo:83:3-84:83:writable] Warning: Connector Cex 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/SinkQ.mo:24:3-26:16: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.0008612/2.492, allocations: 361.8 kB / 0.7107 GB, free: 5.91 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.000824/2.493, allocations: 484.9 kB / 0.7112 GB, free: 5.434 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.03374/2.526, allocations: 12.22 MB / 0.7231 GB, free: 9.223 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002674/2.529, allocations: 1.844 MB / 0.7249 GB, free: 7.371 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009032/2.53, allocations: 0.6582 MB / 0.7256 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009089/2.531, allocations: 0.7086 MB / 0.7262 GB, free: 5.984 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/2.531, allocations: 0.5482 MB / 0.7268 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/2.532, allocations: 104 kB / 0.7269 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03353/2.565, allocations: 16.45 MB / 0.7429 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.002269/2.567, allocations: 2.248 MB / 0.7451 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0009723/2.568, allocations: 1.454 MB / 0.7466 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/2.569, allocations: 103.9 kB / 0.7467 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0002487/2.569, allocations: 35.75 kB / 0.7467 GB, free: 0.9766 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: 274 (207) * Number of variables: 274 (274) Notification: Performance of [SIM] Bindings: time 0.006085/2.575, allocations: 5.976 MB / 0.7525 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.001221/2.576, allocations: 0.8881 MB / 0.7534 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.00495/2.581, allocations: 4.164 MB / 0.7575 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.001159/2.582, allocations: 0.6338 MB / 0.7581 GB, free: 4.875 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.007416/2.59, allocations: 5.024 MB / 0.763 GB, free: 15.36 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0007868/2.59, allocations: 0.4943 MB / 0.7635 GB, free: 14.81 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0003325/2.591, allocations: 280.1 kB / 0.7637 GB, free: 14.5 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0008235/2.592, allocations: 0.7066 MB / 0.7644 GB, free: 13.73 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.000256/2.592, allocations: 153.6 kB / 0.7646 GB, free: 13.59 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001507/2.593, allocations: 1.243 MB / 0.7658 GB, free: 12.33 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.004797/2.598, allocations: 3.42 MB / 0.7691 GB, free: 8.859 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002538/2.601, allocations: 2.486 MB / 0.7716 GB, free: 6.371 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.002641/2.603, allocations: 1.551 MB / 0.7731 GB, free: 4.699 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.00463/2.608, allocations: 4.172 MB / 0.7771 GB, free: 0.5156 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0002291/2.608, allocations: 92.55 kB / 0.7772 GB, free: 408 kB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0006736/2.609, allocations: 0.597 MB / 0.7778 GB, free: 15.8 MB / 0.6388 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) pressurizer.P = $START.pressurizer.P ($RES_SRT_304); [SCAL] (1) pressurizer.Ap = pressurizer.Rp * 3.141592653589793 * pressurizer.Rp ($RES_BND_310); Notification: Performance of [INI] Causalize: time 0.01391/2.623, allocations: 9.36 MB / 0.787 GB, free: 6.262 MB / 0.6388 GB Notification: Performance of [INI] Tearing: time 0.002455/2.625, allocations: 1.79 MB / 0.7887 GB, free: 4.516 MB / 0.6388 GB Notification: Performance of [SIM] Initialization: time 1.483e-06/2.625, allocations: 0 / 0.7887 GB, free: 4.516 MB / 0.6388 GB Notification: Performance of [SIM] DAE-Mode: time 0.001887/2.627, allocations: 1.276 MB / 0.79 GB, free: 3.367 MB / 0.6388 GB Notification: Performance of [SIM] Remove Dummies: time 1.326e-05/2.627, allocations: 1 kB / 0.79 GB, free: 3.363 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_6.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_6.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_6.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_6.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_6.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_6.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_6.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_6.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_6.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_4.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_4.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_4.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_4.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_4.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_4.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_4.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_4.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_4.x " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.434853745042346] Failed to read output from testmodel.py, exit status != 0: 2.998107974010054 3.006703588 0.435456855 Calling exit ...