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.8091/0.8091, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 16.72 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.056/0.05635, allocations: 31.35 MB / 269.1 MB, free: 7.02 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.636/1.693, allocations: 306.1 MB / 0.5617 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5579/2.251, allocations: 192.4 MB / 0.7496 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/2.254, allocations: 30.34 kB / 0.7496 GB, free: 14.87 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.002511/2.256, allocations: 0.8236 MB / 0.7505 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/2.261, allocations: 1.82 MB / 0.7522 GB, free: 14.84 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.03379/2.295, allocations: 13.31 MB / 0.7652 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02191/2.317, allocations: 25.87 MB / 0.7905 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/2.33, allocations: 8.615 MB / 0.7989 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/2.345, allocations: 8.058 MB / 0.8068 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01584/2.361, allocations: 8.366 MB / 0.8149 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.006057/2.367, allocations: 1.762 MB / 0.8167 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05179/2.419, allocations: 22.84 MB / 0.839 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.008899/2.428, allocations: 5.782 MB / 0.8446 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01656/2.444, allocations: 8.364 MB / 0.8528 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05248/2.497, allocations: 31.85 MB / 0.8839 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/2.497, allocations: 0 / 0.8839 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.973e-06/2.497, allocations: 0 / 0.8839 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0007226/2.497, allocations: 0.75 kB / 0.8839 GB, free: 1.176 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.07035/2.568, allocations: 16.86 MB / 0.9004 GB, free: 236 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/2.568, allocations: 8.031 kB / 0.9004 GB, free: 228 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/2.574, allocations: 1.247 MB / 0.9016 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/2.588, allocations: 5.064 MB / 0.9065 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00372/2.591, allocations: 3.032 MB / 0.9095 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005355/2.597, allocations: 0.9642 MB / 0.9104 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05478/2.652, allocations: 20.25 MB / 0.9302 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003972/2.652, allocations: 9.719 kB / 0.9302 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004888/2.657, allocations: 356 kB / 0.9306 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005501/2.658, allocations: 0.5309 MB / 0.9311 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04987/2.707, allocations: 19.88 MB / 0.9505 GB, free: 12.07 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.1177/2.825, allocations: 70.57 MB / 1.019 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4689/3.294, allocations: 22.77 MB / 1.042 GB, free: 410.1 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02329/3.317, allocations: 13.75 MB / 1.055 GB, free: 405.2 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3938/3.711, allocations: 226.9 MB / 1.277 GB, free: 173.9 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02851/3.74, allocations: 14.22 MB / 1.291 GB, free: 159.6 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2594): time 1.886e-05/3.74, allocations: 0 / 1.291 GB, free: 159.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2595): time 0.528/4.268, allocations: 134.5 MB / 1.422 GB, free: 23.02 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/4.268, allocations: 275 kB / 1.422 GB, free: 22.71 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/4.271, allocations: 2.311 MB / 1.424 GB, free: 20.38 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.004307/4.275, allocations: 233.7 kB / 1.425 GB, free: 20.14 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/4.276, allocations: 2.232 MB / 1.427 GB, free: 17.91 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.009718/4.286, allocations: 8.693 MB / 1.435 GB, free: 9.281 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01225/4.298, allocations: 2.961 MB / 1.438 GB, free: 6.312 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 3.878e-05/4.299, allocations: 301.1 kB / 1.439 GB, free: 6.016 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2339/4.532, allocations: 11.76 MB / 1.45 GB, free: 397 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02838/4.561, allocations: 13.74 MB / 1.463 GB, free: 395.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0572/4.618, allocations: 28.08 MB / 1.491 GB, free: 383.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.368e-05/4.618, allocations: 6.531 kB / 1.491 GB, free: 383.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1048/4.723, allocations: 42.43 MB / 1.532 GB, free: 362.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.529e-05/4.723, allocations: 16 kB / 1.532 GB, free: 362.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001671/4.723, allocations: 67.17 kB / 1.532 GB, free: 362.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538/6.261, allocations: 0.6469 GB / 2.179 GB, free: 285.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/6.263, allocations: 0.5461 MB / 2.18 GB, free: 285.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1196/6.383, allocations: 50.61 MB / 2.229 GB, free: 250.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/6.398, allocations: 0.7603 MB / 2.23 GB, free: 249.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00425/6.402, allocations: 0.5528 MB / 2.23 GB, free: 249.3 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.01206/6.414, allocations: 3.494 MB / 2.234 GB, free: 246.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005304/6.42, allocations: 0.8665 MB / 2.235 GB, free: 246 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1775/6.597, allocations: 58.21 MB / 2.292 GB, free: 199 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000423/6.598, allocations: 62.44 kB / 2.292 GB, free: 199 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001954/6.598, allocations: 39.23 kB / 2.292 GB, free: 199 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01089/6.609, allocations: 3.771 MB / 2.295 GB, free: 195.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00627/6.615, allocations: 386.2 kB / 2.296 GB, free: 195.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01499/6.63, allocations: 0.7089 MB / 2.296 GB, free: 194.9 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006311/6.636, allocations: 1.1 MB / 2.297 GB, free: 194.3 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.05085/6.687, allocations: 11.04 MB / 2.308 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