Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicTwoPhaseFlowPipe.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.TestDynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicTwoPhaseFlowPipe") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicTwoPhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicTwoPhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8896/0.8896, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.485e-05, allocations: 3.156 kB / 237.8 MB, free: 1.75 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.TestDynamicTwoPhaseFlowPipe): time 1.832/1.832, allocations: 299.1 MB / 0.5242 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03878/1.87, allocations: 25.97 MB / 0.5496 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/1.872, allocations: 16 kB / 0.5496 GB, free: 15.04 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46: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/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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48: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/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46: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/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). Notification: Performance of NFTyping.typeComponents: time 0.001294/1.874, allocations: 419.3 kB / 0.55 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002706/1.876, allocations: 1.117 MB / 0.5511 GB, free: 13.52 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. Notification: Performance of NFTyping.typeClassSections: time 0.02606/1.903, allocations: 8.335 MB / 0.5593 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006631/1.909, allocations: 3.747 MB / 0.5629 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/1.911, allocations: 0.8972 MB / 0.5638 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/1.915, allocations: 1.851 MB / 0.5656 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003101/1.918, allocations: 1.561 MB / 0.5671 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004482/1.918, allocations: 176 kB / 0.5673 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03066/1.949, allocations: 15.77 MB / 0.5827 GB, free: 13.15 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.00627/1.955, allocations: 3.431 MB / 0.5861 GB, free: 9.688 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.002564/1.958, allocations: 2.199 MB / 0.5882 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/1.958, allocations: 215.3 kB / 0.5884 GB, free: 7.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0003253/1.959, allocations: 23.94 kB / 0.5884 GB, free: 7.23 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: 2481 (239) * Number of variables: 12121 (363) Notification: Performance of Bindings: time 0.01664/1.975, allocations: 13 MB / 0.6011 GB, free: 9.98 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.003391/1.979, allocations: 2.422 MB / 0.6035 GB, free: 7.566 MB / 494.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_3.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_13.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_31.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_41.x Notification: Performance of Early Inline: time 0.01524/1.994, allocations: 10.58 MB / 0.6138 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0003283/1.994, allocations: 175.7 kB / 0.614 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of Alias: time 0.01064/2.005, allocations: 6.416 MB / 0.6203 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simplify2: time 0.0004173/2.006, allocations: 135.8 kB / 0.6204 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of Detect States: time 0.003156/2.009, allocations: 2.165 MB / 0.6225 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of Events: time 0.003314/2.012, allocations: 1.937 MB / 0.6244 GB, free: 1.648 MB / 0.4981 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_20.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.