Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.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.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8761/0.8761, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.251e-05, allocations: 2.938 kB / 237.8 MB, free: 1.77 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.Examples.SimpleExamples.TestJunctions4): time 1.878/1.878, allocations: 295.9 MB / 0.5211 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04592/1.924, allocations: 34.66 MB / 0.555 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/1.925, allocations: 4 kB / 0.555 GB, free: 9.504 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/DeheaterMixer2.mo:14:3-16:17:writable] Warning: Connector Ce_mix is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/DeheaterMixer2.mo:17:3-18:44:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/DeheaterMixer2.mo:20:3-22:17:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkQ.mo:24:3-26:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Source.mo:17:3-18:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006488/1.925, allocations: 172.8 kB / 0.5552 GB, free: 9.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/1.926, allocations: 214.4 kB / 0.5554 GB, free: 9.125 MB / 446.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.03096/1.957, allocations: 9.807 MB / 0.5649 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/1.958, allocations: 0.7429 MB / 0.5657 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/1.958, allocations: 274.9 kB / 0.5659 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/1.958, allocations: 270.9 kB / 0.5662 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/1.959, allocations: 242.8 kB / 0.5664 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/1.959, allocations: 44 kB / 0.5665 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02934/1.988, allocations: 17.31 MB / 0.5834 GB, free: 12.43 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.001176/1.989, allocations: 0.8647 MB / 0.5842 GB, free: 11.56 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005214/1.99, allocations: 0.5774 MB / 0.5848 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/1.99, allocations: 91.75 kB / 0.5849 GB, free: 10.88 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0001598/1.99, allocations: 15.88 kB / 0.5849 GB, free: 10.87 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 (115) * Number of variables: 160 (160) Notification: Performance of Bindings: time 0.003377/1.994, allocations: 2.991 MB / 0.5878 GB, free: 7.734 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0005075/1.994, allocations: 481.7 kB / 0.5883 GB, free: 7.258 MB / 478.1 MB Notification: Performance of Early Inline: time 0.002762/1.997, allocations: 2.355 MB / 0.5906 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simplify1: time 0.000129/1.997, allocations: 143.8 kB / 0.5907 GB, free: 4.711 MB / 478.1 MB Notification: Performance of Alias: time 0.004655/2.002, allocations: 3.424 MB / 0.594 GB, free: 1.023 MB / 478.1 MB Notification: Performance of simplify2: time 9.637e-05/2.002, allocations: 95.86 kB / 0.5941 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of Detect States: time 0.0003514/2.002, allocations: 364.9 kB / 0.5945 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of Events: time 0.0002222/2.003, allocations: 155.8 kB / 0.5946 GB, free: 408 kB / 478.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.