Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8784/0.8784, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/2.966e-05, allocations: 2.828 kB / 237.8 MB, free: 1.766 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.TestSingularPressureLoss): time 1.885/1.885, allocations: 294.8 MB / 0.5201 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04157/1.927, allocations: 34.42 MB / 0.5537 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/1.927, allocations: 4 kB / 0.5537 GB, free: 10.84 MB / 446.1 MB [/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/SinkP.mo:33:3-34:47: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0005022/1.928, allocations: 124.8 kB / 0.5538 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/1.928, allocations: 111.2 kB / 0.5539 GB, free: 10.61 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.03113/1.959, allocations: 9.738 MB / 0.5634 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007191/1.96, allocations: 375.6 kB / 0.5638 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/1.96, allocations: 103.8 kB / 0.5639 GB, free: 404 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/1.96, allocations: 135.4 kB / 0.564 GB, free: 268 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/1.96, allocations: 111.4 kB / 0.5641 GB, free: 156 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/1.96, allocations: 20 kB / 0.5641 GB, free: 136 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03222/1.993, allocations: 17.29 MB / 0.581 GB, free: 14.82 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0004319/1.993, allocations: 407 kB / 0.5814 GB, free: 14.42 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001573/1.993, allocations: 287.8 kB / 0.5817 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/1.993, allocations: 39.88 kB / 0.5817 GB, free: 14.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.174e-05/1.994, allocations: 7.938 kB / 0.5817 GB, free: 14.09 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: 74 (47) * Number of variables: 74 (74) Notification: Performance of Bindings: time 0.001614/1.995, allocations: 1.581 MB / 0.5832 GB, free: 12.41 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0002631/1.995, allocations: 217.7 kB / 0.5835 GB, free: 12.2 MB / 478.1 MB Notification: Performance of Early Inline: time 0.001174/1.997, allocations: 1.149 MB / 0.5846 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simplify1: time 5.957e-05/1.997, allocations: 67.89 kB / 0.5846 GB, free: 10.96 MB / 478.1 MB Notification: Performance of Alias: time 0.001834/1.998, allocations: 1.564 MB / 0.5862 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simplify2: time 4.58e-05/1.999, allocations: 43.92 kB / 0.5862 GB, free: 9.203 MB / 478.1 MB Notification: Performance of Detect States: time 0.000201/1.999, allocations: 216.1 kB / 0.5864 GB, free: 8.98 MB / 478.1 MB Notification: Performance of Events: time 0.0001096/1.999, allocations: 55.95 kB / 0.5865 GB, free: 8.926 MB / 478.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_2.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.