Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8573/0.8573, allocations: 153.8 MB / 173.5 MB, free: 4.844 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.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSwitchValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSwitchValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.074e-05, allocations: 5.344 kB / 251.1 MB, free: 3.832 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.TestSwitchValve): time 1.849/1.849, allocations: 308.6 MB / 0.5466 GB, free: 2.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5654/2.415, allocations: 170.5 MB / 0.7132 GB, free: 4.059 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009827/2.416, allocations: 15.88 kB / 0.7132 GB, free: 4.043 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.0006017/2.416, allocations: 87.11 kB / 0.7133 GB, free: 3.957 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/2.417, allocations: 230 kB / 0.7135 GB, free: 3.73 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.03801/2.455, allocations: 13.32 MB / 0.7265 GB, free: 6.406 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001671/2.457, allocations: 1.033 MB / 0.7275 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/2.458, allocations: 408.9 kB / 0.7279 GB, free: 4.965 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000636/2.458, allocations: 418.7 kB / 0.7283 GB, free: 4.555 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/2.459, allocations: 346.2 kB / 0.7286 GB, free: 4.215 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/2.459, allocations: 80 kB / 0.7287 GB, free: 4.137 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03973/2.498, allocations: 20.06 MB / 0.7483 GB, free: 52 kB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001656/2.5, allocations: 1.47 MB / 0.7497 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0007601/2.501, allocations: 0.9145 MB / 0.7506 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/2.501, allocations: 76 kB / 0.7507 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001306/2.501, allocations: 23.88 kB / 0.7507 GB, free: 13.54 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.004354/2.506, allocations: 3.597 MB / 0.7542 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006522/2.506, allocations: 0.5248 MB / 0.7547 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.002854/2.509, allocations: 2.32 MB / 0.757 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.0006882/2.51, allocations: 380.3 kB / 0.7574 GB, free: 6.457 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.006118/2.516, allocations: 3.966 MB / 0.7613 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0003713/2.516, allocations: 226.6 kB / 0.7615 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 0.0001442/2.516, allocations: 120.2 kB / 0.7616 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0003346/2.517, allocations: 279.2 kB / 0.7618 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0002003/2.517, allocations: 105.5 kB / 0.7619 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0005652/2.517, allocations: 443.8 kB / 0.7624 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.001851/2.519, allocations: 1.036 MB / 0.7634 GB, free: 15.81 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001106/2.52, allocations: 0.9288 MB / 0.7643 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001278/2.522, allocations: 0.6288 MB / 0.7649 GB, free: 14.2 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.002006/2.524, allocations: 1.473 MB / 0.7663 GB, free: 12.71 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 6.151e-05/2.524, allocations: 35.98 kB / 0.7664 GB, free: 12.66 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0002108/2.524, allocations: 227.8 kB / 0.7666 GB, free: 12.44 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.303626726963557] Failed to read output from testmodel.py, exit status != 0: 2.9244617779622786 2.933806959 0.430151788 Calling exit ...