Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.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.TestDynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9063/0.9063, allocations: 150.9 MB / 167.2 MB, free: 14.46 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.389e-05, allocations: 3.047 kB / 237.8 MB, free: 1.801 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.TestDynamicPlateHeatExchanger): time 1.999/1.999, allocations: 299.9 MB / 0.525 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7312/2.73, allocations: 195.7 MB / 0.7161 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/2.731, allocations: 34.97 kB / 0.7161 GB, free: 2.016 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:227:3-228:54:writable] Warning: Connector Ec 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/DynamicPlateHeatExchanger.mo:229:3-230:54:writable] Warning: Connector Ef 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/DynamicPlateHeatExchanger.mo:231:3-232:52:writable] Warning: Connector Sf 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/DynamicPlateHeatExchanger.mo:233:3-234:52:writable] Warning: Connector Sc 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/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/StaticPlateHeatExchanger.mo:91:3-92:54:writable] Warning: Connector Ec 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/StaticPlateHeatExchanger.mo:93:3-94:54:writable] Warning: Connector Ef 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/StaticPlateHeatExchanger.mo:95:3-96:52:writable] Warning: Connector Sf 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/StaticPlateHeatExchanger.mo:97:3-98:51:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.001011/2.732, allocations: 363.3 kB / 0.7165 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/2.735, allocations: 0.8712 MB / 0.7173 GB, free: 2.016 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.04546/2.78, allocations: 13.99 MB / 0.731 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005497/2.786, allocations: 3.126 MB / 0.7341 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/2.787, allocations: 1.149 MB / 0.7352 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/2.79, allocations: 1.317 MB / 0.7365 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/2.791, allocations: 1.241 MB / 0.7377 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002954/2.792, allocations: 220.2 kB / 0.7379 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04997/2.842, allocations: 21.89 MB / 0.7593 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.004753/2.847, allocations: 3.407 MB / 0.7626 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001814/2.848, allocations: 2.072 MB / 0.7646 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000819/2.849, allocations: 328.8 kB / 0.7649 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0004608/2.85, allocations: 58.59 kB / 0.765 GB, free: 12.5 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: 1134 (446) * Number of variables: 1134 (490) Notification: Performance of Bindings: time 0.01294/2.863, allocations: 10.87 MB / 0.7756 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.003964/2.867, allocations: 2.76 MB / 0.7783 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.01251/2.879, allocations: 8.977 MB / 0.7871 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0004693/2.88, allocations: 352.8 kB / 0.7874 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Alias: time 0.01744/2.897, allocations: 11.56 MB / 0.7987 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0004192/2.898, allocations: 176.8 kB / 0.7989 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of Detect States: time 0.001423/2.899, allocations: 1.181 MB / 0.8 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of Events: time 0.001357/2.9, allocations: 1.036 MB / 0.801 GB, free: 13.03 MB / 0.6231 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_50.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.