Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8497/0.8497, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.463e-05, allocations: 2.828 kB / 237.8 MB, free: 1.742 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.TestPipePressureLoss): time 1.833/1.833, allocations: 294.8 MB / 0.5201 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04319/1.876, allocations: 34.43 MB / 0.5538 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/1.876, allocations: 4 kB / 0.5538 GB, free: 10.75 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/PipePressureLoss.mo:35:3-37: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/PipePressureLoss.mo:38:3-40:37: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.0005496/1.877, allocations: 128.6 kB / 0.5539 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/1.877, allocations: 111.2 kB / 0.554 GB, free: 10.51 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.02844/1.906, allocations: 9.742 MB / 0.5635 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006253/1.906, allocations: 398.3 kB / 0.5639 GB, free: 384 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/1.907, allocations: 107.8 kB / 0.564 GB, free: 276 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/1.907, allocations: 151.3 kB / 0.5641 GB, free: 124 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/1.907, allocations: 103.5 kB / 0.5642 GB, free: 20 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/1.907, allocations: 20 kB / 0.5642 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0302/1.937, allocations: 17.3 MB / 0.5811 GB, free: 14.68 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0004494/1.938, allocations: 430.7 kB / 0.5815 GB, free: 14.26 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001804/1.938, allocations: 295.6 kB / 0.5818 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/1.938, allocations: 43.88 kB / 0.5819 GB, free: 13.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.773e-05/1.938, allocations: 8 kB / 0.5819 GB, free: 13.91 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: 76 (49) * Number of variables: 76 (76) Notification: Performance of Bindings: time 0.001629/1.94, allocations: 1.636 MB / 0.5835 GB, free: 12.18 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0002552/1.94, allocations: 223.8 kB / 0.5837 GB, free: 11.96 MB / 478.1 MB Notification: Performance of Early Inline: time 0.001267/1.941, allocations: 1.168 MB / 0.5848 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simplify1: time 6.079e-05/1.941, allocations: 67.91 kB / 0.5849 GB, free: 10.7 MB / 478.1 MB Notification: Performance of Alias: time 0.001911/1.943, allocations: 1.592 MB / 0.5864 GB, free: 8.961 MB / 478.1 MB Notification: Performance of simplify2: time 4.455e-05/1.943, allocations: 47.92 kB / 0.5865 GB, free: 8.914 MB / 478.1 MB Notification: Performance of Detect States: time 0.000209/1.943, allocations: 213.3 kB / 0.5867 GB, free: 8.695 MB / 478.1 MB Notification: Performance of Events: time 0.000102/1.944, allocations: 63.88 kB / 0.5868 GB, free: 8.633 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.