Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank.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.8611/0.8611, allocations: 153.8 MB / 173.5 MB, free: 4.293 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.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.16e-05, allocations: 2.281 kB / 251.1 MB, free: 3.797 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.TestTank): time 2.187/2.187, allocations: 310.1 MB / 0.5481 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.243/2.43, allocations: 172.7 MB / 0.7167 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009787/2.431, allocations: 23.81 kB / 0.7167 GB, free: 2.938 MB / 0.5763 GB [/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/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/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/Volumes/Tank.mo:135:3-136:66: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/Tank.mo:137:3-138:74: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/Volumes/Tank.mo:142:3-143:68: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/Tank.mo:144:3-145:72: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/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/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.0004751/2.432, allocations: 164.2 kB / 0.7169 GB, free: 2.777 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0009575/2.433, allocations: 404.5 kB / 0.7173 GB, free: 2.379 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.04108/2.474, allocations: 14.25 MB / 0.7312 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002834/2.477, allocations: 2.069 MB / 0.7332 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/2.478, allocations: 0.7867 MB / 0.734 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/2.479, allocations: 0.8101 MB / 0.7348 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007811/2.48, allocations: 0.626 MB / 0.7354 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/2.48, allocations: 144 kB / 0.7355 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04054/2.521, allocations: 20.23 MB / 0.7553 GB, free: 11.38 MB / 0.6232 GB Notification: Performance of combineBinaries: time 0.002795/2.523, allocations: 2.604 MB / 0.7578 GB, free: 8.75 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.001343/2.525, allocations: 1.581 MB / 0.7594 GB, free: 7.148 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/2.525, allocations: 128 kB / 0.7595 GB, free: 7.023 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0002804/2.525, allocations: 43.75 kB / 0.7595 GB, free: 6.98 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: 311 (311) * Number of variables: 311 (307) Notification: Performance of [SIM] Bindings: time 0.007936/2.533, allocations: 6.078 MB / 0.7655 GB, free: 0.6484 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.4293/2.963, allocations: 1.058 MB / 0.7665 GB, free: 29.42 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.005532/2.968, allocations: 4.315 MB / 0.7707 GB, free: 29.27 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.001972/2.97, allocations: 0.7319 MB / 0.7714 GB, free: 29.04 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.01294/2.983, allocations: 6.878 MB / 0.7781 GB, free: 27.24 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0007999/2.984, allocations: 424.9 kB / 0.7786 GB, free: 27.11 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0002476/2.984, allocations: 206.4 kB / 0.7787 GB, free: 27.04 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0005032/2.985, allocations: 499.4 kB / 0.7792 GB, free: 26.93 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0004402/2.985, allocations: 307.3 kB / 0.7795 GB, free: 26.86 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001023/2.986, allocations: 0.9807 MB / 0.7805 GB, free: 26.72 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.002408/2.988, allocations: 2.111 MB / 0.7825 GB, free: 26.5 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001611/2.99, allocations: 1.988 MB / 0.7845 GB, free: 26.5 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001669/2.992, allocations: 1.131 MB / 0.7856 GB, free: 26.18 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.003112/2.995, allocations: 2.995 MB / 0.7885 GB, free: 26.13 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001205/2.995, allocations: 61.14 kB / 0.7886 GB, free: 26.09 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0004327/2.995, allocations: 445.3 kB / 0.789 GB, free: 26.09 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.003761/2.999, allocations: 2.859 MB / 0.7918 GB, free: 25.86 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.0008312/3, allocations: 0.64 MB / 0.7924 GB, free: 25.78 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.294e-05/3, allocations: 0 / 0.7924 GB, free: 25.78 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.001155/3.001, allocations: 0.7548 MB / 0.7931 GB, free: 25.58 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.022e-05/3.001, allocations: 3.969 kB / 0.7931 GB, free: 25.58 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.001062/3.002, allocations: 0.8594 MB / 0.794 GB, free: 25.44 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 2.868e-05/3.002, allocations: 6.688 kB / 0.794 GB, free: 25.44 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.003468/3.006, allocations: 2.398 MB / 0.7963 GB, free: 25.24 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.005257/3.011, allocations: 5.604 MB / 0.8018 GB, free: 21.89 MB / 0.6232 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * 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: ............................. 2 (2) {Tank1.z, Tank1.h} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 43 (39) {PerteDP1.fluid, VanneReglante1.ftype, VanneReglante1.fluid, VanneReglante1.C2.diff_on_1, SourceP1.C.diff_on_2, PuitsP1.ftype, PuitsP1.fluid1, PuitsP1.fluid, Tank1.fluids, Tank1.Ce2.ftype, PerteDP2.fluid, PuitsP2.ftype, PuitsP2.fluid1, PuitsP2.fluid, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $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: ........... 84 (scalar:84, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 123 (scalar:123, 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: Performance of backend: time 0.0001195/3.011, allocations: 59.88 kB / 0.8019 GB, free: 21.85 MB / 0.6232 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(Tank1.fluids) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.623756160028279] Failed to read output from testmodel.py, exit status != 0: 3.240679635957349 3.257682584 0.72858964 Calling exit ...