Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.878/0.878, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/2.918e-05, allocations: 5.016 kB / 237.7 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.841/1.841, allocations: 294.7 MB / 0.5199 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0407/1.882, allocations: 34.67 MB / 0.5538 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/1.882, allocations: 0 / 0.5538 GB, free: 10.64 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/Diaphragm.mo:30:3-32: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/Diaphragm.mo:33:3-35: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.000397/1.882, allocations: 135.4 kB / 0.5539 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/1.883, allocations: 119.2 kB / 0.554 GB, free: 10.39 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.02806/1.911, allocations: 9.799 MB / 0.5636 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006745/1.911, allocations: 398.8 kB / 0.564 GB, free: 200 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/1.912, allocations: 117.4 kB / 0.5641 GB, free: 80 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/1.912, allocations: 159.5 kB / 0.5642 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/1.912, allocations: 115.4 kB / 0.5644 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/1.912, allocations: 16 kB / 0.5644 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02763/1.94, allocations: 17.37 MB / 0.5813 GB, free: 14.4 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0004102/1.94, allocations: 446.7 kB / 0.5818 GB, free: 13.96 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001543/1.94, allocations: 291.6 kB / 0.582 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/1.94, allocations: 47.88 kB / 0.5821 GB, free: 13.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.117e-05/1.941, allocations: 4 kB / 0.5821 GB, free: 13.62 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: 78 (51) * Number of variables: 78 (78) Notification: Performance of Bindings: time 0.001507/1.942, allocations: 1.648 MB / 0.5837 GB, free: 11.87 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0002364/1.942, allocations: 232.1 kB / 0.5839 GB, free: 11.65 MB / 478.1 MB Notification: Performance of Early Inline: time 0.001152/1.943, allocations: 1.192 MB / 0.5851 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simplify1: time 6.304e-05/1.944, allocations: 71.89 kB / 0.5851 GB, free: 10.36 MB / 478.1 MB Notification: Performance of Alias: time 0.001756/1.945, allocations: 1.614 MB / 0.5867 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simplify2: time 4.83e-05/1.945, allocations: 47.92 kB / 0.5868 GB, free: 8.551 MB / 478.1 MB Notification: Performance of Detect States: time 0.0002031/1.946, allocations: 221.3 kB / 0.587 GB, free: 8.324 MB / 478.1 MB Notification: Performance of Events: time 0.0001146/1.946, allocations: 75.92 kB / 0.5871 GB, free: 8.25 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.