Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8865/0.8865, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.523e-05, allocations: 2.281 kB / 237.7 MB, free: 1.832 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.Book.SimpleExamples.PressureLoss.TestBend): time 1.823/1.823, allocations: 294.9 MB / 0.5201 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04911/1.872, allocations: 35.07 MB / 0.5543 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/1.873, allocations: 4 kB / 0.5543 GB, free: 10.26 MB / 446.1 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Bend.mo:55:3-57:42: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/Bend.mo:58:3-60:43:writable] Warning: Connector C2 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.0008196/1.873, allocations: 288.6 kB / 0.5546 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/1.874, allocations: 290.8 kB / 0.5549 GB, free: 9.691 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.03537/1.909, allocations: 9.979 MB / 0.5646 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/1.911, allocations: 0.5456 MB / 0.5652 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/1.911, allocations: 190.2 kB / 0.5654 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/1.912, allocations: 243.1 kB / 0.5656 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/1.912, allocations: 239.2 kB / 0.5658 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/1.912, allocations: 24 kB / 0.5658 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03219/1.944, allocations: 17.44 MB / 0.5829 GB, free: 13.01 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0005941/1.945, allocations: 0.5599 MB / 0.5834 GB, free: 12.44 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002048/1.945, allocations: 362.6 kB / 0.5838 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/1.945, allocations: 59.81 kB / 0.5838 GB, free: 12.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.52e-05/1.945, allocations: 4 kB / 0.5838 GB, free: 12.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 (62) * Number of variables: 89 (89) Notification: Performance of Bindings: time 0.002076/1.947, allocations: 1.951 MB / 0.5857 GB, free: 9.961 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0002876/1.948, allocations: 247.2 kB / 0.586 GB, free: 9.719 MB / 478.1 MB Notification: Performance of Early Inline: time 0.001375/1.949, allocations: 1.337 MB / 0.5873 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simplify1: time 8.746e-05/1.949, allocations: 91.86 kB / 0.5874 GB, free: 8.27 MB / 478.1 MB Notification: Performance of Alias: time 0.002062/1.951, allocations: 1.839 MB / 0.5892 GB, free: 6.25 MB / 478.1 MB Notification: Performance of simplify2: time 5.472e-05/1.951, allocations: 55.84 kB / 0.5892 GB, free: 6.195 MB / 478.1 MB Notification: Performance of Detect States: time 0.0002463/1.952, allocations: 259.5 kB / 0.5895 GB, free: 5.926 MB / 478.1 MB Notification: Performance of Events: time 0.0001559/1.952, allocations: 91.86 kB / 0.5895 GB, free: 5.836 MB / 478.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_2.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.