Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9047/0.9047, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/2.962e-05, allocations: 5.406 kB / 237.7 MB, free: 1.801 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.TestControlValve): time 1.889/1.889, allocations: 294.9 MB / 0.5201 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2485/2.137, allocations: 187.7 MB / 0.7034 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/2.138, allocations: 11.94 kB / 0.7034 GB, free: 0.9141 MB / 0.5762 GB [/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). [/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/ControlValve.mo:44:3-45:68: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/ControlValve.mo:46:3-47:66:writable] Warning: Connector C2 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.0003321/2.138, allocations: 91.44 kB / 0.7035 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003719/2.138, allocations: 166.9 kB / 0.7037 GB, free: 0.6602 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.514/2.652, allocations: 11.7 MB / 0.7151 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008127/2.653, allocations: 483.1 kB / 0.7156 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/2.654, allocations: 226.5 kB / 0.7158 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/2.654, allocations: 180.3 kB / 0.716 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/2.654, allocations: 207.4 kB / 0.7162 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/2.654, allocations: 34.78 kB / 0.7162 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04266/2.697, allocations: 19.31 MB / 0.735 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0008117/2.698, allocations: 0.5841 MB / 0.7356 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002314/2.698, allocations: 370 kB / 0.736 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/2.698, allocations: 72.86 kB / 0.736 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001562/2.698, allocations: 12.94 kB / 0.7361 GB, free: 1.84 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 (87) * Number of variables: 87 (87) Notification: Performance of Bindings: time 0.002288/2.7, allocations: 1.847 MB / 0.7379 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0002063/2.701, allocations: 119.4 kB / 0.738 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001144/2.702, allocations: 0.9991 MB / 0.7389 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simplify1: time 6.458e-05/2.702, allocations: 67.75 kB / 0.739 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of Alias: time 0.002543/2.704, allocations: 2.335 MB / 0.7413 GB, free: 400 kB / 0.5762 GB Notification: Performance of simplify2: time 3.098e-05/2.704, allocations: 25.73 kB / 0.7413 GB, free: 400 kB / 0.5762 GB Notification: Performance of Detect States: time 0.0001221/2.705, allocations: 99.95 kB / 0.7414 GB, free: 356 kB / 0.5762 GB Notification: Performance of Events: time 0.0001114/2.705, allocations: 50.39 kB / 0.7415 GB, free: 352 kB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001489/2.705, allocations: 137.8 kB / 0.7416 GB, free: 308 kB / 0.5762 GB Error: Internal error NBSlice.resolveSkips failed because skip of 0 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: Constante1.y.signal. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) ControlValve.Cv = ThermoSysPro.Functions.Utilities.LinearInterpolation_i(ControlValve.caract[:, 1], ControlValve.caract[:, 2], Constante1.y.signal) ($RES_SIM_4)