Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.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.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8459/0.846, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.076e-05, allocations: 2.938 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.TestDynamicOnePhaseFlowPipe): time 1.848/1.848, allocations: 296 MB / 0.5212 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03375/1.882, allocations: 24.59 MB / 0.5452 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/1.883, allocations: 8 kB / 0.5452 GB, free: 3.508 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116: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/DynamicOnePhaseFlowPipe.mo:117:3-118: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.0007613/1.884, allocations: 230.7 kB / 0.5455 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008232/1.884, allocations: 416.8 kB / 0.5459 GB, free: 2.879 MB / 430.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.02844/1.913, allocations: 7.758 MB / 0.5534 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/1.915, allocations: 1.284 MB / 0.5547 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004395/1.915, allocations: 296.5 kB / 0.555 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007445/1.916, allocations: 0.592 MB / 0.5556 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/1.917, allocations: 0.4943 MB / 0.556 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/1.917, allocations: 48 kB / 0.5561 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02785/1.945, allocations: 15.65 MB / 0.5714 GB, free: 8.781 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.001544/1.946, allocations: 1.238 MB / 0.5726 GB, free: 7.531 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006735/1.947, allocations: 0.8537 MB / 0.5734 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/1.947, allocations: 87.75 kB / 0.5735 GB, free: 6.582 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001542/1.947, allocations: 8 kB / 0.5735 GB, free: 6.574 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 (90) * Number of variables: 4097 (141) Notification: Performance of Bindings: time 0.004593/1.952, allocations: 4.57 MB / 0.578 GB, free: 1.875 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0008414/1.953, allocations: 0.6882 MB / 0.5786 GB, free: 1.203 MB / 462.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_4.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.x Notification: Performance of Early Inline: time 0.003448/1.956, allocations: 3.562 MB / 0.5821 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simplify1: time 0.0001046/1.956, allocations: 87.88 kB / 0.5822 GB, free: 13.5 MB / 478.1 MB Notification: Performance of Alias: time 0.003065/1.959, allocations: 2.541 MB / 0.5847 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simplify2: time 9.527e-05/1.96, allocations: 63.89 kB / 0.5847 GB, free: 10.7 MB / 478.1 MB Notification: Performance of Detect States: time 0.00074/1.96, allocations: 0.6573 MB / 0.5854 GB, free: 10.02 MB / 478.1 MB Notification: Performance of Events: time 0.0004072/1.961, allocations: 347.7 kB / 0.5857 GB, free: 9.664 MB / 478.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_10.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.