Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3.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.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestStaticDrum3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8673/0.8673, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.196e-05, allocations: 2.938 kB / 237.7 MB, free: 1.812 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.Book.SimpleExamples.Volume.TestStaticDrum3): time 1.775/1.775, allocations: 301.4 MB / 0.5265 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7849/2.56, allocations: 201.5 MB / 0.7232 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/2.563, allocations: 31.72 kB / 0.7233 GB, free: 2.023 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/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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52: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/LumpedStraightPipe.mo:54:3-55: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/LumpedStraightPipe.mo:56:3-57: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/Volumes/VolumeA.mo:104:3-105:67:writable] Warning: Connector Ce1 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/Volumes/VolumeA.mo:106:3-108:57:writable] Warning: Connector Ce2 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/Volumes/VolumeA.mo:109:3-110:73:writable] Warning: Connector Cs1 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/Volumes/VolumeA.mo:111:3-112:75:writable] Warning: Connector Cs2 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.001649/2.565, allocations: 462.1 kB / 0.7237 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003895/2.569, allocations: 1.031 MB / 0.7247 GB, free: 1.984 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.06306/2.632, allocations: 15.52 MB / 0.7399 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009979/2.642, allocations: 4.104 MB / 0.7439 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004364/2.647, allocations: 1.551 MB / 0.7454 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006338/2.653, allocations: 1.736 MB / 0.7471 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/2.658, allocations: 1.652 MB / 0.7487 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/2.659, allocations: 287.9 kB / 0.749 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05473/2.713, allocations: 20.09 MB / 0.7686 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.007496/2.721, allocations: 4.406 MB / 0.7729 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.003142/2.724, allocations: 2.719 MB / 0.7756 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/2.726, allocations: 428.2 kB / 0.776 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0006504/2.726, allocations: 72.41 kB / 0.776 GB, free: 10.62 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: 1837 (606) * Number of variables: 6657 (650) Notification: Performance of Bindings: time 0.02011/2.747, allocations: 14.92 MB / 0.7906 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.003528/2.75, allocations: 2.302 MB / 0.7928 GB, free: 10.64 MB / 0.6075 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_18.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_32.x Notification: Performance of Early Inline: time 0.01705/2.767, allocations: 10.92 MB / 0.8035 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simplify1: time 0.0009717/2.768, allocations: 453.9 kB / 0.8039 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of Alias: time 0.02308/2.791, allocations: 15.96 MB / 0.8195 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0006295/2.792, allocations: 196.9 kB / 0.8197 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of Detect States: time 0.002531/2.795, allocations: 1.761 MB / 0.8214 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of Events: time 0.002194/2.797, allocations: 1.239 MB / 0.8226 GB, free: 10.78 MB / 0.6387 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_38.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.