Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.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.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9029/0.9029, allocations: 150.9 MB / 167.2 MB, free: 14.28 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.078e-05, allocations: 5.453 kB / 237.8 MB, free: 1.816 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.TestMassFlowMultiplier): time 1.897/1.897, allocations: 295.2 MB / 0.5204 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03765/1.935, allocations: 30.88 MB / 0.5506 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/1.935, allocations: 4 kB / 0.5506 GB, free: 14.16 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30: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/BoundaryConditions/Sink.mo:17:3-19:16: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/PressureLosses/SingularPressureLoss.mo:25:3-27:16: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/PressureLosses/SingularPressureLoss.mo:28:3-29:52: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/PressureLosses/SingularPressureLoss.mo:25:3-27:16: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/PressureLosses/SingularPressureLoss.mo:28:3-29:52: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/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.000431/1.936, allocations: 146.4 kB / 0.5507 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/1.936, allocations: 148.4 kB / 0.5509 GB, free: 13.88 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.02644/1.962, allocations: 8.402 MB / 0.5591 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/1.964, allocations: 489.9 kB / 0.5596 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/1.964, allocations: 191.5 kB / 0.5597 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/1.964, allocations: 183.2 kB / 0.5599 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/1.964, allocations: 159.2 kB / 0.5601 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/1.965, allocations: 28 kB / 0.5601 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/1.991, allocations: 14.39 MB / 0.5741 GB, free: 6.062 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.000583/1.992, allocations: 0.5714 MB / 0.5747 GB, free: 5.484 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002153/1.992, allocations: 386.2 kB / 0.5751 GB, free: 5.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/1.992, allocations: 67.81 kB / 0.5751 GB, free: 5.035 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001041/1.992, allocations: 11.92 kB / 0.5751 GB, free: 5.023 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: 104 (77) * Number of variables: 104 (104) Notification: Performance of Bindings: time 0.002054/1.994, allocations: 2.024 MB / 0.5771 GB, free: 2.891 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002797/1.995, allocations: 231.6 kB / 0.5773 GB, free: 2.66 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001545/1.996, allocations: 1.53 MB / 0.5788 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simplify1: time 7.986e-05/1.996, allocations: 99.84 kB / 0.5789 GB, free: 1.004 MB / 462.1 MB Notification: Performance of Alias: time 0.002664/1.999, allocations: 2.272 MB / 0.5811 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simplify2: time 6.694e-05/1.999, allocations: 55.92 kB / 0.5812 GB, free: 14.5 MB / 478.1 MB Notification: Performance of Detect States: time 0.0002343/1.999, allocations: 257.7 kB / 0.5814 GB, free: 14.24 MB / 478.1 MB Notification: Performance of Events: time 0.0001378/1.999, allocations: 83.88 kB / 0.5815 GB, free: 14.16 MB / 478.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.