Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell.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.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8413/0.8413, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.419e-05, allocations: 2.281 kB / 237.7 MB, free: 1.824 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.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestDynamicOnePhaseFlowShell): time 1.851/1.851, allocations: 296 MB / 0.5212 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.765/2.616, allocations: 195.6 MB / 0.7122 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/2.617, allocations: 14.88 kB / 0.7122 GB, free: 2.051 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowShell.mo:144:3-145:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowShell.mo:146:3-147:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004491/2.617, allocations: 112.3 kB / 0.7124 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/2.618, allocations: 448.8 kB / 0.7128 GB, free: 2.051 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.05012/2.668, allocations: 13.9 MB / 0.7264 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002616/2.671, allocations: 1.355 MB / 0.7277 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/2.671, allocations: 480.5 kB / 0.7281 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007724/2.672, allocations: 0.6021 MB / 0.7287 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/2.673, allocations: 0.562 MB / 0.7293 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/2.673, allocations: 86.25 kB / 0.7294 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04468/2.718, allocations: 18.65 MB / 0.7476 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002026/2.72, allocations: 1.401 MB / 0.7489 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0007137/2.721, allocations: 0.8339 MB / 0.7498 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003063/2.721, allocations: 122.2 kB / 0.7499 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003041/2.721, allocations: 20.17 kB / 0.7499 GB, free: 0.5156 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: 656 (148) * Number of variables: 656 (141) Notification: Performance of Bindings: time 0.005581/2.727, allocations: 4.371 MB / 0.7542 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001072/2.728, allocations: 0.7205 MB / 0.7549 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003725/2.732, allocations: 2.997 MB / 0.7578 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0001532/2.732, allocations: 75.2 kB / 0.7579 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of Alias: time 0.005449/2.737, allocations: 3.293 MB / 0.7611 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simplify2: time 9.691e-05/2.737, allocations: 36.16 kB / 0.7611 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0007898/2.738, allocations: 472.5 kB / 0.7616 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of Events: time 0.0004073/2.739, allocations: 244 kB / 0.7618 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0009472/2.739, allocations: 0.7236 MB / 0.7625 GB, free: 12.13 MB / 0.5919 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|4) Unmatched Variables *************************** [DER-] (12) Real[12] $DER.dynamicOnePhaseFlowPipeShell.P slice: {0, 11} [DER-] (12) Real[12] $DER.dynamicOnePhaseFlowPipeShell.h slice: {0, 11} (4|4) Unmatched Equations *************************** [SCAL] (1) dynamicOnePhaseFlowPipeShell.h[12] = 1e5 ($RES_SIM_153) slice: {} [SCAL] (1) dynamicOnePhaseFlowPipeShell.h[1] = 6e5 ($RES_SIM_154) slice: {} [SCAL] (1) dynamicOnePhaseFlowPipeShell.P[12] = sinkP.P0 ($RES_SIM_159) slice: {} [SCAL] (1) rampe.y.signal = if $TEV_0 then rampe.Initialvalue else if $TEV_1 then rampe.Finalvalue else rampe.Initialvalue + ((time - rampe.Starttime) * (rampe.Finalvalue - rampe.Initialvalue)) / rampe.Duration ($RES_SIM_8) slice: {}