Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.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.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9048/0.9048, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.59e-05, allocations: 5.734 kB / 237.8 MB, free: 1.789 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.SimpleExamples.TestBend): time 1.945/1.946, allocations: 295 MB / 0.5203 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.8586/2.804, allocations: 190.5 MB / 0.7063 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/2.805, allocations: 6.469 kB / 0.7063 GB, free: 2.102 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/Bend.mo:57:3-58: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/Bend.mo:59:3-60:67: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.0005789/2.805, allocations: 205.3 kB / 0.7065 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007166/2.806, allocations: 278.6 kB / 0.7068 GB, free: 2.102 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.0501/2.856, allocations: 12.52 MB / 0.719 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001553/2.858, allocations: 0.5921 MB / 0.7196 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/2.858, allocations: 290.3 kB / 0.7199 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/2.859, allocations: 257 kB / 0.7201 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/2.859, allocations: 300.9 kB / 0.7204 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/2.859, allocations: 42.47 kB / 0.7205 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05147/2.911, allocations: 20.41 MB / 0.7404 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001069/2.912, allocations: 0.6832 MB / 0.7411 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002893/2.912, allocations: 427.3 kB / 0.7415 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/2.912, allocations: 76.84 kB / 0.7415 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001828/2.913, allocations: 17.38 kB / 0.7415 GB, free: 1.359 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: 99 (99) * Number of variables: 99 (99) Notification: Performance of Bindings: time 0.002791/2.915, allocations: 2.116 MB / 0.7436 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0002464/2.916, allocations: 147.9 kB / 0.7438 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001561/2.917, allocations: 1.165 MB / 0.7449 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simplify1: time 8.511e-05/2.917, allocations: 74.38 kB / 0.745 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of Alias: time 0.003541/2.921, allocations: 2.584 MB / 0.7475 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simplify2: time 6.541e-05/2.921, allocations: 34.84 kB / 0.7475 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0002041/2.921, allocations: 124.2 kB / 0.7476 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of Events: time 0.000209/2.921, allocations: 95.81 kB / 0.7477 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002931/2.922, allocations: 198.7 kB / 0.7479 GB, free: 15.42 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: Bend.TB1.u.signal. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Bend.yB1 = ThermoSysPro.Functions.Utilities.LinearInterpolation_i(Bend.TB1.Tu, Bend.TB1.Ty, Bend.TB1.u.signal) ($RES_SIM_36)