Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.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.8662/0.8662, allocations: 153.8 MB / 173.5 MB, free: 4.266 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.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/2.899e-05, allocations: 4.812 kB / 251.1 MB, free: 3.805 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.TestThreeWayValve): time 2.118/2.118, allocations: 310.1 MB / 0.548 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2195/2.337, allocations: 167.5 MB / 0.7116 GB, free: 8.121 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/2.338, allocations: 35.69 kB / 0.7117 GB, free: 8.086 MB / 0.5763 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/ThreeWayValve.mo:66:3-67:68: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/ThreeWayValve.mo:68:3-69:66: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/ControlValve.mo:44:3-45:68: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/ControlValve.mo:46:3-47:66: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/ThreeWayValve.mo:81:3-82:54:writable] Warning: Connector C3 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/ControlValve.mo:44:3-45:68: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/ControlValve.mo:46:3-47:66: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/Volumes/VolumeA.mo:104:3-105:67:writable] Warning: Connector Ce1 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/Volumes/VolumeA.mo:106:3-108:57:writable] Warning: Connector Ce2 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/Volumes/VolumeA.mo:109:3-110:73:writable] Warning: Connector Cs1 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/Volumes/VolumeA.mo:111:3-112:75:writable] Warning: Connector Cs2 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/PipePressureLoss.mo:33:3-34: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/PipePressureLoss.mo:35:3-36: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/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.0005337/2.339, allocations: 177.5 kB / 0.7118 GB, free: 7.914 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0009206/2.34, allocations: 436.4 kB / 0.7122 GB, free: 7.484 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.03338/2.373, allocations: 12.58 MB / 0.7245 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002928/2.376, allocations: 2.081 MB / 0.7266 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/2.377, allocations: 0.8651 MB / 0.7274 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/2.378, allocations: 0.8062 MB / 0.7282 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/2.379, allocations: 0.5948 MB / 0.7288 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/2.379, allocations: 176 kB / 0.7289 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03234/2.411, allocations: 18.2 MB / 0.7467 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.002724/2.414, allocations: 2.646 MB / 0.7493 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.001319/2.415, allocations: 1.619 MB / 0.7509 GB, free: 15.78 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/2.416, allocations: 135.9 kB / 0.751 GB, free: 15.65 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0002858/2.416, allocations: 47.69 kB / 0.7511 GB, free: 15.6 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: 329 (329) * Number of variables: 329 (325) Notification: Performance of [SIM] Bindings: time 0.006878/2.423, allocations: 6.202 MB / 0.7571 GB, free: 9.133 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.001211/2.424, allocations: 1.002 MB / 0.7581 GB, free: 8.129 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.004692/2.429, allocations: 4.249 MB / 0.7622 GB, free: 3.816 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.00115/2.43, allocations: 0.5923 MB / 0.7628 GB, free: 3.133 MB / 0.6232 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.3277/2.758, allocations: 7.197 MB / 0.7699 GB, free: 33.68 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0004488/2.758, allocations: 260.5 kB / 0.7701 GB, free: 33.55 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0001561/2.758, allocations: 157.7 kB / 0.7703 GB, free: 33.49 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.000448/2.759, allocations: 390 kB / 0.7706 GB, free: 33.37 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0002988/2.759, allocations: 151.7 kB / 0.7708 GB, free: 33.37 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.0008511/2.76, allocations: 0.7048 MB / 0.7715 GB, free: 33.23 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.002556/2.762, allocations: 1.766 MB / 0.7732 GB, free: 33.04 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001244/2.764, allocations: 1.351 MB / 0.7745 GB, free: 33.04 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001493/2.765, allocations: 0.8459 MB / 0.7753 GB, free: 32.79 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.002462/2.767, allocations: 2.167 MB / 0.7774 GB, free: 32.76 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 9.94e-05/2.768, allocations: 55.11 kB / 0.7775 GB, free: 32.72 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0002541/2.768, allocations: 318.4 kB / 0.7778 GB, free: 32.72 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.002728/2.771, allocations: 2.392 MB / 0.7801 GB, free: 32.53 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.0005492/2.771, allocations: 474.1 kB / 0.7806 GB, free: 32.49 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.343e-06/2.771, allocations: 0 / 0.7806 GB, free: 32.49 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.0006186/2.772, allocations: 493.1 kB / 0.7811 GB, free: 32.33 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 7.524e-06/2.772, allocations: 0.5 kB / 0.7811 GB, free: 32.33 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.0004548/2.772, allocations: 439.1 kB / 0.7815 GB, free: 32.28 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 2.269e-05/2.772, allocations: 8.25 kB / 0.7815 GB, free: 32.28 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.001823/2.774, allocations: 1.535 MB / 0.783 GB, free: 32.18 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.003599/2.778, allocations: 4.439 MB / 0.7873 GB, free: 29.6 MB / 0.6232 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 7 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 33 (29) {SourceP1.C.diff_on_2, PuitsP1.ftype, PuitsP1.fluid1, PuitsP1.fluid, PuitsP1.C.diff_on_1, threeWayValve.Valve1.fluid, threeWayValve.Valve2.fluid, threeWayValve.VolumeA1.fluids, threeWayValve.VolumeA1.Ce2.ftype, threeWayValve.VolumeA1.Cs1.diff_on_2, threeWayValve.VolumeA1.Cs2.diff_on_2, threeWayValve.PerteDP1.ftype, threeWayValve.PerteDP1.fluid, threeWayValve.PerteDP1.C2.diff_on_1, PuitsP2.ftype, PuitsP2.fluid1, PuitsP2.fluid, PuitsP2.C.diff_on_1, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 99 (scalar:97, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 9.059e-05/2.778, allocations: 58.09 kB / 0.7874 GB, free: 29.56 MB / 0.6232 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(threeWayValve.VolumeA1.fluids) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.338545899023302] Failed to read output from testmodel.py, exit status != 0: 2.959748234017752 2.968433894 0.550107623 Calling exit ...