Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.8654/0.8654, 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.Book.SimpleExamples.PressureLoss.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestSwitchValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestSwitchValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.83e-05, allocations: 6 kB / 251.1 MB, free: 3.859 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.Book.SimpleExamples.PressureLoss.TestSwitchValve): time 2.171/2.171, allocations: 308.3 MB / 0.5463 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2293/2.401, allocations: 164.2 MB / 0.7067 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000531/2.401, allocations: 4 kB / 0.7067 GB, free: 13.09 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.0005905/2.402, allocations: 144 kB / 0.7068 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005473/2.402, allocations: 230.3 kB / 0.7071 GB, free: 12.72 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.03958/2.442, allocations: 11.45 MB / 0.7182 GB, free: 1.258 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001349/2.443, allocations: 0.8922 MB / 0.7191 GB, free: 372 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/2.444, allocations: 257.5 kB / 0.7193 GB, free: 108 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006187/2.444, allocations: 366.7 kB / 0.7197 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/2.445, allocations: 222.8 kB / 0.7199 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/2.445, allocations: 40 kB / 0.7199 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03237/2.477, allocations: 18.14 MB / 0.7377 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001304/2.478, allocations: 1.09 MB / 0.7387 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0006264/2.479, allocations: 0.7323 MB / 0.7394 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/2.479, allocations: 52 kB / 0.7395 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-05/2.479, allocations: 19.88 kB / 0.7395 GB, free: 11.41 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.003697/2.483, allocations: 3.142 MB / 0.7426 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0005936/2.483, allocations: 473.2 kB / 0.743 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.002924/2.486, allocations: 2.426 MB / 0.7454 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.0006246/2.487, allocations: 360.6 kB / 0.7457 GB, free: 4.727 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.003834/2.491, allocations: 2.614 MB / 0.7483 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0004301/2.491, allocations: 283.3 kB / 0.7486 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.000209/2.492, allocations: 180.1 kB / 0.7487 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0004454/2.492, allocations: 428.5 kB / 0.7492 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0001857/2.492, allocations: 100.7 kB / 0.7492 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0009865/2.493, allocations: 0.7675 MB / 0.75 GB, free: 15.96 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.003608/2.497, allocations: 2.301 MB / 0.7522 GB, free: 13.64 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001523/2.498, allocations: 1.487 MB / 0.7537 GB, free: 12.16 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001336/2.5, allocations: 0.7493 MB / 0.7544 GB, free: 11.33 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.002885/2.502, allocations: 2.32 MB / 0.7567 GB, free: 8.996 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001087/2.503, allocations: 47.97 kB / 0.7567 GB, free: 8.938 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0004134/2.503, allocations: 351.7 kB / 0.7571 GB, free: 8.594 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.239373647957109] Failed to read output from testmodel.py, exit status != 0: 2.84272343700286 2.852143171 0.370595165 Calling exit ...