Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4821/0.4821, allocations: 111.6 MB / 131.5 MB, free: 4.887 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 176.6 MB, free: 8.898 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.297e-05, allocations: 5.047 kB / 176.6 MB, free: 8.895 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.035/1.035, allocations: 276.2 MB / 452.8 MB, free: 1.719 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3483/1.383, allocations: 198 MB / 0.6356 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/1.385, allocations: 99.19 kB / 0.6357 GB, free: 0.9375 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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 master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80: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 master/Fluid/PressureLosses/ControlValve.mo:29:3-30:81: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 master/Fluid/PressureLosses/ControlValve.mo:31:3-32:79: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 master/Fluid/Volumes/TwoPhaseCavity.mo:131:3-132:131: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 master/Fluid/Volumes/TwoPhaseCavity.mo:133:3-134:139: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 master/Fluid/Volumes/TwoPhaseCavity.mo:141:3-142:80: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 master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:97:3-98:80: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 master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:99:3-100:78: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 master/Fluid/HeatExchangers/DynamicWaterHeater.mo:56:3-57:78: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 master/Fluid/HeatExchangers/DynamicWaterHeater.mo:58:3-59:80: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 master/Fluid/HeatExchangers/DynamicWaterHeater.mo:60:3-61:81: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 master/Fluid/HeatExchangers/DynamicWaterHeater.mo:62:3-63:79: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 master/Fluid/HeatExchangers/DynamicWaterHeater.mo:66:3-67:79: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 master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:97:3-98:80: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 master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:99:3-100:78: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 master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:97:3-98:80: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 master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:99:3-100:78: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 master/Fluid/Volumes/VolumeC.mo:77:3-78:135: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 master/Fluid/Volumes/VolumeC.mo:79:3-80:131: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 master/Fluid/Volumes/VolumeC.mo:81:3-82:78: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 master/Fluid/Volumes/VolumeC.mo:83:3-84:121: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 master/Fluid/Volumes/VolumeD.mo:77:3-78:80: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 master/Fluid/Volumes/VolumeD.mo:79:3-80:78: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 master/Fluid/Volumes/VolumeD.mo:81:3-82:80: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 master/Fluid/Volumes/VolumeD.mo:83:3-84:64: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 master/Fluid/Volumes/VolumeD.mo:77:3-78:80: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 master/Fluid/Volumes/VolumeD.mo:79:3-80:78: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 master/Fluid/Volumes/VolumeD.mo:81:3-82:80: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 master/Fluid/Volumes/VolumeD.mo:83:3-84:64: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 master/Fluid/BoundaryConditions/Sink.mo:29:3-30:80: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78: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 master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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 master/Fluid/BoundaryConditions/RefQ.mo:9:3-10:80: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 master/Fluid/BoundaryConditions/RefQ.mo:11:3-12:78: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 master/Fluid/PressureLosses/IdealCheckValve.mo:15:3-16:78: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 master/Fluid/PressureLosses/IdealCheckValve.mo:17:3-18:80: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80: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 master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78: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 master/Fluid/PressureLosses/LumpedStraightPipe.mo:39:3-40:80: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 master/Fluid/PressureLosses/LumpedStraightPipe.mo:41:3-42:78: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.001445/1.387, allocations: 0.927 MB / 0.6366 GB, free: 4 kB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/1.39, allocations: 2.39 MB / 0.639 GB, free: 13.6 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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 master/Properties/WaterSteam/IF97_packages.mo:525:9-525: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 master/Properties/WaterSteam/IF97_packages.mo:708:9-708: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88: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.03133/1.421, allocations: 17.57 MB / 0.6561 GB, free: 11.98 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.02055/1.442, allocations: 31.48 MB / 0.6869 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01242/1.454, allocations: 10.47 MB / 0.6971 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/1.471, allocations: 13.43 MB / 0.7102 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2432/1.715, allocations: 9.557 MB / 0.7195 GB, free: 43.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.006211/1.721, allocations: 2.634 MB / 0.7221 GB, free: 43.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03164/1.752, allocations: 25.09 MB / 0.7466 GB, free: 43.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.007594/1.76, allocations: 8.041 MB / 0.7545 GB, free: 43.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01032/1.77, allocations: 7.487 MB / 0.7618 GB, free: 43.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.04586/1.816, allocations: 33.18 MB / 0.7942 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.816, allocations: 0 / 0.7942 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.82e-07/1.816, allocations: 3.422 kB / 0.7942 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004561/1.817, allocations: 0 / 0.7942 GB, free: 32.84 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3421 * Number of variables: 3421 Notification: Performance of Generate backend data structure: time 0.02764/1.844, allocations: 16.92 MB / 0.8107 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/1.844, allocations: 13.73 kB / 0.8107 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006277/1.851, allocations: 3.139 MB / 0.8138 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006364/1.857, allocations: 4.75 MB / 0.8184 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001452/1.858, allocations: 5.328 MB / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/1.86, allocations: 1.406 MB / 0.825 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/1.874, allocations: 14.6 MB / 0.8393 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/1.874, allocations: 61.97 kB / 0.8393 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/1.876, allocations: 0.5469 MB / 0.8399 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.876, allocations: 366.3 kB / 0.8402 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/1.888, allocations: 8.711 MB / 0.8487 GB, free: 3.629 MB / 0.6355 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.06594/1.954, allocations: 64.27 MB / 0.9115 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02946/1.984, allocations: 21.5 MB / 0.9325 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007246/1.991, allocations: 3.126 MB / 0.9355 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7224/2.713, allocations: 310.8 MB / 1.239 GB, free: 20.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01163/2.725, allocations: 6.638 MB / 1.246 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1654): time 1.706e-05/2.725, allocations: 4 kB / 1.246 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1655): time 0.3655/3.09, allocations: 49.61 MB / 1.294 GB, free: 214.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/3.091, allocations: 424.3 kB / 1.294 GB, free: 213.9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/3.094, allocations: 3.898 MB / 1.298 GB, free: 213.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.002962/3.097, allocations: 304.3 kB / 1.298 GB, free: 213.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/3.098, allocations: 3.803 MB / 1.302 GB, free: 211.4 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.003903/3.102, allocations: 6.137 MB / 1.308 GB, free: 207.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003795/3.106, allocations: 3.377 MB / 1.311 GB, free: 207.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 2.82e-05/3.106, allocations: 309.2 kB / 1.312 GB, free: 206.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004283/3.11, allocations: 2.772 MB / 1.314 GB, free: 206.8 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006541/3.117, allocations: 7.394 MB / 1.322 GB, free: 201.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/3.132, allocations: 12.44 MB / 1.334 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/3.132, allocations: 40.34 kB / 1.334 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2468) (initialization): time 0.02584/3.158, allocations: 14.05 MB / 1.348 GB, free: 192.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/3.158, allocations: 64 kB / 1.348 GB, free: 192.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/3.158, allocations: 133.2 kB / 1.348 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1995/3.357, allocations: 80.8 MB / 1.427 GB, free: 119.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/3.362, allocations: 1.84 MB / 1.428 GB, free: 117.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/3.387, allocations: 14.82 MB / 1.443 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007471/3.394, allocations: 0.6351 MB / 1.444 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/3.396, allocations: 0.6854 MB / 1.444 GB, free: 103.9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 76 ($PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,WaterHeating.WaterHeating.NbTubT,WaterHeating.WaterHeating.Ce.diff_on_2,WaterHeating.pipe_3.C2.diff_on_1,WaterHeating.pipe_3.C1.diff_on_2,WaterHeating.pipe_1.C2.diff_on_1,WaterHeating.pipe_1.C1.diff_on_2,WaterHeating.pipe_2.C2.diff_on_1,WaterHeating.pipe_2.C1.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_1,WaterHeating.volumeC.Ce1.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_2,WaterHeating.volumeC.Ce3.diff_on_2,WaterHeating.volumeD.Cs3.diff_on_2,WaterHeating.volumeD.Cs1.diff_on_1,WaterHeating.volumeD.Cs2.diff_on_1,WaterHeating.volumeD.Cs3.diff_on_1,WaterHeating.volumeD1.Cs1.diff_on_2,WaterHeating.volumeD1.Cs2.diff_on_2,WaterHeating.volumeD1.Ce.diff_on_2,WaterHeating.volumeD1.Cs1.diff_on_1,WaterHeating.volumeD1.Cs2.diff_on_1,WaterHeating.volumeD1.Cs3.diff_on_1,WaterHeating.C1.diff_on_1,sourceP1.C.diff_on_2,WaterHeating.volumeD.Ce.diff_on_2,singularPressureLossWaterIn.C2.diff_on_1,refQ.C2.diff_on_1,WaterHeating.volumeC.Cs.diff_on_1,singularPressureLossWaterOut.C1.diff_on_2,ControlValve_eau.C2.diff_on_1,singularPressureLossPurge.C2.diff_on_1,WaterHeating.WaterHeating.Cl.diff_on_1,singularPressureLossPurge.C2.diff_on_2,singularPressureLossPurge.C1.diff_on_2,PressureLoss_Steam.C2.diff_on_1,sourceP.C.diff_on_2,WaterHeating.WaterHeating.Cv.diff_on_2,sourceP.fluid1,WaterHeating.volumeC.fluid1,WaterHeating.volumeD.fluid1,WaterHeating.volumeD1.fluid1,sourceP1.fluid1,WaterHeating.WaterHeating.fluids[1],WaterHeating.volumeC.fluids[1],WaterHeating.volumeC.Ce2.ftype,WaterHeating.volumeD.fluids[1],WaterHeating.volumeD.Cs1.ftype,WaterHeating.volumeD.Cs3.ftype,WaterHeating.volumeD1.fluids[1],WaterHeating.volumeD.Cs2.ftype,WaterHeating.volumeD1.Cs1.ftype,WaterHeating.volumeD1.Cs2.ftype,WaterHeating.volumeD1.Cs3.ftype,WaterHeating.C1.ftype,sourceP1.C.ftype,WaterHeating.volumeC.Cs.ftype,WaterHeating.WaterHeating.Cl.ftype,sourceP.C.ftype,PressureLoss_Steam.fluid,singularPressureLossPurge.fluid,singularPressureLossWaterOut.fluid,singularPressureLossWaterIn.fluid,Puit_condenseur2.fluid,WaterHeating.pipe_2.fluid,WaterHeating.pipe_1.fluid,WaterHeating.pipe_3.fluid,ControlValve_eau.fluid,Puit_condenseur1.fluid,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1090): * Single equations (assignments): 1083 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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), (133,1182)} Notification: Performance of prepare postOptimizeDAE: time 0.00362/3.399, allocations: 1.142 MB / 1.445 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/3.401, allocations: 1.159 MB / 1.446 GB, free: 102.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04388/3.445, allocations: 22.16 MB / 1.468 GB, free: 82.18 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03613/3.482, allocations: 16.06 MB / 1.484 GB, free: 65.95 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001183/3.482, allocations: 24.66 kB / 1.484 GB, free: 65.93 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003023/3.482, allocations: 79.69 kB / 1.484 GB, free: 65.85 MB / 0.7917 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 postOpt removeSimpleEquations (simulation): time 0.05129/3.533, allocations: 28.18 MB / 1.511 GB, free: 41.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/3.533, allocations: 4 kB / 1.511 GB, free: 41.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008446/3.542, allocations: 2.53 MB / 1.514 GB, free: 39.19 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03982/3.582, allocations: 17.74 MB / 1.531 GB, free: 21.96 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005635/3.587, allocations: 0.5439 MB / 1.532 GB, free: 21.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3245/3.912, allocations: 154.1 MB / 1.682 GB, free: 71.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/3.912, allocations: 5.656 kB / 1.682 GB, free: 71.01 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04598/3.958, allocations: 22.65 MB / 1.704 GB, free: 67.92 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004982/3.963, allocations: 2.567 MB / 1.707 GB, free: 67.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/3.964, allocations: 435.6 kB / 1.707 GB, free: 67.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004132/3.968, allocations: 417.1 kB / 1.708 GB, free: 67.66 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002825/3.971, allocations: 1.379 MB / 1.709 GB, free: 67.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009117/3.972, allocations: 397.3 kB / 1.709 GB, free: 67.62 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001319/3.973, allocations: 1.707 MB / 1.711 GB, free: 67.48 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.8e-07/3.973, allocations: 0 / 1.711 GB, free: 67.48 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01366/3.987, allocations: 6.601 MB / 1.718 GB, free: 67.48 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 174 (WaterHeating.WaterHeating.P,WaterHeating.WaterHeating.hl,WaterHeating.WaterHeating.hv,WaterHeating.WaterHeating.Vv,WaterHeating.WaterHeating.Tp,WaterHeating.pipe_3.P[2],WaterHeating.pipe_3.P[3],WaterHeating.pipe_3.P[4],WaterHeating.pipe_3.P[5],WaterHeating.pipe_3.P[6],WaterHeating.pipe_3.P[7],WaterHeating.pipe_3.P[8],WaterHeating.pipe_3.P[9],WaterHeating.pipe_3.P[10],WaterHeating.pipe_3.P[11],WaterHeating.pipe_3.P[12],WaterHeating.pipe_3.P[13],WaterHeating.pipe_3.P[14],WaterHeating.pipe_3.P[15],WaterHeating.pipe_3.P[16],WaterHeating.pipe_3.P[17],WaterHeating.pipe_3.P[18],WaterHeating.pipe_3.P[19],WaterHeating.pipe_3.P[20],WaterHeating.pipe_3.P[21],WaterHeating.pipe_3.Q[1],WaterHeating.pipe_3.Q[2],WaterHeating.pipe_3.Q[3],WaterHeating.pipe_3.Q[4],WaterHeating.pipe_3.Q[5],WaterHeating.pipe_3.Q[6],WaterHeating.pipe_3.Q[7],WaterHeating.pipe_3.Q[8],WaterHeating.pipe_3.Q[9],WaterHeating.pipe_3.Q[10],WaterHeating.pipe_3.Q[11],WaterHeating.pipe_3.Q[12],WaterHeating.pipe_3.Q[13],WaterHeating.pipe_3.Q[14],WaterHeating.pipe_3.Q[15],WaterHeating.pipe_3.Q[16],WaterHeating.pipe_3.Q[17],WaterHeating.pipe_3.Q[18],WaterHeating.pipe_3.Q[19],WaterHeating.pipe_3.Q[20],WaterHeating.pipe_3.Q[21],WaterHeating.pipe_3.h[2],WaterHeating.pipe_3.h[3],WaterHeating.pipe_3.h[4],WaterHeating.pipe_3.h[5],WaterHeating.pipe_3.h[6],WaterHeating.pipe_3.h[7],WaterHeating.pipe_3.h[8],WaterHeating.pipe_3.h[9],WaterHeating.pipe_3.h[10],WaterHeating.pipe_3.h[11],WaterHeating.pipe_3.h[12],WaterHeating.pipe_3.h[13],WaterHeating.pipe_3.h[14],WaterHeating.pipe_3.h[15],WaterHeating.pipe_3.h[16],WaterHeating.pipe_3.h[17],WaterHeating.pipe_3.h[18],WaterHeating.pipe_3.h[19],WaterHeating.pipe_3.h[20],WaterHeating.pipe_3.h[21],WaterHeating.Wall_3.Tp[1],WaterHeating.Wall_3.Tp[2],WaterHeating.Wall_3.Tp[3],WaterHeating.Wall_3.Tp[4],WaterHeating.Wall_3.Tp[5],WaterHeating.Wall_3.Tp[6],WaterHeating.Wall_3.Tp[7],WaterHeating.Wall_3.Tp[8],WaterHeating.Wall_3.Tp[9],WaterHeating.Wall_3.Tp[10],WaterHeating.Wall_3.Tp[11],WaterHeating.Wall_3.Tp[12],WaterHeating.Wall_3.Tp[13],WaterHeating.Wall_3.Tp[14],WaterHeating.Wall_3.Tp[15],WaterHeating.Wall_3.Tp[16],WaterHeating.Wall_3.Tp[17],WaterHeating.Wall_3.Tp[18],WaterHeating.Wall_3.Tp[19],WaterHeating.Wall_3.Tp[20],WaterHeating.pipe_1.P[2],WaterHeating.pipe_1.P[3],WaterHeating.pipe_1.P[4],WaterHeating.pipe_1.P[5],WaterHeating.pipe_1.P[6],WaterHeating.pipe_1.P[7],WaterHeating.pipe_1.P[8],WaterHeating.pipe_1.P[9],WaterHeating.pipe_1.P[10],WaterHeating.pipe_1.P[11],WaterHeating.pipe_1.Q[1],WaterHeating.pipe_1.Q[2],WaterHeating.pipe_1.Q[3],WaterHeating.pipe_1.Q[4],WaterHeating.pipe_1.Q[5],WaterHeating.pipe_1.Q[6],WaterHeating.pipe_1.Q[7],WaterHeating.pipe_1.Q[8],WaterHeating.pipe_1.Q[9],WaterHeating.pipe_1.Q[10],WaterHeating.pipe_1.Q[11],WaterHeating.pipe_1.h[2],WaterHeating.pipe_1.h[3],WaterHeating.pipe_1.h[4],WaterHeating.pipe_1.h[5],WaterHeating.pipe_1.h[6],WaterHeating.pipe_1.h[7],WaterHeating.pipe_1.h[8],WaterHeating.pipe_1.h[9],WaterHeating.pipe_1.h[10],WaterHeating.pipe_1.h[11],WaterHeating.Wall_1.Tp[1],WaterHeating.Wall_1.Tp[2],WaterHeating.Wall_1.Tp[3],WaterHeating.Wall_1.Tp[4],WaterHeating.Wall_1.Tp[5],WaterHeating.Wall_1.Tp[6],WaterHeating.Wall_1.Tp[7],WaterHeating.Wall_1.Tp[8],WaterHeating.Wall_1.Tp[9],WaterHeating.Wall_1.Tp[10],WaterHeating.pipe_2.P[2],WaterHeating.pipe_2.P[3],WaterHeating.pipe_2.P[4],WaterHeating.pipe_2.P[5],WaterHeating.pipe_2.P[6],WaterHeating.pipe_2.P[7],WaterHeating.pipe_2.P[8],WaterHeating.pipe_2.P[9],WaterHeating.pipe_2.P[10],WaterHeating.pipe_2.P[11],WaterHeating.pipe_2.Q[1],WaterHeating.pipe_2.Q[2],WaterHeating.pipe_2.Q[3],WaterHeating.pipe_2.Q[4],WaterHeating.pipe_2.Q[5],WaterHeating.pipe_2.Q[6],WaterHeating.pipe_2.Q[7],WaterHeating.pipe_2.Q[8],WaterHeating.pipe_2.Q[9],WaterHeating.pipe_2.Q[10],WaterHeating.pipe_2.Q[11],WaterHeating.pipe_2.h[2],WaterHeating.pipe_2.h[3],WaterHeating.pipe_2.h[4],WaterHeating.pipe_2.h[5],WaterHeating.pipe_2.h[6],WaterHeating.pipe_2.h[7],WaterHeating.pipe_2.h[8],WaterHeating.pipe_2.h[9],WaterHeating.pipe_2.h[10],WaterHeating.pipe_2.h[11],WaterHeating.Wall_2.Tp[1],WaterHeating.Wall_2.Tp[2],WaterHeating.Wall_2.Tp[3],WaterHeating.Wall_2.Tp[4],WaterHeating.Wall_2.Tp[5],WaterHeating.Wall_2.Tp[6],WaterHeating.Wall_2.Tp[7],WaterHeating.Wall_2.Tp[8],WaterHeating.Wall_2.Tp[9],WaterHeating.Wall_2.Tp[10],WaterHeating.volumeC.P,WaterHeating.volumeC.h,WaterHeating.volumeD.P,WaterHeating.volumeD.h,WaterHeating.volumeD1.P,WaterHeating.volumeD1.h) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,checkValve.ouvert,checkValve.touvert,checkValve.tferme,singularPressureLossPurge.C1.diff_on_2) * Number of discrete states: 2 (checkValve.touvert,checkValve.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1417): * Single equations (assignments): 1283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 125 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 81 systems {(4,1,62.5%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 44 systems {(1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (2,6), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,3), (3,9), (2,7), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007252/3.994, allocations: 4.216 MB / 1.722 GB, free: 66.75 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02314/4.017, allocations: 13.44 MB / 1.735 GB, free: 58.83 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 0.0001581/4.018, allocations: 112.9 kB / 1.735 GB, free: 58.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01587/4.034, allocations: 19.24 MB / 1.754 GB, free: 40.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00674/4.04, allocations: 2.413 MB / 1.756 GB, free: 39.48 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03352/4.074, allocations: 26.85 MB / 1.782 GB, free: 18.29 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/4.076, allocations: 2.803 MB / 1.785 GB, free: 16.47 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.007523/4.083, allocations: 2.456 MB / 1.787 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005905/4.089, allocations: 2.314 MB / 1.79 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of SimCode: time 1.813e-06/4.089, allocations: 0 / 1.79 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of Templates: time 0.8789/4.968, allocations: 440.1 MB / 2.219 GB, free: 194.9 MB / 0.8542 GB " [Timeout remaining time 655] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating -abortSlowSimulation -alarm=540 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe 2>&1) [Timeout 540] [Calling sys.exit(0), Time elapsed: 26.517403085250407]