Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9098/0.9098, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.361e-05, allocations: 2.281 kB / 237.7 MB, free: 1.809 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve): time 1.852/1.852, allocations: 297.7 MB / 0.5228 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6307/2.483, allocations: 196.3 MB / 0.7146 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/2.484, allocations: 17.5 kB / 0.7146 GB, free: 2.059 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/DynamicReliefValve.mo:72:3-73:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/DynamicReliefValve.mo:74:3-76:57:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:104:3-105:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:106:3-107:73:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:108:3-109:75:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:110:3-111:71:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005692/2.484, allocations: 212.2 kB / 0.7148 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/2.486, allocations: 0.5237 MB / 0.7153 GB, free: 2.059 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.04785/2.534, allocations: 14.21 MB / 0.7292 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003472/2.537, allocations: 1.747 MB / 0.7309 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/2.538, allocations: 0.7789 MB / 0.7316 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/2.54, allocations: 0.6236 MB / 0.7323 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000944/2.541, allocations: 0.7028 MB / 0.7329 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/2.541, allocations: 137.5 kB / 0.7331 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04657/2.588, allocations: 22.03 MB / 0.7546 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.002783/2.59, allocations: 2.086 MB / 0.7566 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0008547/2.591, allocations: 1.261 MB / 0.7578 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/2.592, allocations: 239.3 kB / 0.7581 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.000351/2.592, allocations: 43.41 kB / 0.7581 GB, free: 14.2 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: 311 (311) * Number of variables: 311 (307) Notification: Performance of Bindings: time 0.006271/2.598, allocations: 6.096 MB / 0.7641 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001014/2.599, allocations: 0.8476 MB / 0.7649 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.004474/2.604, allocations: 3.849 MB / 0.7687 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003415/2.604, allocations: 290.8 kB / 0.7689 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of Alias: time 0.01073/2.615, allocations: 7.905 MB / 0.7767 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003633/2.615, allocations: 135.5 kB / 0.7768 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0005023/2.616, allocations: 397.2 kB / 0.7772 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of Events: time 0.0003387/2.616, allocations: 199.2 kB / 0.7774 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0008181/2.617, allocations: 0.6301 MB / 0.778 GB, free: 3.219 MB / 0.5919 GB Error: Internal error NBSlice.resolveSkips failed because skip of 0 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: ReliefValve.Ouv. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) ReliefValve.Cv = ThermoSysPro.Functions.Utilities.LinearInterpolation_i(ReliefValve.caract[:, 1], ReliefValve.caract[:, 2], ReliefValve.Ouv) ($RES_SIM_186)