Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve.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.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestIdealSwitchValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.891/0.891, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.598e-05, allocations: 6.031 kB / 237.8 MB, free: 1.758 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.TestIdealSwitchValve): time 1.886/1.886, allocations: 295.6 MB / 0.5209 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2312/2.117, allocations: 186.7 MB / 0.7033 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005916/2.118, allocations: 7.938 kB / 0.7033 GB, free: 1.105 MB / 0.5762 GB [/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/IdealSwitchValve.mo:23:3-25: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/IdealSwitchValve.mo:26:3-28:38: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/LumpedStraightPipe.mo:49:3-50:42: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/LumpedStraightPipe.mo:51:3-53:37: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/LumpedStraightPipe.mo:49:3-50:42: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/LumpedStraightPipe.mo:51:3-53:37: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.0008018/2.119, allocations: 156.6 kB / 0.7034 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008658/2.12, allocations: 202.5 kB / 0.7036 GB, free: 0.7539 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. Notification: Performance of NFTyping.typeClassSections: time 0.5232/2.643, allocations: 11.49 MB / 0.7148 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001223/2.644, allocations: 0.7012 MB / 0.7155 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/2.645, allocations: 232 kB / 0.7157 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/2.645, allocations: 256.5 kB / 0.716 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/2.645, allocations: 229.9 kB / 0.7162 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/2.645, allocations: 36.97 kB / 0.7162 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04028/2.686, allocations: 19.43 MB / 0.7352 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001056/2.687, allocations: 0.8321 MB / 0.736 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.000334/2.687, allocations: 0.5426 MB / 0.7366 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/2.687, allocations: 89.23 kB / 0.7366 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001515/2.687, allocations: 16.28 kB / 0.7367 GB, free: 1.742 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: 131 (94) * Number of variables: 131 (131) Notification: Performance of Bindings: time 0.002784/2.69, allocations: 2.747 MB / 0.7393 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0004291/2.691, allocations: 346.5 kB / 0.7397 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002015/2.693, allocations: 1.975 MB / 0.7416 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001038/2.693, allocations: 126.5 kB / 0.7417 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of Alias: time 0.003148/2.696, allocations: 2.767 MB / 0.7444 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simplify2: time 8.52e-05/2.696, allocations: 81.91 kB / 0.7445 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0003482/2.696, allocations: 343.9 kB / 0.7448 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of Events: time 0.0002234/2.697, allocations: 133.5 kB / 0.745 GB, free: 15.73 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_2.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.