Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.8816/0.8816, allocations: 153.8 MB / 173.5 MB, free: 4.277 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.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestThreeWayValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.566e-05, allocations: 7.875 kB / 251.1 MB, free: 3.785 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.TestThreeWayValve): time 2.162/2.162, allocations: 310.2 MB / 0.5481 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2305/2.393, allocations: 167.5 MB / 0.7117 GB, free: 8.043 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/2.394, allocations: 31.75 kB / 0.7118 GB, free: 8.012 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.0007672/2.395, allocations: 175.9 kB / 0.7119 GB, free: 7.84 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/2.396, allocations: 436.4 kB / 0.7124 GB, free: 7.41 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.04221/2.439, allocations: 12.6 MB / 0.7247 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00305/2.442, allocations: 2.066 MB / 0.7267 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/2.443, allocations: 0.8703 MB / 0.7275 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000937/2.444, allocations: 0.8023 MB / 0.7283 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006765/2.444, allocations: 0.6026 MB / 0.7289 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/2.445, allocations: 172 kB / 0.7291 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03363/2.478, allocations: 18.2 MB / 0.7468 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.002743/2.481, allocations: 2.642 MB / 0.7494 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.001242/2.482, allocations: 1.629 MB / 0.751 GB, free: 15.7 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/2.482, allocations: 132 kB / 0.7511 GB, free: 15.57 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0003163/2.483, allocations: 47.69 kB / 0.7512 GB, free: 15.53 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.006718/2.49, allocations: 6.198 MB / 0.7572 GB, free: 9.066 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.001239/2.491, allocations: 0.9982 MB / 0.7582 GB, free: 8.062 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.005018/2.496, allocations: 4.253 MB / 0.7624 GB, free: 3.746 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.001156/2.497, allocations: 0.5866 MB / 0.7629 GB, free: 3.074 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.4593/2.956, allocations: 7.198 MB / 0.77 GB, free: 33.81 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0004378/2.957, allocations: 265.4 kB / 0.7702 GB, free: 33.69 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0001575/2.957, allocations: 162.4 kB / 0.7704 GB, free: 33.63 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0003718/2.957, allocations: 389.7 kB / 0.7707 GB, free: 33.5 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0002802/2.958, allocations: 155.9 kB / 0.7709 GB, free: 33.5 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.0008634/2.958, allocations: 0.7087 MB / 0.7716 GB, free: 33.36 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.002721/2.961, allocations: 1.753 MB / 0.7733 GB, free: 33.18 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001364/2.962, allocations: 1.354 MB / 0.7746 GB, free: 33.18 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001599/2.964, allocations: 0.8465 MB / 0.7754 GB, free: 32.93 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.002778/2.967, allocations: 2.173 MB / 0.7776 GB, free: 32.89 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001023/2.967, allocations: 49.36 kB / 0.7776 GB, free: 32.86 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0002977/2.967, allocations: 322.8 kB / 0.7779 GB, free: 32.86 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.002961/2.97, allocations: 2.387 MB / 0.7802 GB, free: 32.66 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.000581/2.971, allocations: 467.7 kB / 0.7807 GB, free: 32.63 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.082e-06/2.971, allocations: 0 / 0.7807 GB, free: 32.63 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.0007086/2.971, allocations: 0.4909 MB / 0.7812 GB, free: 32.47 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 7.153e-06/2.972, allocations: 0.5 kB / 0.7812 GB, free: 32.47 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.0004939/2.972, allocations: 433 kB / 0.7816 GB, free: 32.42 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 2.727e-05/2.972, allocations: 7.75 kB / 0.7816 GB, free: 32.42 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.001794/2.974, allocations: 1.529 MB / 0.7831 GB, free: 32.31 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.003602/2.977, allocations: 4.441 MB / 0.7874 GB, free: 29.74 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 8.762e-05/2.978, allocations: 57.5 kB / 0.7875 GB, free: 29.7 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.588101994013414] Failed to read output from testmodel.py, exit status != 0: 3.198714287020266 3.208359441 0.7230377689999999 Calling exit ...