Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve.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.8692/0.8692, allocations: 153.8 MB / 173.5 MB, free: 4.273 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.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSwitchValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.186e-05, allocations: 4.672 kB / 251.1 MB, free: 3.785 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.TestSwitchValve): time 2.19/2.19, allocations: 308.4 MB / 0.5464 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2198/2.41, allocations: 164.3 MB / 0.7069 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/2.411, allocations: 4 kB / 0.7069 GB, free: 13.05 MB / 0.5763 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/SwitchValve.mo:37:3-39: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/SwitchValve.mo:40:3-42: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.0006477/2.411, allocations: 143 kB / 0.707 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0006387/2.412, allocations: 226.3 kB / 0.7072 GB, free: 12.68 MB / 0.5763 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.04242/2.454, allocations: 11.46 MB / 0.7184 GB, free: 1.207 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001478/2.456, allocations: 0.8922 MB / 0.7193 GB, free: 320 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/2.456, allocations: 253.5 kB / 0.7195 GB, free: 60 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/2.457, allocations: 358.7 kB / 0.7199 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/2.457, allocations: 226.7 kB / 0.7201 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/2.457, allocations: 40 kB / 0.7201 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03549/2.493, allocations: 18.14 MB / 0.7378 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001187/2.494, allocations: 1.09 MB / 0.7389 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0005526/2.495, allocations: 0.7362 MB / 0.7396 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/2.495, allocations: 52 kB / 0.7397 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001054/2.495, allocations: 19.88 kB / 0.7397 GB, free: 11.36 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 (99) * Number of variables: 145 (145) Notification: Performance of [SIM] Bindings: time 0.003502/2.498, allocations: 3.139 MB / 0.7427 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006138/2.499, allocations: 466.3 kB / 0.7432 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.002871/2.502, allocations: 2.434 MB / 0.7456 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.000637/2.502, allocations: 368.9 kB / 0.7459 GB, free: 4.68 MB / 0.6075 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.003886/2.506, allocations: 2.612 MB / 0.7485 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0004289/2.507, allocations: 280.2 kB / 0.7487 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0002261/2.507, allocations: 176.1 kB / 0.7489 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0004945/2.507, allocations: 420.5 kB / 0.7493 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0002311/2.508, allocations: 104.3 kB / 0.7494 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0009953/2.509, allocations: 0.7707 MB / 0.7501 GB, free: 15.93 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.003336/2.512, allocations: 2.301 MB / 0.7524 GB, free: 13.6 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001542/2.514, allocations: 1.491 MB / 0.7539 GB, free: 12.11 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001362/2.515, allocations: 0.7515 MB / 0.7546 GB, free: 11.29 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.002813/2.518, allocations: 2.312 MB / 0.7568 GB, free: 8.961 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001199/2.518, allocations: 56 kB / 0.7569 GB, free: 8.895 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0003613/2.518, allocations: 351.7 kB / 0.7572 GB, free: 8.551 MB / 0.6232 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.284929872956127] Failed to read output from testmodel.py, exit status != 0: 2.8883352400152944 2.897813594 0.40061720300000003 Calling exit ...