Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.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.8679/0.8679, allocations: 153.8 MB / 173.5 MB, free: 4.797 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.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.614e-05, allocations: 4.109 kB / 251.1 MB, free: 3.891 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.PressureLoss.TestCheckValve): time 1.929/1.929, allocations: 307.6 MB / 0.5455 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3698/2.299, allocations: 30.55 MB / 0.5754 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/2.299, allocations: 4.438 kB / 0.5754 GB, free: 13.45 MB / 462.1 MB [/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/PressureLosses/CheckValve.mo:38:3-39:49: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/CheckValve.mo:40:3-41:47: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.0003778/2.299, allocations: 108.8 kB / 0.5755 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/2.3, allocations: 113.2 kB / 0.5756 GB, free: 13.37 MB / 462.1 MB [/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.02787/2.327, allocations: 9.696 MB / 0.5851 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008106/2.328, allocations: 453.1 kB / 0.5855 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/2.329, allocations: 122.3 kB / 0.5856 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/2.329, allocations: 183.1 kB / 0.5858 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/2.329, allocations: 110.2 kB / 0.5859 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/2.329, allocations: 20.44 kB / 0.5859 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03148/2.361, allocations: 16.17 MB / 0.6017 GB, free: 3.355 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0004783/2.361, allocations: 0.5439 MB / 0.6022 GB, free: 2.82 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.000134/2.361, allocations: 386.7 kB / 0.6026 GB, free: 2.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/2.361, allocations: 28 kB / 0.6026 GB, free: 2.418 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.653e-05/2.361, allocations: 11.88 kB / 0.6026 GB, free: 2.406 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 (52) * Number of variables: 79 (79) Notification: Performance of [SIM] Bindings: time 0.00134/2.363, allocations: 1.812 MB / 0.6044 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002075/2.363, allocations: 232.5 kB / 0.6046 GB, free: 304 kB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.00138/2.364, allocations: 1.326 MB / 0.6059 GB, free: 14.98 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004063/2.365, allocations: 217.3 kB / 0.6061 GB, free: 14.74 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.002041/2.367, allocations: 1.407 MB / 0.6075 GB, free: 13.23 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002501/2.367, allocations: 168.8 kB / 0.6077 GB, free: 13.03 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000125/2.367, allocations: 115.1 kB / 0.6078 GB, free: 12.89 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0003706/2.367, allocations: 269.9 kB / 0.608 GB, free: 12.59 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.0001514/2.368, allocations: 72.91 kB / 0.6081 GB, free: 12.53 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006026/2.368, allocations: 424.7 kB / 0.6085 GB, free: 12.14 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001926/2.37, allocations: 1.34 MB / 0.6098 GB, free: 10.8 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000858/2.371, allocations: 0.8208 MB / 0.6106 GB, free: 10 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.000758/2.372, allocations: 460.5 kB / 0.6111 GB, free: 9.523 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.001534/2.373, allocations: 1.244 MB / 0.6123 GB, free: 8.305 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 5.788e-05/2.373, allocations: 37.3 kB / 0.6123 GB, free: 8.266 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0001611/2.374, allocations: 186.1 kB / 0.6125 GB, free: 8.098 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.003571/2.377, allocations: 2.569 MB / 0.615 GB, free: 5.523 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0004174/2.377, allocations: 302.2 kB / 0.6153 GB, free: 5.262 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 2.194e-06/2.377, allocations: 0.7188 kB / 0.6153 GB, free: 5.262 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005806/2.378, allocations: 446.5 kB / 0.6157 GB, free: 4.91 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.683e-06/2.378, allocations: 0.5 kB / 0.6157 GB, free: 4.91 MB / 478.1 MB " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 3.982242744998075] Failed to read output from testmodel.py, exit status != 0: 2.567623343958985 2.582802693 0.21773815099999996 Calling exit ...