Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve.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.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicReliefValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8905/0.8905, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.774e-05, allocations: 2.828 kB / 237.7 MB, free: 1.836 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.TestDynamicReliefValve): time 1.903/1.903, allocations: 296.9 MB / 0.5221 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7403/2.644, allocations: 187.3 MB / 0.7051 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/2.644, allocations: 6.703 kB / 0.7051 GB, free: 2.18 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/DynamicReliefValve.mo:73:3-75: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/DynamicReliefValve.mo:76:3-78:33: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/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53:37: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/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/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53:37: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/Volumes/VolumeD.mo:29:3-31:42: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/Volumes/VolumeD.mo:32:3-34:37:writable] Warning: Connector Cs1 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/Volumes/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 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/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 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/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). Notification: Performance of NFTyping.typeComponents: time 0.000925/2.645, allocations: 285.4 kB / 0.7053 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/2.647, allocations: 488.1 kB / 0.7058 GB, free: 2.18 MB / 0.5762 GB [/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.04197/2.689, allocations: 11.71 MB / 0.7172 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003152/2.692, allocations: 1.319 MB / 0.7185 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009334/2.693, allocations: 430.6 kB / 0.7189 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/2.694, allocations: 485.5 kB / 0.7194 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007556/2.695, allocations: 468.5 kB / 0.7198 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/2.695, allocations: 70.44 kB / 0.7199 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04893/2.744, allocations: 19.68 MB / 0.7391 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002855/2.747, allocations: 1.456 MB / 0.7406 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.001018/2.748, allocations: 0.9401 MB / 0.7415 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005245/2.748, allocations: 151.9 kB / 0.7416 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003498/2.749, allocations: 21.94 kB / 0.7416 GB, free: 0.8789 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 (161) * Number of variables: 224 (224) Notification: Performance of Bindings: time 0.006145/2.755, allocations: 4.616 MB / 0.7461 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001524/2.757, allocations: 1.018 MB / 0.7471 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.00424/2.761, allocations: 3.518 MB / 0.7506 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003018/2.761, allocations: 240.6 kB / 0.7508 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of Alias: time 0.007151/2.768, allocations: 4.539 MB / 0.7552 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003544/2.769, allocations: 186.2 kB / 0.7554 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of Detect States: time 0.001012/2.77, allocations: 0.735 MB / 0.7561 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of Events: time 0.000521/2.77, allocations: 285.6 kB / 0.7564 GB, free: 11.99 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_4.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.