Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8856/0.8856, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.882e-05, allocations: 3.703 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.887/1.888, allocations: 295.8 MB / 0.5211 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6407/2.528, allocations: 188.9 MB / 0.7056 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005727/2.529, allocations: 11.16 kB / 0.7056 GB, free: 2.016 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54: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 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:127:3-128:52: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 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40: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.0004282/2.529, allocations: 99.77 kB / 0.7057 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/2.531, allocations: 0.6473 MB / 0.7063 GB, free: 2.012 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.03412/2.565, allocations: 12.18 MB / 0.7182 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001788/2.567, allocations: 1.101 MB / 0.7193 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/2.568, allocations: 417.8 kB / 0.7197 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/2.568, allocations: 477.3 kB / 0.7201 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004613/2.569, allocations: 443.6 kB / 0.7206 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/2.569, allocations: 64.59 kB / 0.7206 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03461/2.603, allocations: 19.84 MB / 0.74 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001422/2.605, allocations: 1.205 MB / 0.7412 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0004585/2.605, allocations: 0.7524 MB / 0.7419 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/2.606, allocations: 115.4 kB / 0.742 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001777/2.606, allocations: 22.38 kB / 0.742 GB, free: 1.031 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 (139) * Number of variables: 495 (134) Notification: Performance of Bindings: time 0.003501/2.609, allocations: 3.608 MB / 0.7456 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0003526/2.61, allocations: 278.7 kB / 0.7458 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.002141/2.612, allocations: 2.122 MB / 0.7479 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0001289/2.612, allocations: 101.2 kB / 0.748 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of Alias: time 0.003873/2.616, allocations: 2.95 MB / 0.7509 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simplify2: time 8.926e-05/2.616, allocations: 60.25 kB / 0.7509 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0003172/2.616, allocations: 287.7 kB / 0.7512 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of Events: time 0.0002842/2.616, allocations: 168.6 kB / 0.7514 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0006611/2.617, allocations: 0.5481 MB / 0.7519 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of Causalize: time 0.009073/2.626, allocations: 7.377 MB / 0.7591 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001732/2.628, allocations: 1.428 MB / 0.7605 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of Inline: time 0.0037/2.632, allocations: 2.514 MB / 0.763 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.000158/2.632, allocations: 89.97 kB / 0.763 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001257/2.632, allocations: 103.4 kB / 0.7631 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of Causalize: time 0.009706/2.642, allocations: 8.286 MB / 0.7712 GB, free: 4.406 MB / 0.5919 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_3[$i1] then [----] [SCAL] (1) dynamicOnePhaseFlowPipe.Kcc[$i1] = ThermoSysPro.Correlations.Thermal.WBCrossedCurrentConvectiveHeatTransferCoefficient(dynamicOnePhaseFlowPipe.TFilm[$i1], abs(dynamicOnePhaseFlowPipe.Q[$i1]), 0.05 * 100.0, dynamicOnePhaseFlowPipe.Sgaz, dynamicOnePhaseFlowPipe.Dext, dynamicOnePhaseFlowPipe.Fa, 1) ($RES_SIM_70) [----] else [----] [SCAL] (1) dynamicOnePhaseFlowPipe.Krr[$i1] = 0.0 ($RES_SIM_71) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!