Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8832/0.8832, 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.Book.SimpleExamples.PressureLoss.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestSwitchValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestSwitchValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.513e-05, allocations: 7.719 kB / 251.1 MB, free: 3.875 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.Book.SimpleExamples.PressureLoss.TestSwitchValve): time 1.942/1.942, allocations: 308.6 MB / 0.5465 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5049/2.447, allocations: 170.5 MB / 0.7131 GB, free: 4.211 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/2.447, allocations: 11.94 kB / 0.7131 GB, free: 4.199 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/SwitchValve.mo:36:3-37:55: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/SwitchValve.mo:38:3-40:35: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.0003633/2.448, allocations: 83.05 kB / 0.7132 GB, free: 4.117 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0008582/2.449, allocations: 234 kB / 0.7134 GB, free: 3.887 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.03564/2.484, allocations: 13.33 MB / 0.7264 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001426/2.486, allocations: 1.026 MB / 0.7274 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005576/2.486, allocations: 411.1 kB / 0.7278 GB, free: 5.125 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/2.487, allocations: 414.6 kB / 0.7282 GB, free: 4.719 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/2.487, allocations: 342.9 kB / 0.7285 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/2.487, allocations: 84 kB / 0.7286 GB, free: 4.301 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03424/2.521, allocations: 20.06 MB / 0.7482 GB, free: 216 kB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001448/2.523, allocations: 1.474 MB / 0.7496 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0006362/2.524, allocations: 0.9137 MB / 0.7505 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/2.524, allocations: 72 kB / 0.7506 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001262/2.524, allocations: 24.81 kB / 0.7506 GB, free: 13.7 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: 177 (176) * Number of variables: 177 (177) Notification: Performance of [SIM] Bindings: time 0.003972/2.528, allocations: 3.598 MB / 0.7541 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006672/2.528, allocations: 0.5187 MB / 0.7546 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.002552/2.531, allocations: 2.322 MB / 0.7569 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.0006618/2.532, allocations: 383.7 kB / 0.7573 GB, free: 6.617 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.005935/2.538, allocations: 3.969 MB / 0.7611 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0003627/2.538, allocations: 223.7 kB / 0.7614 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0001421/2.538, allocations: 112.3 kB / 0.7615 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0003125/2.538, allocations: 296.2 kB / 0.7617 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0002101/2.539, allocations: 102.3 kB / 0.7618 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0005676/2.539, allocations: 432.4 kB / 0.7623 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.001504/2.541, allocations: 1.043 MB / 0.7633 GB, free: 15.96 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001005/2.542, allocations: 0.9326 MB / 0.7642 GB, free: 15.03 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001011/2.543, allocations: 0.6239 MB / 0.7648 GB, free: 14.36 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.001921/2.545, allocations: 1.473 MB / 0.7662 GB, free: 12.87 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 6.53e-05/2.545, allocations: 47.97 kB / 0.7663 GB, free: 12.81 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0001981/2.545, allocations: 211.8 kB / 0.7665 GB, free: 12.61 MB / 0.6232 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean $SEV_5 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.360370019974653] Failed to read output from testmodel.py, exit status != 0: 2.9507391010411084 2.965775839 0.43850434000000005 Calling exit ...