Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8953/0.8953, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.176e-05, allocations: 2.281 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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.86/1.86, allocations: 296.5 MB / 0.5217 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03107/1.891, allocations: 23.07 MB / 0.5443 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/1.891, allocations: 4 kB / 0.5443 GB, free: 4.504 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48:writable] Warning: Connector Ec 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/DynamicWaterWaterExchanger.mo:119:3-120:48:writable] Warning: Connector Ef 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/DynamicWaterWaterExchanger.mo:121:3-122:46:writable] Warning: Connector Sf 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/DynamicWaterWaterExchanger.mo:123:3-124:46:writable] Warning: Connector Sc 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/SourceP.mo:30:3-31:45: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/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). Notification: Performance of NFTyping.typeComponents: time 0.0007606/1.892, allocations: 216.7 kB / 0.5445 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009386/1.893, allocations: 420 kB / 0.5449 GB, free: 3.883 MB / 430.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. Notification: Performance of NFTyping.typeClassSections: time 0.02488/1.918, allocations: 7.373 MB / 0.5521 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/1.921, allocations: 1.374 MB / 0.5534 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007223/1.921, allocations: 315.2 kB / 0.5537 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/1.923, allocations: 0.5803 MB / 0.5543 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/1.924, allocations: 478.1 kB / 0.5547 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002671/1.924, allocations: 56 kB / 0.5548 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03453/1.959, allocations: 14.8 MB / 0.5693 GB, free: 10.95 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.001759/1.96, allocations: 1.314 MB / 0.5705 GB, free: 9.617 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006627/1.961, allocations: 0.879 MB / 0.5714 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/1.961, allocations: 107.8 kB / 0.5715 GB, free: 8.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001733/1.962, allocations: 19.94 kB / 0.5715 GB, free: 8.602 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 (128) * Number of variables: 818 (212) Notification: Performance of Bindings: time 0.006699/1.968, allocations: 5.133 MB / 0.5765 GB, free: 3.309 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.001378/1.97, allocations: 1.097 MB / 0.5776 GB, free: 2.176 MB / 462.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_1.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_2.x Notification: Performance of Early Inline: time 0.005541/1.975, allocations: 4.494 MB / 0.582 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simplify1: time 0.0002053/1.975, allocations: 151.8 kB / 0.5821 GB, free: 13.49 MB / 478.1 MB Notification: Performance of Alias: time 0.004875/1.98, allocations: 3.829 MB / 0.5859 GB, free: 9.336 MB / 478.1 MB Notification: Performance of simplify2: time 0.000173/1.98, allocations: 115.8 kB / 0.586 GB, free: 9.223 MB / 478.1 MB Notification: Performance of Detect States: time 0.0009269/1.981, allocations: 0.7753 MB / 0.5867 GB, free: 8.422 MB / 478.1 MB Notification: Performance of Events: time 0.0004988/1.982, allocations: 397.5 kB / 0.5871 GB, free: 8.031 MB / 478.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_9.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.