Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8996/0.8996, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.184e-05, allocations: 5.781 kB / 237.8 MB, free: 1.75 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.TestControlValve): time 1.901/1.901, allocations: 294.9 MB / 0.5202 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04576/1.946, allocations: 34.75 MB / 0.5541 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/1.947, allocations: 4 kB / 0.5541 GB, free: 10.39 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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.000552/1.947, allocations: 179.2 kB / 0.5543 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/1.948, allocations: 171.1 kB / 0.5544 GB, free: 10.04 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.03301/1.981, allocations: 9.905 MB / 0.5641 GB, free: 136 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/1.982, allocations: 439.1 kB / 0.5645 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/1.982, allocations: 128.1 kB / 0.5646 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/1.983, allocations: 175.3 kB / 0.5648 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/1.983, allocations: 155.3 kB / 0.565 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/1.983, allocations: 20 kB / 0.565 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0379/2.021, allocations: 17.35 MB / 0.5819 GB, free: 13.86 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0007359/2.022, allocations: 470.4 kB / 0.5824 GB, free: 13.4 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002698/2.022, allocations: 323.2 kB / 0.5827 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/2.022, allocations: 43.88 kB / 0.5827 GB, free: 13.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0001079/2.022, allocations: 7.938 kB / 0.5827 GB, free: 13.03 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: 77 (50) * Number of variables: 77 (77) Notification: Performance of Bindings: time 0.002456/2.025, allocations: 1.729 MB / 0.5844 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.000381/2.025, allocations: 223.5 kB / 0.5846 GB, free: 10.99 MB / 478.1 MB Notification: Performance of Early Inline: time 0.001764/2.027, allocations: 1.199 MB / 0.5858 GB, free: 9.766 MB / 478.1 MB Notification: Performance of simplify1: time 9.146e-05/2.027, allocations: 71.89 kB / 0.5859 GB, free: 9.695 MB / 478.1 MB Notification: Performance of Alias: time 0.002643/2.03, allocations: 1.638 MB / 0.5875 GB, free: 7.906 MB / 478.1 MB Notification: Performance of simplify2: time 6.947e-05/2.03, allocations: 47.92 kB / 0.5875 GB, free: 7.859 MB / 478.1 MB Notification: Performance of Detect States: time 0.0002881/2.03, allocations: 219.6 kB / 0.5877 GB, free: 7.629 MB / 478.1 MB Notification: Performance of Events: time 0.0001471/2.03, allocations: 63.92 kB / 0.5878 GB, free: 7.566 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.