Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2.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.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9483/0.9483, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.206e-05, allocations: 2.828 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.TestStaticDrum2): time 1.928/1.928, allocations: 298.4 MB / 0.5236 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5937/2.522, allocations: 192 MB / 0.7111 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00098/2.523, allocations: 17.53 kB / 0.7111 GB, free: 2.215 MB / 0.5762 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/BoundaryConditions/SourcePQ.mo:74:3-75: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/Thermal/BoundaryConditions/HeatSink.mo:11:3-13:67:writable] Warning: Connector C is not balanced: The number of potential variables (0) is not equal to the number of flow variables (1). [/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/Sink.mo:39:3-40: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). Notification: Performance of NFTyping.typeComponents: time 0.0006887/2.523, allocations: 201.8 kB / 0.7113 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/2.524, allocations: 442.5 kB / 0.7117 GB, free: 2.215 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. [/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.04044/2.565, allocations: 12.76 MB / 0.7242 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002979/2.568, allocations: 1.868 MB / 0.726 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/2.569, allocations: 0.8831 MB / 0.7269 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008721/2.57, allocations: 0.6638 MB / 0.7275 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/2.571, allocations: 0.7224 MB / 0.7282 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/2.571, allocations: 159.6 kB / 0.7284 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03397/2.605, allocations: 17.41 MB / 0.7454 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002757/2.607, allocations: 2.337 MB / 0.7477 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0008308/2.608, allocations: 1.438 MB / 0.7491 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005898/2.609, allocations: 282.2 kB / 0.7493 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0004379/2.609, allocations: 51.5 kB / 0.7494 GB, free: 15.95 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 426 (413) * Number of variables: 426 (418) Notification: Performance of Bindings: time 0.006929/2.616, allocations: 7.055 MB / 0.7563 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001108/2.617, allocations: 1.169 MB / 0.7574 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.004293/2.622, allocations: 4.391 MB / 0.7617 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003256/2.622, allocations: 313.6 kB / 0.762 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Alias: time 0.01272/2.635, allocations: 11.07 MB / 0.7728 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001781/2.635, allocations: 106 kB / 0.7729 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0003382/2.635, allocations: 337.9 kB / 0.7732 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of Events: time 0.0002504/2.636, allocations: 180.2 kB / 0.7734 GB, free: 4.805 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.