Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve.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.9005/0.9005, 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.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestIdealCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.338e-05, allocations: 3.594 kB / 251.1 MB, free: 3.766 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.TestIdealCheckValve): time 2.179/2.179, allocations: 313.2 MB / 0.5511 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2528/2.431, allocations: 173.6 MB / 0.7206 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/2.434, allocations: 43.62 kB / 0.7206 GB, free: 14.86 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/PressureLosses/IdealCheckValve.mo:22:3-23: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/IdealCheckValve.mo:24:3-25: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: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/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/IdealCheckValve.mo:22:3-23: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/IdealCheckValve.mo:24:3-25: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/IdealCheckValve.mo:22:3-23: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/IdealCheckValve.mo:24:3-25: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/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). Notification: Performance of NFTyping.typeComponents: time 0.001043/2.435, allocations: 293.5 kB / 0.7209 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002703/2.438, allocations: 0.7551 MB / 0.7217 GB, free: 13.81 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.04476/2.483, allocations: 14.56 MB / 0.7359 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00621/2.489, allocations: 3.865 MB / 0.7397 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/2.491, allocations: 1.507 MB / 0.7411 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/2.495, allocations: 1.507 MB / 0.7426 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/2.496, allocations: 1.139 MB / 0.7437 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004077/2.497, allocations: 276 kB / 0.744 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0371/2.534, allocations: 20.37 MB / 0.7639 GB, free: 2.484 MB / 0.6232 GB Notification: Performance of combineBinaries: time 0.4097/2.943, allocations: 5.062 MB / 0.7688 GB, free: 27.88 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.003027/2.946, allocations: 3.134 MB / 0.7719 GB, free: 26.5 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/2.947, allocations: 256.1 kB / 0.7721 GB, free: 26.5 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0006012/2.948, allocations: 90.36 kB / 0.7722 GB, free: 26.5 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: 650 (650) * Number of variables: 650 (642) Notification: Performance of [SIM] Bindings: time 0.01189/2.96, allocations: 11.52 MB / 0.7835 GB, free: 22.57 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.002314/2.962, allocations: 1.776 MB / 0.7852 GB, free: 22.34 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.007606/2.97, allocations: 7.66 MB / 0.7927 GB, free: 22.08 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.002418/2.972, allocations: 1.162 MB / 0.7938 GB, free: 21.66 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.01763/2.99, allocations: 13.71 MB / 0.8072 GB, free: 17.82 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0008985/2.991, allocations: 0.5365 MB / 0.8077 GB, free: 17.64 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0003128/2.991, allocations: 311.2 kB / 0.808 GB, free: 17.54 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0008316/2.992, allocations: 0.8006 MB / 0.8088 GB, free: 17.32 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0004967/2.992, allocations: 317.7 kB / 0.8091 GB, free: 17.27 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001554/2.994, allocations: 1.46 MB / 0.8105 GB, free: 17.04 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.0043/2.998, allocations: 3.556 MB / 0.814 GB, free: 16.68 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003017/3.001, allocations: 2.819 MB / 0.8167 GB, free: 16.68 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.003749/3.005, allocations: 1.743 MB / 0.8185 GB, free: 15.99 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.004565/3.01, allocations: 4.375 MB / 0.8227 GB, free: 15.9 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.000215/3.01, allocations: 99.16 kB / 0.8228 GB, free: 15.83 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0007843/3.011, allocations: 0.6345 MB / 0.8234 GB, free: 15.83 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.009376/3.02, allocations: 7.294 MB / 0.8306 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.001613/3.022, allocations: 1.342 MB / 0.8319 GB, free: 14.47 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 3.436e-06/3.022, allocations: 3 kB / 0.8319 GB, free: 14.47 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.001531/3.023, allocations: 1.068 MB / 0.8329 GB, free: 14.1 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.37e-05/3.023, allocations: 8.094 kB / 0.8329 GB, free: 14.1 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.0009146/3.024, allocations: 0.8332 MB / 0.8337 GB, free: 13.9 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 3.756e-05/3.024, allocations: 16.06 kB / 0.8338 GB, free: 13.89 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.004292/3.028, allocations: 3.274 MB / 0.837 GB, free: 13.43 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.007546/3.036, allocations: 8.752 MB / 0.8455 GB, free: 7.852 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: ......... 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) {volumeD.h, volumeC.h} * Number of discrete states: .................... 4 (4) {idealCheckValve2.ouvert, idealCheckValve1.ouvert, idealCheckValve3.ouvert, pulse.T0} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 71 (63) {puitsP1.fluid1, puitsP1.fluid, idealCheckValve3.touvert, idealCheckValve3.tferme, idealCheckValve3.C2.diff_on_1, perteDP2.fluid, perteDP2.C2.diff_on_2, perteDP3.ftype, perteDP3.fluid, puitsP.fluid1, puitsP.fluid, staticCentrifugalPump1.ftype, staticCentrifugalPump1.fluid, staticCentrifugalPump1.C2.diff_on_1, staticCentrifugalPump1.C2.diff_on_2, staticCentrifugalPump2.ftype, 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, idealCheckValve1.touvert, idealCheckValve1.tferme, idealCheckValve1.C2.diff_on_1, idealCheckValve2.touvert, idealCheckValve2.tferme, idealCheckValve2.C2.diff_on_1, volumeC.fluids, volumeC.Ce1.ftype, perteDP.ftype, perteDP.fluid, perteDP1.ftype, perteDP1.fluid, $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: ........... 144 (scalar:144, 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: ........... 206 (scalar:206, 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.0001694/3.036, allocations: 107.7 kB / 0.8456 GB, free: 7.77 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.706031438021455] Failed to read output from testmodel.py, exit status != 0: 3.260761623037979 3.275156221 0.32358852600000004 Calling exit ...