Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.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.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9024/0.9024, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.185e-05, allocations: 3.672 kB / 237.7 MB, free: 1.859 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.Volume.TestVolumeATh): time 1.882/1.882, allocations: 297.3 MB / 0.5225 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6628/2.545, allocations: 196.2 MB / 0.7141 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/2.546, allocations: 23.47 kB / 0.7142 GB, free: 2.027 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeATh.mo:104:3-105:67:writable] Warning: Connector Ce1 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/VolumeATh.mo:106:3-108:57:writable] Warning: Connector Ce2 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/VolumeATh.mo:109:3-110: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/VolumeATh.mo:111:3-112: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/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). [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005826/2.547, allocations: 170.8 kB / 0.7143 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009245/2.548, allocations: 401.6 kB / 0.7147 GB, free: 2.027 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.04982/2.598, allocations: 14.24 MB / 0.7286 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002782/2.601, allocations: 1.54 MB / 0.7301 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008628/2.601, allocations: 0.7296 MB / 0.7308 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000771/2.602, allocations: 0.5526 MB / 0.7314 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/2.603, allocations: 0.5964 MB / 0.7319 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/2.603, allocations: 120.5 kB / 0.7321 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03909/2.642, allocations: 18.54 MB / 0.7502 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002216/2.644, allocations: 1.864 MB / 0.752 GB, free: 356 kB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.000752/2.645, allocations: 1.148 MB / 0.7531 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/2.646, allocations: 224.5 kB / 0.7533 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0003374/2.646, allocations: 41.88 kB / 0.7534 GB, free: 15.57 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: 286 (286) * Number of variables: 286 (282) Notification: Performance of Bindings: time 0.005459/2.651, allocations: 5.369 MB / 0.7586 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0008015/2.652, allocations: 0.7476 MB / 0.7593 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003289/2.656, allocations: 3.329 MB / 0.7626 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002502/2.656, allocations: 243 kB / 0.7628 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of Alias: time 0.009341/2.665, allocations: 7.65 MB / 0.7703 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of simplify2: time 0.000226/2.665, allocations: 92.64 kB / 0.7704 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0003767/2.666, allocations: 273.2 kB / 0.7706 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of Events: time 0.0002726/2.666, allocations: 155.6 kB / 0.7708 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0006179/2.667, allocations: 0.5119 MB / 0.7713 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of Causalize: time 0.002226/2.669, allocations: 2.066 MB / 0.7733 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001115/2.67, allocations: 1.037 MB / 0.7743 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of Inline: time 0.002422/2.672, allocations: 1.995 MB / 0.7763 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001135/2.673, allocations: 95.59 kB / 0.7764 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of Cleanup: time 8.017e-05/2.673, allocations: 74.61 kB / 0.7764 GB, free: 4.598 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: Table1DTemps.Tu. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) lumpedStraightPipe1.Q = ThermoSysPro.Functions.Utilities.LinearInterpolation_i(Table1DTemps.Tu, Table1DTemps.Ty, time) ($RES_SIM_1) Error: Internal error NBInitialization.main failed to apply modules!