Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve.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.8884/0.8884, allocations: 153.8 MB / 173.5 MB, free: 4.859 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.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.292e-05, allocations: 6.281 kB / 251.1 MB, free: 3.887 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.PressureLoss.TestDynamicReliefValve): time 1.834/1.834, allocations: 310 MB / 0.5479 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4747/2.309, allocations: 172.7 MB / 0.7165 GB, free: 40 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000792/2.31, allocations: 27.75 kB / 0.7166 GB, free: 12 kB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/DynamicReliefValve.mo:72:3-73: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/DynamicReliefValve.mo:74:3-76:57: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/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/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/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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.000548/2.31, allocations: 217.3 kB / 0.7168 GB, free: 15.8 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001307/2.312, allocations: 0.528 MB / 0.7173 GB, free: 15.27 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.03653/2.348, allocations: 14.15 MB / 0.7311 GB, free: 1.117 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002757/2.351, allocations: 2.035 MB / 0.7331 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/2.352, allocations: 0.7833 MB / 0.7338 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/2.353, allocations: 0.8139 MB / 0.7346 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/2.354, allocations: 0.6261 MB / 0.7353 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/2.354, allocations: 136 kB / 0.7354 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03642/2.391, allocations: 20.43 MB / 0.7553 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.00293/2.394, allocations: 2.568 MB / 0.7578 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.001466/2.395, allocations: 1.573 MB / 0.7594 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/2.395, allocations: 128 kB / 0.7595 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0002288/2.396, allocations: 44.78 kB / 0.7595 GB, free: 3.891 MB / 0.6075 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.007031/2.403, allocations: 6.014 MB / 0.7654 GB, free: 13.62 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.001173/2.404, allocations: 0.9323 MB / 0.7663 GB, free: 12.68 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.0045/2.408, allocations: 3.917 MB / 0.7701 GB, free: 8.691 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.001164/2.41, allocations: 0.6176 MB / 0.7708 GB, free: 7.992 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.009919/2.419, allocations: 6.646 MB / 0.7772 GB, free: 0.6133 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0005494/2.42, allocations: 324.8 kB / 0.7776 GB, free: 256 kB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0002192/2.42, allocations: 184.1 kB / 0.7777 GB, free: 44 kB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0005399/2.421, allocations: 431.6 kB / 0.7781 GB, free: 15.57 MB / 0.6388 GB Notification: Performance of [SIM] Events: time 0.0002864/2.421, allocations: 164.3 kB / 0.7783 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of [SIM] Partitioning: time 0.0009507/2.422, allocations: 0.7811 MB / 0.7791 GB, free: 14.59 MB / 0.6388 GB Notification: Performance of [SIM] Causalize: time 0.002483/2.424, allocations: 1.797 MB / 0.7808 GB, free: 12.73 MB / 0.6388 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001662/2.426, allocations: 1.542 MB / 0.7823 GB, free: 11.18 MB / 0.6388 GB Notification: Performance of [INI] Simplify: time 0.001567/2.428, allocations: 0.9413 MB / 0.7832 GB, free: 10.15 MB / 0.6388 GB Notification: Performance of [INI] Inline: time 0.002831/2.431, allocations: 2.419 MB / 0.7856 GB, free: 7.695 MB / 0.6388 GB Notification: Performance of [INI] Partitioning: time 0.000104/2.431, allocations: 52.05 kB / 0.7857 GB, free: 7.629 MB / 0.6388 GB Notification: Performance of [INI] Cleanup: time 0.0003705/2.431, allocations: 351.6 kB / 0.786 GB, free: 7.285 MB / 0.6388 GB Notification: Performance of [INI] Causalize: time 0.003636/2.435, allocations: 2.465 MB / 0.7884 GB, free: 4.766 MB / 0.6388 GB Notification: Performance of [INI] Tearing: time 0.0006836/2.435, allocations: 444.5 kB / 0.7888 GB, free: 4.34 MB / 0.6388 GB Notification: Performance of [SIM] Initialization: time 1.333e-06/2.435, allocations: 4 kB / 0.7888 GB, free: 4.336 MB / 0.6388 GB Notification: Performance of [SIM] DAE-Mode: time 0.001005/2.436, allocations: 0.5974 MB / 0.7894 GB, free: 3.738 MB / 0.6388 GB Notification: Performance of [SIM] Remove Dummies: time 1.306e-05/2.436, allocations: 8.656 kB / 0.7894 GB, free: 3.727 MB / 0.6388 GB Notification: Performance of [SIM] Tearing: time 0.0004975/2.437, allocations: 379 kB / 0.7898 GB, free: 3.375 MB / 0.6388 GB Notification: Performance of [SIM] Categorize: time 2.415e-05/2.437, allocations: 8 kB / 0.7898 GB, free: 3.367 MB / 0.6388 GB Notification: Performance of [SIM] Solve: time 0.002961/2.44, allocations: 1.932 MB / 0.7917 GB, free: 1.52 MB / 0.6388 GB Notification: Performance of [SIM] Jacobian: time 0.004571/2.444, allocations: 3.973 MB / 0.7955 GB, free: 13.44 MB / 0.6544 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 4 (4) {ReliefValve.v, ReliefValve.Wdyn, ReliefValve.z, VolumeD1.h} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 32 (28) {ReliefValve.fluid, ReliefValve.clapper_is_free, ReliefValve.C1.diff_on_2, ReliefValve.C2.diff_on_1, Pipe2.fluid, Sink2.ftype, Sink2.fluid1, Sink2.fluid, Pipe1.ftype, Pipe1.fluid, VolumeD1.fluids, VolumeD1.Cs2.ftype, Sink1.ftype, Sink1.fluid1, Sink1.fluid, $FUN_2, $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: ........... 80 (scalar:80, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 116 (scalar:116, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 8.882e-05/2.444, allocations: 56.83 kB / 0.7956 GB, free: 13.38 MB / 0.6544 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(VolumeD1.fluids) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.207634425023571] Failed to read output from testmodel.py, exit status != 0: 2.785673720005434 2.795931199 0.39752061600000005 Calling exit ...