Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.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.8468/0.8468, 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.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.725e-05, allocations: 2.281 kB / 251.1 MB, free: 3.777 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.TestCheckValve): time 2.143/2.144, allocations: 312.5 MB / 0.5505 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2452/2.389, allocations: 173.3 MB / 0.7197 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003954/2.393, allocations: 51.56 kB / 0.7198 GB, free: 15.78 MB / 0.5919 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/Machines/StaticCentrifugalPump.mo:63:3-64: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/Machines/StaticCentrifugalPump.mo:65:3-66: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/Machines/StaticCentrifugalPump.mo:63:3-64: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/Machines/StaticCentrifugalPump.mo:65:3-66: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/Volumes/VolumeD.mo:104:3-105:67:writable] Warning: Connector Ce 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/VolumeD.mo:106:3-107: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/VolumeD.mo:108:3-109: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/Volumes/VolumeD.mo:110:3-111:71:writable] Warning: Connector Cs3 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/CheckValve.mo:37:3-38: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/CheckValve.mo:39:3-40: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/CheckValve.mo:37:3-38: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/CheckValve.mo:39:3-40: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/VolumeC.mo:103:3-105:59: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/VolumeC.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/VolumeC.mo:109:3-110:65:writable] Warning: Connector Cs 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/VolumeC.mo:111:3-113:24:writable] Warning: Connector Ce3 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/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/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/CheckValve.mo:37:3-38: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/CheckValve.mo:39:3-40:66:writable] Warning: Connector C2 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.001723/2.394, allocations: 255.9 kB / 0.72 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003424/2.398, allocations: 0.6816 MB / 0.7207 GB, free: 14.84 MB / 0.5919 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.05563/2.453, allocations: 14.46 MB / 0.7348 GB, free: 364 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006004/2.459, allocations: 3.489 MB / 0.7382 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/2.462, allocations: 1.35 MB / 0.7395 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/2.464, allocations: 1.355 MB / 0.7409 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/2.465, allocations: 1.003 MB / 0.7418 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003492/2.466, allocations: 247.9 kB / 0.7421 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04359/2.509, allocations: 20.33 MB / 0.7619 GB, free: 4.496 MB / 0.6232 GB Notification: Performance of combineBinaries: time 0.4302/2.939, allocations: 4.508 MB / 0.7663 GB, free: 27.16 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.003207/2.943, allocations: 2.783 MB / 0.7691 GB, free: 27.04 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/2.944, allocations: 225.7 kB / 0.7693 GB, free: 27.04 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0007254/2.945, allocations: 79.48 kB / 0.7693 GB, free: 27.04 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: 575 (575) * Number of variables: 575 (567) Notification: Performance of [SIM] Bindings: time 0.01328/2.958, allocations: 10.22 MB / 0.7793 GB, free: 24.23 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.002557/2.961, allocations: 1.633 MB / 0.7809 GB, free: 24 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.007527/2.968, allocations: 6.829 MB / 0.7876 GB, free: 23.78 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.002338/2.97, allocations: 1.071 MB / 0.7886 GB, free: 23.4 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.01573/2.986, allocations: 12.16 MB / 0.8005 GB, free: 19.87 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0008552/2.987, allocations: 0.5179 MB / 0.801 GB, free: 19.69 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0002764/2.987, allocations: 274.4 kB / 0.8013 GB, free: 19.61 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0007188/2.988, allocations: 0.7244 MB / 0.802 GB, free: 19.42 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0004543/2.989, allocations: 309.3 kB / 0.8023 GB, free: 19.38 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001351/2.99, allocations: 1.359 MB / 0.8036 GB, free: 19.11 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.003909/2.994, allocations: 3.238 MB / 0.8068 GB, free: 18.74 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002225/2.996, allocations: 2.574 MB / 0.8093 GB, free: 18.74 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.00235/2.998, allocations: 1.449 MB / 0.8107 GB, free: 18.27 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.003641/3.002, allocations: 3.931 MB / 0.8145 GB, free: 18.21 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001676/3.002, allocations: 76.92 kB / 0.8146 GB, free: 18.17 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0005086/3.003, allocations: 0.5732 MB / 0.8152 GB, free: 18.17 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.007273/3.01, allocations: 6.322 MB / 0.8213 GB, free: 17.55 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.001488/3.011, allocations: 1.216 MB / 0.8225 GB, free: 17.31 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.623e-06/3.011, allocations: 0 / 0.8225 GB, free: 17.31 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.001402/3.013, allocations: 0.994 MB / 0.8235 GB, free: 16.94 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.422e-05/3.013, allocations: 10.16 kB / 0.8235 GB, free: 16.94 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.0009359/3.014, allocations: 0.7697 MB / 0.8243 GB, free: 16.78 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 4.468e-05/3.014, allocations: 15.52 kB / 0.8243 GB, free: 16.78 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.004074/3.018, allocations: 2.948 MB / 0.8272 GB, free: 16.31 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.007237/3.025, allocations: 8.299 MB / 0.8353 GB, free: 11.16 MB / 0.6232 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 9 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 4 * 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) {volumeD.h, volumeC.h} * Number of discrete states: .................... 4 (4) {checkValve3.ouvert, pulse.T0, checkValve2.ouvert, checkValve1.ouvert} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 73 (65) {puitsP.fluid1, puitsP.fluid, staticCentrifugalPump1.fluid, staticCentrifugalPump1.C2.diff_on_1, staticCentrifugalPump1.C2.diff_on_2, staticCentrifugalPump2.fluid, staticCentrifugalPump2.C2.diff_on_1, staticCentrifugalPump2.C2.diff_on_2, volumeD.fluids, volumeD.Cs1.diff_on_2, volumeD.Cs2.diff_on_2, volumeD.Cs3.ftype, checkValve1.touvert, checkValve1.tferme, checkValve1.ftype, checkValve1.fluid, checkValve1.C2.diff_on_1, checkValve2.touvert, checkValve2.tferme, checkValve2.ftype, checkValve2.fluid, checkValve2.C2.diff_on_1, volumeC.fluids, volumeC.Ce1.ftype, perteDP.ftype, perteDP.fluid, perteDP1.ftype, perteDP1.fluid, sourceP1.C.diff_on_2, puitsP1.fluid1, puitsP1.fluid, checkValve3.touvert, checkValve3.tferme, checkValve3.ftype, checkValve3.fluid, checkValve3.C2.diff_on_1, $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_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 130 (scalar:130, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 182 (scalar:182, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001472/3.025, allocations: 89.83 kB / 0.8354 GB, free: 11.09 MB / 0.6232 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(volumeD.fluids) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.60015829699114] Failed to read output from testmodel.py, exit status != 0: 3.235698828997556 3.249341312 0.300725222 Calling exit ...