Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.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.8691/0.8691, allocations: 153.8 MB / 173.5 MB, free: 4.289 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.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.513e-05, allocations: 6 kB / 251.1 MB, free: 3.824 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.TestVolumeATh): time 1.95/1.95, allocations: 309.7 MB / 0.5476 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2181/2.168, allocations: 172.6 MB / 0.7162 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/2.17, allocations: 27.75 kB / 0.7162 GB, free: 3.395 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeATh.mo:104:3-105:67: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/VolumeATh.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/VolumeATh.mo:109:3-110: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/VolumeATh.mo:111:3-112: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/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/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/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/SourceQ.mo:63:3-64: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/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/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.0006522/2.17, allocations: 171.5 kB / 0.7164 GB, free: 3.227 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/2.171, allocations: 408.7 kB / 0.7168 GB, free: 2.824 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.04119/2.213, allocations: 14.18 MB / 0.7306 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002684/2.215, allocations: 1.861 MB / 0.7324 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/2.216, allocations: 0.7277 MB / 0.7331 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/2.217, allocations: 0.7478 MB / 0.7339 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/2.218, allocations: 0.5365 MB / 0.7344 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/2.218, allocations: 120 kB / 0.7345 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02877/2.247, allocations: 17.24 MB / 0.7513 GB, free: 15.34 MB / 0.6232 GB Notification: Performance of combineBinaries: time 0.002286/2.249, allocations: 2.289 MB / 0.7536 GB, free: 13.03 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.001087/2.25, allocations: 1.442 MB / 0.755 GB, free: 11.57 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/2.251, allocations: 112 kB / 0.7551 GB, free: 11.46 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0002036/2.251, allocations: 47.69 kB / 0.7551 GB, free: 11.41 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: 286 (286) * Number of variables: 286 (282) Notification: Performance of [SIM] Bindings: time 0.005755/2.257, allocations: 5.419 MB / 0.7604 GB, free: 5.727 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.000962/2.257, allocations: 0.7546 MB / 0.7612 GB, free: 4.98 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.003737/2.261, allocations: 3.335 MB / 0.7644 GB, free: 1.59 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.00108/2.262, allocations: 0.5316 MB / 0.7649 GB, free: 0.9727 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.3143/2.577, allocations: 6.234 MB / 0.771 GB, free: 28.71 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0004111/2.577, allocations: 257.4 kB / 0.7713 GB, free: 28.6 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0001395/2.577, allocations: 133 kB / 0.7714 GB, free: 28.53 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0003411/2.577, allocations: 310.5 kB / 0.7717 GB, free: 28.42 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0002208/2.578, allocations: 128.4 kB / 0.7718 GB, free: 28.42 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.000743/2.578, allocations: 0.6162 MB / 0.7724 GB, free: 28.24 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.002135/2.581, allocations: 1.383 MB / 0.7738 GB, free: 28.03 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00117/2.582, allocations: 1.049 MB / 0.7748 GB, free: 28.03 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001319/2.583, allocations: 0.7729 MB / 0.7756 GB, free: 27.81 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.001878/2.585, allocations: 1.708 MB / 0.7772 GB, free: 27.79 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 7.386e-05/2.585, allocations: 37.92 kB / 0.7773 GB, free: 27.76 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0002273/2.585, allocations: 240.3 kB / 0.7775 GB, free: 27.76 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.002166/2.587, allocations: 1.862 MB / 0.7793 GB, free: 27.65 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.0004086/2.588, allocations: 364.6 kB / 0.7797 GB, free: 27.62 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 1.844e-06/2.588, allocations: 4.125 kB / 0.7797 GB, free: 27.62 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004815/2.588, allocations: 465.8 kB / 0.7801 GB, free: 27.42 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 7.764e-06/2.588, allocations: 3.125 kB / 0.7801 GB, free: 27.42 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.0003157/2.589, allocations: 304.5 kB / 0.7804 GB, free: 27.4 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 2.161e-05/2.589, allocations: 12.64 kB / 0.7804 GB, free: 27.4 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.001414/2.59, allocations: 1.302 MB / 0.7817 GB, free: 27.3 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.002642/2.593, allocations: 4.256 MB / 0.7858 GB, free: 24.18 MB / 0.6232 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * 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: ............................. 1 (1) {volumeATh.h} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 28 (24) {volumeATh.fluids, volumeATh.Cs1.diff_on_2, volumeATh.Cs2.ftype, sink.fluid1, sink.fluid, controlValve1.ftype, controlValve1.fluid, controlValve1.C2.diff_on_1, controlValve2.ftype, controlValve2.fluid, controlValve2.C2.diff_on_1, sourceP2.C.diff_on_2, lumpedStraightPipe1.ftype, lumpedStraightPipe1.fluid, $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: ........... 60 (scalar:60, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 92 (scalar:90, array:2, 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 7.681e-05/2.593, allocations: 53.28 kB / 0.7859 GB, free: 24.14 MB / 0.6232 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(volumeATh.fluids) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.119901654019486] Failed to read output from testmodel.py, exit status != 0: 2.7445140220224857 2.752560529 0.499473192 Calling exit ...