Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFresnelField.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.SimpleExamples.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFresnelField") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFresnelField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8695/0.8695, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.429e-05, allocations: 5.469 kB / 237.8 MB, free: 1.773 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.SimpleExamples.TestFresnelField): time 1.818/1.818, allocations: 297.5 MB / 0.5227 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05095/1.869, allocations: 37.62 MB / 0.5595 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/1.87, allocations: 12 kB / 0.5595 GB, free: 4.77 MB / 446.1 MB [/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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce 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/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs 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/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce 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/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs 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.0009096/1.871, allocations: 295.2 kB / 0.5597 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/1.872, allocations: 0.6451 MB / 0.5604 GB, free: 3.832 MB / 446.1 MB [/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.0335/1.906, allocations: 10.75 MB / 0.5709 GB, free: 9.086 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003915/1.91, allocations: 2.277 MB / 0.5731 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008629/1.91, allocations: 0.626 MB / 0.5737 GB, free: 6.184 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/1.912, allocations: 1.075 MB / 0.5748 GB, free: 5.105 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/1.913, allocations: 0.946 MB / 0.5757 GB, free: 4.156 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/1.913, allocations: 116 kB / 0.5758 GB, free: 4.043 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03491/1.948, allocations: 18.42 MB / 0.5938 GB, free: 1.602 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.003241/1.951, allocations: 2.222 MB / 0.5959 GB, free: 15.36 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.001185/1.953, allocations: 1.417 MB / 0.5973 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003973/1.953, allocations: 155.5 kB / 0.5975 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.000309/1.953, allocations: 16 kB / 0.5975 GB, free: 13.75 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3640 (174) * Number of variables: 46860 (245) Notification: Performance of Bindings: time 0.009207/1.962, allocations: 8.092 MB / 0.6054 GB, free: 5.473 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.001902/1.964, allocations: 1.561 MB / 0.6069 GB, free: 3.91 MB / 494.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.x Notification: Performance of Early Inline: time 0.007291/1.972, allocations: 6.577 MB / 0.6133 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0002403/1.972, allocations: 167.8 kB / 0.6135 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of Alias: time 0.006463/1.978, allocations: 4.663 MB / 0.6181 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simplify2: time 0.000285/1.979, allocations: 135.8 kB / 0.6182 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of Detect States: time 0.00166/1.98, allocations: 1.327 MB / 0.6195 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of Events: time 0.001422/1.982, allocations: 1.131 MB / 0.6206 GB, free: 5.398 MB / 0.4981 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_22.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.