Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank.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.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.859/0.859, allocations: 150.9 MB / 167.2 MB, free: 14.29 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.286e-05, allocations: 2.938 kB / 237.7 MB, free: 1.891 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.TestTank): time 1.9/1.9, allocations: 297 MB / 0.5221 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7694/2.669, allocations: 187.4 MB / 0.7051 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/2.67, allocations: 6.156 kB / 0.7051 GB, free: 2.074 MB / 0.5762 GB [/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/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/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/Volumes/Tank.mo:71:3-72:53: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/Tank.mo:73:3-74:53: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/Volumes/Tank.mo:78:3-79:55: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/Tank.mo:80:3-81:51: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.0009067/2.671, allocations: 233 kB / 0.7054 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009454/2.672, allocations: 354.2 kB / 0.7057 GB, free: 2.074 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.04633/2.718, allocations: 11.8 MB / 0.7172 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002595/2.721, allocations: 1.32 MB / 0.7185 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007559/2.722, allocations: 444 kB / 0.7189 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008535/2.723, allocations: 478.5 kB / 0.7194 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000629/2.723, allocations: 463.4 kB / 0.7198 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/2.723, allocations: 74.06 kB / 0.7199 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04981/2.773, allocations: 19.48 MB / 0.7389 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002289/2.775, allocations: 1.484 MB / 0.7404 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0006431/2.776, allocations: 0.9443 MB / 0.7413 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/2.777, allocations: 148.8 kB / 0.7414 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0002804/2.777, allocations: 29.92 kB / 0.7415 GB, free: 0.75 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: 224 (161) * Number of variables: 224 (224) Notification: Performance of Bindings: time 0.005203/2.782, allocations: 4.686 MB / 0.746 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001354/2.783, allocations: 1.055 MB / 0.7471 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.004593/2.788, allocations: 3.806 MB / 0.7508 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003569/2.788, allocations: 273 kB / 0.7511 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Alias: time 0.00662/2.795, allocations: 4.604 MB / 0.7555 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003414/2.795, allocations: 207.9 kB / 0.7557 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0008304/2.796, allocations: 0.6632 MB / 0.7564 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of Events: time 0.0006835/2.797, allocations: 472.8 kB / 0.7568 GB, free: 11.71 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.