Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.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.8297/0.8297, allocations: 153.8 MB / 173.5 MB, free: 4.27 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.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestTank") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.425e-05, allocations: 6 kB / 251.1 MB, free: 3.809 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.Volume.TestTank): time 2.038/2.038, allocations: 310 MB / 0.5479 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.228/2.266, allocations: 172.7 MB / 0.7166 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/2.268, allocations: 23.81 kB / 0.7166 GB, free: 2.969 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.0008981/2.269, allocations: 155.7 kB / 0.7168 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/2.271, allocations: 408.5 kB / 0.7172 GB, free: 2.414 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.04259/2.314, allocations: 14.24 MB / 0.7311 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002748/2.317, allocations: 2.073 MB / 0.7331 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/2.318, allocations: 0.7789 MB / 0.7339 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/2.319, allocations: 0.8218 MB / 0.7347 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/2.319, allocations: 0.6143 MB / 0.7353 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/2.32, allocations: 144 kB / 0.7354 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03577/2.355, allocations: 20.23 MB / 0.7551 GB, free: 11.43 MB / 0.6232 GB Notification: Performance of combineBinaries: time 0.002422/2.358, allocations: 2.611 MB / 0.7577 GB, free: 8.793 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.001144/2.359, allocations: 1.581 MB / 0.7592 GB, free: 7.191 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/2.359, allocations: 128 kB / 0.7594 GB, free: 7.066 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0002157/2.359, allocations: 43.75 kB / 0.7594 GB, free: 7.023 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.006425/2.366, allocations: 6.069 MB / 0.7653 GB, free: 0.6992 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.3744/2.74, allocations: 1.065 MB / 0.7664 GB, free: 29.44 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.004874/2.745, allocations: 4.31 MB / 0.7706 GB, free: 29.29 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.001493/2.747, allocations: 0.7324 MB / 0.7713 GB, free: 29.06 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.009786/2.756, allocations: 6.872 MB / 0.778 GB, free: 27.26 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0006742/2.757, allocations: 429.8 kB / 0.7784 GB, free: 27.14 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.000195/2.757, allocations: 207.2 kB / 0.7786 GB, free: 27.07 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0004028/2.758, allocations: 486.5 kB / 0.7791 GB, free: 26.95 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0003649/2.758, allocations: 309 kB / 0.7794 GB, free: 26.89 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.0007935/2.759, allocations: 0.9864 MB / 0.7803 GB, free: 26.75 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.002096/2.761, allocations: 2.111 MB / 0.7824 GB, free: 26.53 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001391/2.762, allocations: 1.995 MB / 0.7843 GB, free: 26.53 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001584/2.764, allocations: 1.117 MB / 0.7854 GB, free: 26.2 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.002534/2.766, allocations: 2.992 MB / 0.7884 GB, free: 26.16 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.000103/2.766, allocations: 66.08 kB / 0.7884 GB, free: 26.12 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0003219/2.767, allocations: 449.1 kB / 0.7889 GB, free: 26.12 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.003062/2.77, allocations: 2.873 MB / 0.7917 GB, free: 25.89 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.001063/2.771, allocations: 1.054 MB / 0.7927 GB, free: 25.69 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.614e-06/2.771, allocations: 4.984 kB / 0.7927 GB, free: 25.68 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.0009094/2.772, allocations: 0.7496 MB / 0.7934 GB, free: 25.49 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 6.943e-06/2.772, allocations: 0.6562 kB / 0.7934 GB, free: 25.49 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.00088/2.773, allocations: 0.8606 MB / 0.7943 GB, free: 25.35 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 1.97e-05/2.773, allocations: 4.984 kB / 0.7943 GB, free: 25.35 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.002535/2.775, allocations: 2.409 MB / 0.7966 GB, free: 25.14 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.004653/2.78, allocations: 5.842 MB / 0.8023 GB, free: 21.29 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: ........... 124 (scalar:124, 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: Performance of backend: time 9.01e-05/2.78, allocations: 63.33 kB / 0.8024 GB, free: 21.24 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.32315556803951] Failed to read output from testmodel.py, exit status != 0: 2.9825120129971765 2.996783256 0.633925372 Calling exit ...