Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8922/0.8922, allocations: 153.8 MB / 173.5 MB, free: 4.852 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.Fluid.Examples.SimpleExamples.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealSwitchValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.826e-05, allocations: 5.344 kB / 251.1 MB, free: 3.836 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.Fluid.Examples.SimpleExamples.TestIdealSwitchValve): time 1.933/1.933, allocations: 308.5 MB / 0.5465 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.553/2.486, allocations: 170.5 MB / 0.7131 GB, free: 4.234 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/2.486, allocations: 15.88 kB / 0.7131 GB, free: 4.219 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60: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 master/Fluid/BoundaryConditions/SinkP.mo:47:3-48: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 master/Fluid/PressureLosses/IdealSwitchValve.mo:22:3-24:37: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 master/Fluid/PressureLosses/IdealSwitchValve.mo:25:3-26:53: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 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 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 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 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.0002795/2.487, allocations: 79.17 kB / 0.7132 GB, free: 4.141 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0006259/2.487, allocations: 218.1 kB / 0.7134 GB, free: 3.926 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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.03843/2.526, allocations: 13.31 MB / 0.7264 GB, free: 6.613 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001605/2.527, allocations: 0.9774 MB / 0.7273 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/2.528, allocations: 399.1 kB / 0.7277 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000617/2.528, allocations: 390.7 kB / 0.7281 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/2.529, allocations: 326.3 kB / 0.7284 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/2.529, allocations: 76 kB / 0.7285 GB, free: 4.465 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03764/2.566, allocations: 20.07 MB / 0.7481 GB, free: 384 kB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001451/2.568, allocations: 1.408 MB / 0.7494 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0006972/2.569, allocations: 0.8674 MB / 0.7503 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/2.569, allocations: 68 kB / 0.7503 GB, free: 14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001742/2.569, allocations: 23.88 kB / 0.7504 GB, free: 13.98 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: 172 (171) * Number of variables: 172 (172) Notification: Performance of [SIM] Bindings: time 0.004125/2.573, allocations: 3.46 MB / 0.7537 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006713/2.574, allocations: 0.5095 MB / 0.7542 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.002525/2.576, allocations: 2.166 MB / 0.7564 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.0005996/2.577, allocations: 360.4 kB / 0.7567 GB, free: 7.211 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.00541/2.582, allocations: 3.807 MB / 0.7604 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0003143/2.583, allocations: 204.6 kB / 0.7606 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0001396/2.583, allocations: 112.2 kB / 0.7607 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0002966/2.583, allocations: 264.9 kB / 0.761 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0001821/2.583, allocations: 84.16 kB / 0.7611 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0005236/2.584, allocations: 388.2 kB / 0.7614 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.001293/2.585, allocations: 0.9183 MB / 0.7623 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009082/2.586, allocations: 0.8279 MB / 0.7631 GB, free: 140 kB / 0.6075 GB Notification: Performance of [INI] Simplify: time 0.001044/2.587, allocations: 0.6005 MB / 0.7637 GB, free: 15.49 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.001755/2.589, allocations: 1.333 MB / 0.765 GB, free: 14.14 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 5.094e-05/2.589, allocations: 32 kB / 0.765 GB, free: 14.1 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0001787/2.589, allocations: 195.8 kB / 0.7652 GB, free: 13.91 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.473375656991266] Failed to read output from testmodel.py, exit status != 0: 3.046371525968425 3.057538737 0.485894659 Calling exit ...