Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal.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.TestTankHorizontal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTankHorizontal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9723/0.9723, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.152e-05, allocations: 3.703 kB / 237.8 MB, free: 1.758 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.TestTankHorizontal): time 1.882/1.882, allocations: 297.8 MB / 0.523 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7029/2.585, allocations: 196.4 MB / 0.7148 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009517/2.586, allocations: 20.16 kB / 0.7148 GB, free: 2.043 MB / 0.5762 GB [/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/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/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/Volumes/TankHorizontal.mo:136:3-137:66: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/TankHorizontal.mo:138:3-139:74: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/TankHorizontal.mo:143:3-144:68: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/TankHorizontal.mo:145:3-146:72: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005084/2.586, allocations: 157 kB / 0.7149 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/2.587, allocations: 400 kB / 0.7153 GB, free: 2.039 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.04931/2.637, allocations: 14.32 MB / 0.7293 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002766/2.639, allocations: 1.865 MB / 0.7311 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/2.64, allocations: 0.8322 MB / 0.7319 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009686/2.641, allocations: 0.6695 MB / 0.7326 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007635/2.642, allocations: 0.7185 MB / 0.7333 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/2.642, allocations: 153.3 kB / 0.7334 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04548/2.688, allocations: 22.27 MB / 0.7552 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.002734/2.691, allocations: 2.122 MB / 0.7572 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001152/2.692, allocations: 1.248 MB / 0.7585 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005867/2.692, allocations: 238.9 kB / 0.7587 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0003379/2.693, allocations: 43.94 kB / 0.7587 GB, free: 14.11 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: 310 (310) * Number of variables: 310 (306) Notification: Performance of Bindings: time 0.007096/2.7, allocations: 6.238 MB / 0.7648 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001274/2.701, allocations: 0.9194 MB / 0.7657 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.005445/2.707, allocations: 4.331 MB / 0.77 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0005191/2.707, allocations: 331.7 kB / 0.7703 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of Alias: time 0.01141/2.719, allocations: 7.862 MB / 0.7779 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0004944/2.719, allocations: 174.4 kB / 0.7781 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of Detect States: time 0.000647/2.72, allocations: 464.9 kB / 0.7786 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of Events: time 0.0004638/2.72, allocations: 294.5 kB / 0.7788 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001026/2.721, allocations: 0.7745 MB / 0.7796 GB, free: 1.73 MB / 0.5919 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [DER-] (1) Real $DER.Tank1.yLevel.signal slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) Tank1.rho = ThermoSysPro.Properties.Fluid.Density_Ph(Tank1.P, PerteDP2.C2.h_vol_1, 1, Tank1.mode, 0.0, 0.0, 0.0, 0.0) ($RES_$AUX_324) slice: {}