Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1.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.Fluid.Examples.SimpleExamples.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9383/0.9383, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/2.99e-05, allocations: 3.156 kB / 237.8 MB, free: 1.77 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.Fluid.Examples.SimpleExamples.TestStaticDrum1): time 1.916/1.916, allocations: 299.2 MB / 0.5244 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.709/2.625, allocations: 192.1 MB / 0.712 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/2.627, allocations: 13.53 kB / 0.712 GB, free: 1.012 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:59:3-60:76:writable] Warning: Connector Ce_eva is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:61:3-62:76:writable] Warning: Connector Ce_eco is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:63:3-64:72:writable] Warning: Connector Cs_sup is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:65:3-66:74:writable] Warning: Connector Cs_eva is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:67:3-68:72:writable] Warning: Connector Cs_sur is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:69:3-70:74:writable] Warning: Connector Cs_purg is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:71:3-72:74:writable] Warning: Connector Ce_steam is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/StaticDrum.mo:73:3-74:74:writable] Warning: Connector Ce_sup is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkQ.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Sensors/SensorT.mo:32:3-33:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Sensors/SensorT.mo:34:3-35:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/PlugB.mo:19:3-20:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Sensors/SensorT.mo:32:3-33:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Sensors/SensorT.mo:34:3-35:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefP.mo:10:3-11:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefP.mo:12:3-13:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefQ.mo:10:3-11:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefQ.mo:12:3-13:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/PlugA.mo:18:3-19:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefXgas.mo:14:3-15:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefXgas.mo:16:3-17:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008768/2.627, allocations: 236.1 kB / 0.7123 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/2.629, allocations: 0.4966 MB / 0.7128 GB, free: 0.9961 MB / 0.5606 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.04481/2.674, allocations: 12.8 MB / 0.7253 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004382/2.678, allocations: 2.139 MB / 0.7273 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/2.68, allocations: 1.131 MB / 0.7284 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/2.682, allocations: 0.7603 MB / 0.7292 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/2.683, allocations: 0.8432 MB / 0.73 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/2.683, allocations: 194.1 kB / 0.7302 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04117/2.724, allocations: 17.46 MB / 0.7473 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.003135/2.727, allocations: 2.732 MB / 0.7499 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.001002/2.729, allocations: 1.674 MB / 0.7516 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005958/2.729, allocations: 342.3 kB / 0.7519 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0004522/2.73, allocations: 66.06 kB / 0.7519 GB, free: 11.12 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: 517 (504) * Number of variables: 517 (509) Notification: Performance of Bindings: time 0.007858/2.737, allocations: 8.307 MB / 0.7601 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.001339/2.739, allocations: 1.393 MB / 0.7614 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.005427/2.744, allocations: 5.249 MB / 0.7665 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0003677/2.745, allocations: 367.7 kB / 0.7669 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of Alias: time 0.01646/2.761, allocations: 13.82 MB / 0.7804 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0002653/2.761, allocations: 107.9 kB / 0.7805 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0003642/2.762, allocations: 339 kB / 0.7808 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of Events: time 0.0002888/2.762, allocations: 176.7 kB / 0.781 GB, free: 2.062 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.cv, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.