Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.DynamicWaterHeater.ZeroFlow.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.DynamicWaterHeater.ZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.DynamicWaterHeater.ZeroFlow") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.DynamicWaterHeater.ZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.DynamicWaterHeater.ZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8193/0.8193, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004105, allocations: 14.41 kB / 237.8 MB, free: 1.816 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05769/0.05812, allocations: 31.35 MB / 269.1 MB, free: 7.086 MB / 222.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.DynamicWaterHeater.ZeroFlow): time 1.628/1.686, allocations: 309.4 MB / 0.565 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5539/2.24, allocations: 205.1 MB / 0.7653 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/2.243, allocations: 84.08 kB / 0.7653 GB, free: 1.426 MB / 0.5919 GB [/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). [/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/PressureLosses/ControlValve.mo:44:3-45:68: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/PressureLosses/ControlValve.mo:46:3-47:66: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/Volumes/TwoPhaseCavity.mo:182:3-184:57:writable] Warning: Connector Cv 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/Volumes/TwoPhaseCavity.mo:185:3-187:61:writable] Warning: Connector Cl 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/Volumes/TwoPhaseCavity.mo:200:3-201:67:writable] Warning: Connector Ce 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/DynamicOnePhaseFlowPipe.mo:150:3-151: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/DynamicOnePhaseFlowPipe.mo:152:3-153: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/HeatExchangers/DynamicWaterHeater.mo:98:3-99:65:writable] Warning: Connector C1vap 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/DynamicWaterHeater.mo:100:3-102:16:writable] Warning: Connector C2ex 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/DynamicWaterHeater.mo:103:3-104:76:writable] Warning: Connector Ce1 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/DynamicWaterHeater.mo:105:3-106:74:writable] Warning: Connector Ce2 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/DynamicWaterHeater.mo:111:3-112:74: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/DynamicOnePhaseFlowPipe.mo:150:3-151: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/DynamicOnePhaseFlowPipe.mo:152:3-153: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/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151: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/DynamicOnePhaseFlowPipe.mo:152:3-153: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/Volumes/VolumeC.mo:103:3-105:59:writable] Warning: Connector Ce1 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/Volumes/VolumeC.mo:106:3-108:57:writable] Warning: Connector Ce2 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/Volumes/VolumeC.mo:109:3-110:65:writable] Warning: Connector Cs 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/Volumes/VolumeC.mo:111:3-113:24:writable] Warning: Connector Ce3 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/Volumes/VolumeD.mo:104:3-105:67:writable] Warning: Connector Ce 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/Volumes/VolumeD.mo:106:3-107:73:writable] Warning: Connector Cs1 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/Volumes/VolumeD.mo:108:3-109:75:writable] Warning: Connector Cs2 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/Volumes/VolumeD.mo:110:3-111:71:writable] Warning: Connector Cs3 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/Volumes/VolumeD.mo:104:3-105:67:writable] Warning: Connector Ce 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/Volumes/VolumeD.mo:106:3-107:73:writable] Warning: Connector Cs1 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/Volumes/VolumeD.mo:108:3-109:75:writable] Warning: Connector Cs2 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/Volumes/VolumeD.mo:110:3-111:71:writable] Warning: Connector Cs3 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/Sink.mo:39:3-40: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefQ.mo:10:3-11: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/BoundaryConditions/RefQ.mo:12:3-13: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/PressureLosses/IdealCheckValve.mo:22:3-23: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/PressureLosses/IdealCheckValve.mo:24:3-25: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/PressureLosses/SingularPressureLoss.mo:27:3-28: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/PressureLosses/SingularPressureLoss.mo:29:3-30: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/PressureLosses/LumpedStraightPipe.mo:54:3-55: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/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 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.002075/2.246, allocations: 0.9616 MB / 0.7663 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004957/2.25, allocations: 2.305 MB / 0.7685 GB, free: 1.336 MB / 0.5919 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.04756/2.298, allocations: 17.34 MB / 0.7855 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02781/2.326, allocations: 31.4 MB / 0.8161 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01672/2.343, allocations: 11.07 MB / 0.8269 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0172/2.36, allocations: 9.062 MB / 0.8358 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01911/2.379, allocations: 10.8 MB / 0.8463 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.009436/2.389, allocations: 2.828 MB / 0.8491 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06695/2.455, allocations: 27.05 MB / 0.8755 GB, free: 5.648 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01507/2.471, allocations: 8.002 MB / 0.8833 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.02544/2.496, allocations: 9.792 MB / 0.8929 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0759/2.572, allocations: 39.04 MB / 0.931 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/2.572, allocations: 3.938 kB / 0.931 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/2.572, allocations: 0 / 0.931 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0009917/2.573, allocations: 0 / 0.931 GB, free: 14.27 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3466 * Number of variables: 3466 Notification: Performance of Generate backend data structure: time 0.07675/2.65, allocations: 18.49 MB / 0.9491 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/2.65, allocations: 8.031 kB / 0.9491 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008982/2.659, allocations: 1.48 MB / 0.9505 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/2.677, allocations: 7.318 MB / 0.9577 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0039/2.681, allocations: 3.334 MB / 0.9609 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008047/2.689, allocations: 1.433 MB / 0.9623 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0752/2.765, allocations: 26.11 MB / 0.9878 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006946/2.765, allocations: 55.5 kB / 0.9879 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007065/2.772, allocations: 0.5547 MB / 0.9884 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000366/2.773, allocations: 356 kB / 0.9888 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5535/3.326, allocations: 68.35 MB / 1.056 GB, free: 357.7 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2204/3.547, allocations: 140.9 MB / 1.193 GB, free: 220.4 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0821/3.629, allocations: 33.82 MB / 1.226 GB, free: 187 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02592/3.655, allocations: 12.89 MB / 1.239 GB, free: 174.1 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453/5.108, allocations: 0.5643 GB / 1.803 GB, free: 344.4 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03336/5.141, allocations: 14.54 MB / 1.817 GB, free: 343.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1629): time 3.109e-05/5.141, allocations: 0 / 1.817 GB, free: 343.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=1630): time 0.528/5.669, allocations: 133 MB / 1.947 GB, free: 221.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002664/5.669, allocations: 0.5721 MB / 1.948 GB, free: 220.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00847/5.678, allocations: 5.001 MB / 1.953 GB, free: 215.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.004891/5.683, allocations: 301.7 kB / 1.953 GB, free: 215.4 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:10:3-11:71:writable] Warning: The parameter PressureLoss_Steam.lambda has fixed = false and a binding equation PressureLoss_Steam.lambda = 0.03, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicWaterHeater.mo:38:3-38:111:writable] Warning: The parameter WaterHeating.COP0l has fixed = false and a binding equation WaterHeating.COP0l = 1.23, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:6:3-7:43:writable] Warning: The parameter ControlValve_eau.Cvmax has fixed = false and a binding equation ControlValve_eau.Cvmax = 354.534, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.002745/5.686, allocations: 4.122 MB / 1.957 GB, free: 211.9 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.009048/5.695, allocations: 6.145 MB / 1.963 GB, free: 206.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02057/5.715, allocations: 3.705 MB / 1.966 GB, free: 202.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/5.715, allocations: 301.1 kB / 1.967 GB, free: 202.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02475/5.74, allocations: 11.9 MB / 1.978 GB, free: 190.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2569/5.997, allocations: 16.09 MB / 1.994 GB, free: 344.4 MB / 0.795 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 1.611/7.608, allocations: 251 MB / 2.239 GB, free: 335.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/7.608, allocations: 34.53 kB / 2.239 GB, free: 335.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=2354) (initialization): time 0.107/7.715, allocations: 41.02 MB / 2.279 GB, free: 322.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/7.715, allocations: 103.5 kB / 2.279 GB, free: 322.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002736/7.716, allocations: 127.6 kB / 2.28 GB, free: 322.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507/9.223, allocations: 420 MB / 2.69 GB, free: 329.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006979/9.23, allocations: 1.782 MB / 2.691 GB, free: 329.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1131/9.343, allocations: 43.81 MB / 2.734 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01869/9.362, allocations: 0.8208 MB / 2.735 GB, free: 320 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006567/9.368, allocations: 0.9319 MB / 2.736 GB, free: 319.8 MB / 0.795 GB Warning: Assuming fixed start value for the following 1 variables: regulation_Niveau.pIsat1.Integrateur1.x0:DISCRETE(fixed = true protected = true ) type: Real Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.WaterHeating.pipe_3.Q[20] = 0.0 singularPressureLossPurge.T = $START.singularPressureLossPurge.T WaterHeating.WaterHeating.zl = $START.WaterHeating.WaterHeating.zl. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.regulation_Niveau.pIsat1.Integrateur1.x0,regulation_Niveau.pIsat1.Integrateur1.x0,$PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,sourceP.C.ftype,WaterHeating.WaterHeating.Cl.ftype,WaterHeating.volumeC.Cs.ftype,sourceP1.C.ftype,WaterHeating.C1.ftype,WaterHeating.volumeD1.Cs3.ftype,WaterHeating.volumeD1.Cs2.ftype,WaterHeating.volumeD1.Cs1.ftype,WaterHeating.volumeD.Cs2.ftype,WaterHeating.volumeD1.fluids[1],WaterHeating.volumeD.Cs3.ftype,WaterHeating.volumeD.Cs1.ftype,WaterHeating.volumeD.fluids[1],WaterHeating.volumeC.Ce2.ftype,WaterHeating.volumeC.fluids[1],WaterHeating.WaterHeating.fluids[1],Puit_condenseur1.fluid,ControlValve_eau.fluid,WaterHeating.pipe_3.fluid,WaterHeating.pipe_1.fluid,WaterHeating.pipe_2.fluid,Puit_condenseur2.fluid,singularPressureLossWaterIn.fluid,singularPressureLossWaterOut.fluid,singularPressureLossPurge.fluid,PressureLoss_Steam.fluid,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert,regulation_Niveau.echelon.yL.signal,regulation_Niveau.edge.yL.signal,regulation_Niveau.edge.uL.signal,$PRE.regulation_Niveau.edge.uL.signal,$whenCondition3,sourceP1.fluid1,WaterHeating.volumeD1.fluid1,WaterHeating.volumeD.fluid1,WaterHeating.volumeC.fluid1,sourceP.fluid1,WaterHeating.WaterHeating.Cv.diff_on_2,sourceP.C.diff_on_2,PressureLoss_Steam.C2.diff_on_1,singularPressureLossPurge.C2.diff_on_2,singularPressureLossPurge.C1.diff_on_2,WaterHeating.WaterHeating.Cl.diff_on_1,singularPressureLossPurge.C2.diff_on_1,ControlValve_eau.C2.diff_on_1,singularPressureLossWaterOut.C1.diff_on_2,WaterHeating.volumeC.Cs.diff_on_1,refQ.C2.diff_on_1,singularPressureLossWaterIn.C2.diff_on_1,WaterHeating.volumeD.Ce.diff_on_2,sourceP1.C.diff_on_2,WaterHeating.C1.diff_on_1,WaterHeating.volumeD1.Cs3.diff_on_1,WaterHeating.volumeD1.Cs2.diff_on_1,WaterHeating.volumeD1.Cs1.diff_on_1,WaterHeating.volumeD1.Ce.diff_on_2,WaterHeating.volumeD1.Cs2.diff_on_2,WaterHeating.volumeD1.Cs1.diff_on_2,WaterHeating.volumeD.Cs3.diff_on_1,WaterHeating.volumeD.Cs2.diff_on_1,WaterHeating.volumeD.Cs1.diff_on_1,WaterHeating.volumeD.Cs3.diff_on_2,WaterHeating.volumeC.Ce3.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_2,WaterHeating.volumeC.Ce1.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_1,WaterHeating.pipe_2.C1.diff_on_2,WaterHeating.pipe_2.C2.diff_on_1,WaterHeating.pipe_1.C1.diff_on_2,WaterHeating.pipe_1.C2.diff_on_1,WaterHeating.pipe_3.C1.diff_on_2,WaterHeating.pipe_3.C2.diff_on_1,WaterHeating.WaterHeating.Ce.diff_on_2,WaterHeating.WaterHeating.NbTubT) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1012): * Single equations (assignments): 1005 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (140,1142)} Notification: Performance of prepare postOptimizeDAE: time 0.01644/9.385, allocations: 3.403 MB / 2.739 GB, free: 318.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007422/9.392, allocations: 1.008 MB / 2.74 GB, free: 318.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1959/9.588, allocations: 49.51 MB / 2.789 GB, free: 295.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006664/9.589, allocations: 77.67 kB / 2.789 GB, free: 295.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001074/9.589, allocations: 4 kB / 2.789 GB, free: 295.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01123/9.6, allocations: 3.856 MB / 2.792 GB, free: 293.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006986/9.607, allocations: 446.4 kB / 2.793 GB, free: 292.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01623/9.624, allocations: 0.6017 MB / 2.793 GB, free: 292.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00909/9.633, allocations: 1.367 MB / 2.795 GB, free: 291.6 MB / 0.795 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.08149/9.714, allocations: 23.07 MB / 2.817 GB, free: 271 MB / 0.795 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.DynamicWaterHeater.ZeroFlow could not be translated