Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC.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.8595/0.8595, allocations: 153.8 MB / 173.5 MB, free: 4.867 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.TestPressurizer_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPressurizer_CC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.455e-05, allocations: 3.594 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.SimpleExamples.TestPressurizer_CC): time 1.936/1.936, allocations: 310.1 MB / 0.5481 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5484/2.485, allocations: 166.4 MB / 0.7105 GB, free: 6.207 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/2.486, allocations: 12.94 kB / 0.7105 GB, free: 6.195 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.001051/2.487, allocations: 361.8 kB / 0.7109 GB, free: 5.84 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/2.488, allocations: 488.8 kB / 0.7114 GB, free: 5.359 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.03892/2.527, allocations: 12.21 MB / 0.7233 GB, free: 9.16 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002926/2.53, allocations: 1.837 MB / 0.7251 GB, free: 7.312 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/2.531, allocations: 0.66 MB / 0.7257 GB, free: 6.633 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/2.532, allocations: 0.7085 MB / 0.7264 GB, free: 5.922 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006645/2.533, allocations: 0.5482 MB / 0.7269 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/2.533, allocations: 108 kB / 0.727 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03407/2.567, allocations: 16.45 MB / 0.7431 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.002477/2.569, allocations: 2.251 MB / 0.7453 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001182/2.57, allocations: 1.457 MB / 0.7467 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002513/2.571, allocations: 96 kB / 0.7468 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0002852/2.571, allocations: 36.78 kB / 0.7469 GB, free: 0.9141 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.006714/2.578, allocations: 5.98 MB / 0.7527 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.001204/2.579, allocations: 0.8776 MB / 0.7536 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.004811/2.584, allocations: 4.167 MB / 0.7576 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.001203/2.585, allocations: 0.6334 MB / 0.7582 GB, free: 4.812 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.007896/2.593, allocations: 5.03 MB / 0.7632 GB, free: 15.29 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0008563/2.594, allocations: 0.4888 MB / 0.7636 GB, free: 14.75 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0003443/2.594, allocations: 292 kB / 0.7639 GB, free: 14.43 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0009129/2.595, allocations: 0.6919 MB / 0.7646 GB, free: 13.67 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0002714/2.595, allocations: 156.9 kB / 0.7647 GB, free: 13.52 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001574/2.597, allocations: 1.243 MB / 0.7659 GB, free: 12.27 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.006169/2.603, allocations: 3.424 MB / 0.7693 GB, free: 8.793 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003223/2.606, allocations: 2.49 MB / 0.7717 GB, free: 6.301 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.003061/2.609, allocations: 1.534 MB / 0.7732 GB, free: 4.645 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.005374/2.615, allocations: 4.184 MB / 0.7773 GB, free: 464 kB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0002521/2.615, allocations: 92.61 kB / 0.7774 GB, free: 344 kB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0006694/2.616, allocations: 0.5931 MB / 0.778 GB, free: 15.74 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.01481/2.63, allocations: 9.361 MB / 0.7871 GB, free: 6.199 MB / 0.6388 GB Notification: Performance of [INI] Tearing: time 0.002385/2.633, allocations: 1.791 MB / 0.7889 GB, free: 4.449 MB / 0.6388 GB Notification: Performance of [SIM] Initialization: time 1.804e-06/2.633, allocations: 0 / 0.7889 GB, free: 4.449 MB / 0.6388 GB Notification: Performance of [SIM] DAE-Mode: time 0.001979/2.635, allocations: 1.263 MB / 0.7901 GB, free: 3.309 MB / 0.6388 GB Notification: Performance of [SIM] Remove Dummies: time 1.573e-05/2.635, allocations: 4.938 kB / 0.7901 GB, free: 3.305 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.393860359035898] Failed to read output from testmodel.py, exit status != 0: 3.0212608560104854 3.028118096 0.454689271 Calling exit ...