Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.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.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8987/0.8987, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.718e-05, allocations: 2.281 kB / 237.7 MB, free: 2.016 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.Book.SimpleExamples.Volume.TestVolumeATh): time 1.925/1.925, allocations: 296.5 MB / 0.5217 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.8312/2.756, allocations: 187.2 MB / 0.7045 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/2.758, allocations: 6.094 kB / 0.7045 GB, free: 2.051 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeATh.mo:27:3-29:42:writable] Warning: Connector Ce1 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/Volumes/VolumeATh.mo:30:3-32:37:writable] Warning: Connector Ce2 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/Volumes/VolumeATh.mo:33:3-35:37:writable] Warning: Connector Cs1 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/Volumes/VolumeATh.mo:36:3-38:43:writable] Warning: Connector Cs2 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). [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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/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.001559/2.759, allocations: 237.7 kB / 0.7047 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/2.761, allocations: 327.9 kB / 0.705 GB, free: 2.051 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.05169/2.813, allocations: 11.73 MB / 0.7165 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00272/2.816, allocations: 1.059 MB / 0.7175 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/2.816, allocations: 366.4 kB / 0.7179 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/2.817, allocations: 379.3 kB / 0.7182 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/2.818, allocations: 359.4 kB / 0.7186 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/2.818, allocations: 54.16 kB / 0.7186 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04587/2.864, allocations: 16.63 MB / 0.7349 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002524/2.866, allocations: 1.199 MB / 0.736 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0007595/2.867, allocations: 0.7916 MB / 0.7368 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/2.868, allocations: 132.7 kB / 0.7369 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003649/2.868, allocations: 24.89 kB / 0.737 GB, free: 0.9141 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: 196 (142) * Number of variables: 196 (196) Notification: Performance of Bindings: time 0.006733/2.875, allocations: 4.01 MB / 0.7409 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0009778/2.876, allocations: 0.6563 MB / 0.7415 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003881/2.88, allocations: 2.872 MB / 0.7443 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002604/2.88, allocations: 186.3 kB / 0.7445 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of Alias: time 0.006683/2.887, allocations: 4.19 MB / 0.7486 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simplify2: time 0.000198/2.887, allocations: 123.9 kB / 0.7487 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0006754/2.887, allocations: 476.2 kB / 0.7492 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of Events: time 0.0003659/2.888, allocations: 201.2 kB / 0.7494 GB, free: 13.68 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.