Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe.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.8698/0.8698, allocations: 153.8 MB / 173.5 MB, free: 4.855 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.TestDiffusion_DynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicTwoPhaseFlowPipe") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.784e-05, allocations: 4.812 kB / 251.1 MB, free: 3.84 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.TestDiffusion_DynamicTwoPhaseFlowPipe): time 1.966/1.966, allocations: 312.4 MB / 0.5503 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5814/2.547, allocations: 172.3 MB / 0.7185 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/2.549, allocations: 48.84 kB / 0.7186 GB, free: 14.6 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52: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/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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52: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/BoundaryConditions/SourceQ.mo:63:3-64: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). Notification: Performance of NFTyping.typeComponents: time 0.001483/2.55, allocations: 460.9 kB / 0.719 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003583/2.554, allocations: 1.329 MB / 0.7203 GB, free: 12.81 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. [/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.04631/2.6, allocations: 13.74 MB / 0.7337 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007895/2.608, allocations: 4.892 MB / 0.7385 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/2.61, allocations: 1.326 MB / 0.7398 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/2.616, allocations: 2.545 MB / 0.7423 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/2.62, allocations: 2.083 MB / 0.7443 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007982/2.621, allocations: 260 kB / 0.7446 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04533/2.666, allocations: 19.71 MB / 0.7638 GB, free: 208 kB / 0.6075 GB Notification: Performance of combineBinaries: time 0.00809/2.674, allocations: 5.529 MB / 0.7692 GB, free: 10.63 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.00391/2.678, allocations: 3.288 MB / 0.7724 GB, free: 7.312 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006071/2.679, allocations: 168 kB / 0.7726 GB, free: 7.148 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0003403/2.679, allocations: 51.75 kB / 0.7726 GB, free: 7.098 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 (408) * Number of variables: 3006 (494) Notification: Performance of [SIM] Bindings: time 0.02563/2.705, allocations: 19.33 MB / 0.7915 GB, free: 3.488 MB / 0.6388 GB Notification: Performance of [SIM] FunctionAlias: time 0.005316/2.71, allocations: 3.049 MB / 0.7945 GB, free: 0.5547 MB / 0.6388 GB Notification: Performance of [SIM] Early Inline: time 0.4623/3.172, allocations: 18.39 MB / 0.8125 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 0.005441/3.178, allocations: 2.081 MB / 0.8145 GB, free: 47.1 MB / 0.6544 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.02491/3.203, allocations: 12.05 MB / 0.8263 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 2: time 0.005641/3.208, allocations: 1.86 MB / 0.8281 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of [SIM] Remove Stream: time 0.00277/3.211, allocations: 1.049 MB / 0.8291 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of [SIM] Detect States: time 0.002831/3.214, allocations: 2.656 MB / 0.8317 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of [SIM] Events: time 0.001161/3.215, allocations: 0.7267 MB / 0.8324 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of [SIM] Partitioning: time 0.005254/3.22, allocations: 4.93 MB / 0.8372 GB, free: 44.62 MB / 0.6544 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (12) Real[12] dynamicTwoPhaseFlowPipe.rhoc (start = {998.0 for $f2 in 1:12}, min = {0.0 for $f3 in 1:12}, nominal = {1.0 for $f1 in 1:12}) slice: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.848457386018708] Failed to read output from testmodel.py, exit status != 0: 3.444238897995092 3.459019969 0.776153022 Calling exit ...