Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.9018/0.9018, allocations: 153.8 MB / 173.5 MB, free: 4.855 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.376e-05, allocations: 3.594 kB / 251.1 MB, free: 3.848 MB / 206.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve): time 1.932/1.932, allocations: 308.3 MB / 0.5463 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5325/2.465, allocations: 164.2 MB / 0.7066 GB, free: 10.12 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/2.465, allocations: 8 kB / 0.7066 GB, free: 10.11 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/IdealSwitchValve.mo:23:3-25:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/IdealSwitchValve.mo:26:3-28:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005/2.466, allocations: 140.3 kB / 0.7068 GB, free: 9.973 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0004184/2.466, allocations: 194.5 kB / 0.707 GB, free: 9.781 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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. Notification: Performance of NFTyping.typeClassSections: time 0.03486/2.501, allocations: 11.44 MB / 0.7181 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001195/2.502, allocations: 0.8065 MB / 0.7189 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/2.502, allocations: 249.2 kB / 0.7191 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/2.503, allocations: 326.8 kB / 0.7195 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/2.503, allocations: 210.8 kB / 0.7197 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/2.503, allocations: 36 kB / 0.7197 GB, free: 12.74 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03076/2.534, allocations: 18.13 MB / 0.7374 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0009974/2.535, allocations: 0.9901 MB / 0.7384 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0004358/2.535, allocations: 0.6629 MB / 0.739 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/2.536, allocations: 52 kB / 0.7391 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.443e-05/2.536, allocations: 16.78 kB / 0.7391 GB, free: 8.844 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: 131 (94) * Number of variables: 131 (131) Notification: Performance of [SIM] Bindings: time 0.00292/2.539, allocations: 2.842 MB / 0.7419 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004686/2.539, allocations: 393.5 kB / 0.7422 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.00223/2.541, allocations: 2.083 MB / 0.7443 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0004891/2.542, allocations: 312.7 kB / 0.7446 GB, free: 2.969 MB / 0.5919 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.003221/2.545, allocations: 2.45 MB / 0.747 GB, free: 268 kB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.0003408/2.545, allocations: 235.3 kB / 0.7472 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0001739/2.545, allocations: 156.1 kB / 0.7473 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0003604/2.546, allocations: 368.4 kB / 0.7477 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0001579/2.546, allocations: 82.05 kB / 0.7478 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.000738/2.547, allocations: 0.6218 MB / 0.7484 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.00242/2.549, allocations: 1.846 MB / 0.7502 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001184/2.55, allocations: 1.23 MB / 0.7514 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of [INI] Simplify: time 0.001068/2.551, allocations: 0.6917 MB / 0.752 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of [INI] Inline: time 0.002094/2.553, allocations: 1.926 MB / 0.7539 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of [INI] Partitioning: time 8.187e-05/2.554, allocations: 55.94 kB / 0.754 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of [INI] Cleanup: time 0.0002466/2.554, allocations: 287.7 kB / 0.7543 GB, free: 8.566 MB / 0.6075 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean $TEV_0 Following equations were created by fixing variables: Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.423948839015793] Failed to read output from testmodel.py, exit status != 0: 2.996780734974891 3.008047779 0.46972817299999997 Calling exit ...