Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.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.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8582/0.8582, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004435, allocations: 21.44 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07146/0.07192, allocations: 31.34 MB / 269.1 MB, free: 7.047 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.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.744/1.816, allocations: 306.1 MB / 0.5618 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5234/2.34, allocations: 192.4 MB / 0.7497 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/2.342, allocations: 28.97 kB / 0.7497 GB, free: 14.88 MB / 0.6075 GB [/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/PressureLosses/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38: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/TwoPhaseCavity.mo:178:3-180:46:writable] Warning: Connector Cv 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/TwoPhaseCavity.mo:181:3-183:56:writable] Warning: Connector Cl 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/TwoPhaseCavity.mo:194:3-196:48: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/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/HeatExchangers/DynamicWaterHeating.mo:80:3-81:83:writable] Warning: Connector C1vap 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/DynamicWaterHeating.mo:82:3-84:16:writable] Warning: Connector C2ex 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/DynamicWaterHeating.mo:85:3-87:24:writable] Warning: Connector Ce1 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/DynamicWaterHeating.mo:88:3-90:17:writable] Warning: Connector Ce2 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/DynamicWaterHeating.mo:95:3-97:17: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: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/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/Volumes/VolumeC.mo:29:3-31:42:writable] Warning: Connector Ce1 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/VolumeC.mo:32:3-34:37:writable] Warning: Connector Ce2 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/VolumeC.mo:35:3-37:37:writable] Warning: Connector Cs 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/VolumeC.mo:38:3-40:43:writable] Warning: Connector Ce3 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/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/Sink.mo:17:3-19:16: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/SingularPressureLoss.mo:25:3-27: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/SingularPressureLoss.mo:28:3-29:52: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/SingularPressureLoss.mo:25:3-27: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/SingularPressureLoss.mo:28:3-29:52: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/RefQ.mo:15:3-17: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/BoundaryConditions/RefQ.mo:18:3-19:83: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/IdealCheckValve.mo:22:3-23: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/PressureLosses/IdealCheckValve.mo:24:3-25: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/PressureLosses/SingularPressureLoss.mo:25:3-27: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/SingularPressureLoss.mo:28:3-29:52: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). Notification: Performance of NFTyping.typeComponents: time 0.001879/2.344, allocations: 0.8494 MB / 0.7505 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/2.348, allocations: 1.987 MB / 0.7525 GB, free: 14.86 MB / 0.6075 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.03013/2.378, allocations: 13.5 MB / 0.7657 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01964/2.398, allocations: 25.92 MB / 0.791 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/2.41, allocations: 8.613 MB / 0.7994 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/2.423, allocations: 8.06 MB / 0.8073 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/2.439, allocations: 8.364 MB / 0.8154 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.005964/2.445, allocations: 1.758 MB / 0.8171 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04648/2.491, allocations: 22.84 MB / 0.8395 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.008736/2.5, allocations: 5.784 MB / 0.8451 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.02023/2.52, allocations: 8.364 MB / 0.8533 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05254/2.573, allocations: 31.84 MB / 0.8844 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/2.573, allocations: 0 / 0.8844 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.905e-06/2.573, allocations: 0 / 0.8844 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0006758/2.573, allocations: 0 / 0.8844 GB, free: 0.7344 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3704 * Number of variables: 3704 Notification: Performance of Generate backend data structure: time 0.08767/2.661, allocations: 16.87 MB / 0.9008 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/2.661, allocations: 13.72 kB / 0.9009 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/2.668, allocations: 1.25 MB / 0.9021 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/2.681, allocations: 5.058 MB / 0.907 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003755/2.685, allocations: 3.032 MB / 0.91 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005132/2.69, allocations: 0.9603 MB / 0.9109 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05007/2.74, allocations: 20.26 MB / 0.9307 GB, free: 408 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001911/2.74, allocations: 7.938 kB / 0.9307 GB, free: 400 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002477/2.743, allocations: 352 kB / 0.9311 GB, free: 48 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004364/2.743, allocations: 0.527 MB / 0.9316 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04454/2.788, allocations: 19.88 MB / 0.951 GB, free: 11.61 MB / 0.7637 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.1236/2.911, allocations: 70.56 MB / 1.02 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4404/3.352, allocations: 22.78 MB / 1.042 GB, free: 410.4 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02387/3.376, allocations: 13.75 MB / 1.056 GB, free: 405.3 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4442/3.82, allocations: 226.9 MB / 1.277 GB, free: 173.5 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03274/3.853, allocations: 14.23 MB / 1.291 GB, free: 159.2 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2594): time 1.767e-05/3.853, allocations: 0 / 1.291 GB, free: 159.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2595): time 0.5554/4.408, allocations: 134.5 MB / 1.422 GB, free: 22.59 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/4.408, allocations: 271 kB / 1.423 GB, free: 22.28 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/4.411, allocations: 2.316 MB / 1.425 GB, free: 19.94 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.004367/4.416, allocations: 233.3 kB / 1.425 GB, free: 19.71 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.001557/4.417, allocations: 2.23 MB / 1.427 GB, free: 17.47 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.01024/4.428, allocations: 8.691 MB / 1.436 GB, free: 8.852 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008784/4.436, allocations: 2.965 MB / 1.439 GB, free: 5.879 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/4.436, allocations: 301.1 kB / 1.439 GB, free: 5.582 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2664/4.703, allocations: 11.76 MB / 1.45 GB, free: 397.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02928/4.732, allocations: 13.74 MB / 1.464 GB, free: 396 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05768/4.79, allocations: 28.07 MB / 1.491 GB, free: 383.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-05/4.79, allocations: 9.5 kB / 1.491 GB, free: 383.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1139/4.904, allocations: 42.43 MB / 1.533 GB, free: 362.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/4.904, allocations: 16.94 kB / 1.533 GB, free: 362.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/4.904, allocations: 63.8 kB / 1.533 GB, free: 362 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614/6.518, allocations: 0.647 GB / 2.18 GB, free: 285.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/6.52, allocations: 0.5422 MB / 2.18 GB, free: 285.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1235/6.643, allocations: 50.61 MB / 2.23 GB, free: 250.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/6.659, allocations: 0.7678 MB / 2.231 GB, free: 249.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00501/6.664, allocations: 0.5484 MB / 2.231 GB, free: 249.5 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert,PressureLoss_Steam.C2.b,PressureLoss_Steam.C1.a,singularPressureLossPurge.C2.b,singularPressureLossPurge.C1.a,checkValve.C1.a,checkValve.C2.b,refQ.C2.b,refQ.C1.a,sourceP1.C.b,singularPressureLossWaterOut.C2.b,singularPressureLossWaterOut.C1.a,singularPressureLossWaterIn.C2.b,singularPressureLossWaterIn.C1.a,Puit_condenseur2.C.a,WaterHeating.volumeD1.Cs3.b,WaterHeating.volumeD1.Cs2.b,WaterHeating.volumeD1.Cs1.b,WaterHeating.volumeD1.Ce.a,WaterHeating.volumeD.Cs3.b,WaterHeating.volumeD.Cs2.b,WaterHeating.volumeD.Cs1.b,WaterHeating.volumeD.Ce.a,WaterHeating.volumeC.Ce3.a,WaterHeating.volumeC.Cs.b,WaterHeating.volumeC.Ce2.a,WaterHeating.volumeC.Ce1.a,WaterHeating.pipe_2.C2.b,WaterHeating.pipe_2.C1.a,WaterHeating.pipe_1.C2.b,WaterHeating.pipe_1.C1.a,WaterHeating.pipe_3.C2.b,WaterHeating.pipe_3.C1.a,WaterHeating.WaterHeating.Ce.a,WaterHeating.WaterHeating.Cl.b,WaterHeating.WaterHeating.Cv.a,ControlValve_eau.C2.b,ControlValve_eau.C1.a,Puit_condenseur1.C.a,sourceP.C.b,WaterHeating.C1.b,WaterHeating.volumeD1.Cs2.a,WaterHeating.volumeD1.Cs1.a,WaterHeating.volumeD.Cs3.a,WaterHeating.volumeC.Ce2.b,WaterHeating.WaterHeating.NbTubT) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 54 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,3), (1,3), (178,843)} Notification: Performance of prepare postOptimizeDAE: time 0.01382/6.678, allocations: 3.498 MB / 2.234 GB, free: 246.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00566/6.684, allocations: 0.8676 MB / 2.235 GB, free: 246.2 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1815/6.865, allocations: 58.21 MB / 2.292 GB, free: 199.2 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004301/6.866, allocations: 60.14 kB / 2.292 GB, free: 199.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001504/6.866, allocations: 39.69 kB / 2.292 GB, free: 199.1 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009725/6.875, allocations: 3.759 MB / 2.296 GB, free: 195.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003487/6.879, allocations: 391.4 kB / 2.296 GB, free: 195.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01206/6.891, allocations: 0.7082 MB / 2.297 GB, free: 195.1 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003209/6.894, allocations: 1.099 MB / 2.298 GB, free: 194.5 MB / 0.8263 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLossWaterIn.T, singularPressureLossWaterIn.rho, singularPressureLossWaterIn.pro.u, singularPressureLossWaterIn.pro.s, singularPressureLossWaterIn.pro.cp, singularPressureLossWaterIn.pro.ddhp, singularPressureLossWaterIn.pro.ddph, singularPressureLossWaterIn.pro.duph, singularPressureLossWaterIn.pro.duhp, singularPressureLossWaterIn.pro.x) = $cse7 Variables: 1: singularPressureLossWaterIn.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 2: singularPressureLossWaterIn.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 3: singularPressureLossWaterIn.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 4: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse7.ddph:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse7.u:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse7.duhp:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse7.ddhp:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): singularPressureLossWaterIn.deltaP = singularPressureLossWaterIn.K * $cse8 / singularPressureLossWaterIn.rho 2/2 (1): sourceP1.P - WaterHeating.pipe_1.P[1] = singularPressureLossWaterIn.deltaP 3/3 (1): singularPressureLossWaterIn.Pm = 0.5 * (sourceP1.P + WaterHeating.pipe_1.P[1]) 4/4 (10): $cse7 = ThermoSysPro.Properties.Fluid.Ph(singularPressureLossWaterIn.Pm, singularPressureLossWaterIn.h, singularPressureLossWaterIn.mode, singularPressureLossWaterIn.fluid) 5/14 (10): ThermoSysPro.Properties.WaterSteam.Common.ThermoProperties_ph(singularPressureLossWaterIn.T, singularPressureLossWaterIn.rho, singularPressureLossWaterIn.pro.u, singularPressureLossWaterIn.pro.s, singularPressureLossWaterIn.pro.cp, singularPressureLossWaterIn.pro.ddhp, singularPressureLossWaterIn.pro.ddph, singularPressureLossWaterIn.pro.duph, singularPressureLossWaterIn.pro.duhp, singularPressureLossWaterIn.pro.x) = $cse7 Variables: 1: singularPressureLossWaterIn.pro.ddph:VARIABLE(unit = "s2/m2" ) "Derivative of density wrt. pressure at constant specific enthalpy" type: Real 2: singularPressureLossWaterIn.pro.x:VARIABLE(min = 0.0 max = 1.0 unit = "1" ) "Vapor mass fraction" type: Real 3: singularPressureLossWaterIn.pro.cp:VARIABLE(min = 1e-9 max = 1e60 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific heat capacity at constant presure" type: Real 4: $cse7.x:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse7.s:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse7.cp:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse7.ddph:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse7.u:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse7.duhp:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse7.ddhp:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse7.d:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse7.duph:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse7.T:VARIABLE(protected = true ) type: Real unreplaceable 14: singularPressureLossWaterIn.Pm:VARIABLE(min = 0.0 start = 2.27e7 unit = "Pa" nominal = 1e5 ) "Average fluid pressure" type: Real 15: WaterHeating.pipe_1.P[1]:VARIABLE(min = 0.0 start = 2.227e7 unit = "Pa" nominal = 1e5 ) "Fluid pressure in node i" type: Real [12] 16: singularPressureLossWaterIn.deltaP:VARIABLE(unit = "Pa" ) "Singular pressure loss" type: Real 17: singularPressureLossWaterIn.rho:VARIABLE(min = 1e-9 max = 1e5 start = 998.0 unit = "kg/m3" nominal = 998.0 ) "Fluid density" type: Real 18: singularPressureLossWaterIn.pro.u:VARIABLE(min = -1e8 max = 1e8 unit = "J/kg" nominal = 1e6 ) "Specific inner energy" type: Real 19: singularPressureLossWaterIn.T:VARIABLE(min = 200.0 max = 6000.0 start = 290.0 unit = "K" nominal = 300.0 ) "Fluid temperature" type: Real 20: singularPressureLossWaterIn.pro.s:VARIABLE(min = -1e6 max = 1e6 unit = "J/(kg.K)" nominal = 1000.0 ) "Specific entropy" type: Real 21: singularPressureLossWaterIn.pro.duhp:VARIABLE(unit = "1" ) "Derivative of specific inner energy wrt. specific enthalpy at constant pressure" type: Real 22: singularPressureLossWaterIn.pro.duph:VARIABLE(unit = "m3/kg" ) "Derivative of specific inner energy wrt. pressure at constant specific enthalpy" type: Real 23: singularPressureLossWaterIn.pro.ddhp:VARIABLE(unit = "kg.s2/m5" ) "Derivative of density wrt. specific enthalpy at constant pressure" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05046/6.945, allocations: 11.05 MB / 2.309 GB, free: 183.4 MB / 0.8263 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating could not be translated