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.8175/0.8175, allocations: 111.6 MB / 131 MB, free: 5.098 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.463e-06/1.463e-06, allocations: 0 / 175.7 MB, free: 9.445 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.175e-05, allocations: 2.312 kB / 175.7 MB, free: 9.441 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.704/1.704, allocations: 268.3 MB / 444.1 MB, free: 2.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4444/2.149, allocations: 198.2 MB / 0.6272 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/2.151, allocations: 103.2 kB / 0.6273 GB, free: 12.5 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.002201/2.153, allocations: 0.927 MB / 0.6282 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005222/2.159, allocations: 2.378 MB / 0.6305 GB, free: 9.176 MB / 0.5417 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.04387/2.202, allocations: 17.43 MB / 0.6475 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.03579/2.238, allocations: 31.5 MB / 0.6783 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01609/2.254, allocations: 10.44 MB / 0.6885 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02306/2.277, allocations: 13.27 MB / 0.7015 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01895/2.296, allocations: 9.931 MB / 0.7111 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.007266/2.304, allocations: 2.785 MB / 0.7139 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2859/2.589, allocations: 25.29 MB / 0.7386 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.009106/2.599, allocations: 8.236 MB / 0.7466 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01556/2.614, allocations: 7.684 MB / 0.7541 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.05658/2.671, allocations: 44.42 MB / 0.7975 GB, free: 40.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/2.671, allocations: 0 / 0.7975 GB, free: 40.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/2.671, allocations: 0 / 0.7975 GB, free: 40.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0006989/2.671, allocations: 0.9062 kB / 0.7975 GB, free: 40.91 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.06547/2.737, allocations: 19.44 MB / 0.8165 GB, free: 29.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/2.737, allocations: 15.58 kB / 0.8165 GB, free: 29.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/2.755, allocations: 3.416 MB / 0.8198 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/2.772, allocations: 6.965 MB / 0.8266 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002757/2.774, allocations: 5.328 MB / 0.8318 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005723/2.78, allocations: 1.394 MB / 0.8332 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05081/2.831, allocations: 21.31 MB / 0.854 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005404/2.831, allocations: 59.81 kB / 0.8541 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005377/2.837, allocations: 0.5508 MB / 0.8546 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004041/2.837, allocations: 352 kB / 0.8549 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1261/2.963, allocations: 56.86 MB / 0.9105 GB, free: 15.12 MB / 0.698 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.3811/3.344, allocations: 186.5 MB / 1.093 GB, free: 298.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06845/3.413, allocations: 24.79 MB / 1.117 GB, free: 275.6 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01902/3.432, allocations: 6.252 MB / 1.123 GB, free: 269.3 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286/4.717, allocations: 352.7 MB / 1.467 GB, free: 335.2 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02497/4.742, allocations: 10.17 MB / 1.477 GB, free: 326.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1654): time 2.798e-05/4.742, allocations: 0 / 1.477 GB, free: 326.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1655): time 0.3501/5.092, allocations: 71.92 MB / 1.548 GB, free: 254.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/5.093, allocations: 421.5 kB / 1.548 GB, free: 253.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00636/5.099, allocations: 5.242 MB / 1.553 GB, free: 248.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.003735/5.103, allocations: 309.7 kB / 1.553 GB, free: 248.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/5.105, allocations: 4.237 MB / 1.557 GB, free: 244.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.007317/5.112, allocations: 6.721 MB / 1.564 GB, free: 237.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01317/5.126, allocations: 4.397 MB / 1.568 GB, free: 233.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/5.126, allocations: 480.7 kB / 1.569 GB, free: 232.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01602/5.142, allocations: 5.782 MB / 1.574 GB, free: 226.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0193/5.161, allocations: 11.92 MB / 1.586 GB, free: 212.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03776/5.199, allocations: 19.67 MB / 1.605 GB, free: 191.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001324/5.199, allocations: 28 kB / 1.605 GB, free: 191.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2330) (initialization): time 0.07548/5.274, allocations: 24.93 MB / 1.63 GB, free: 166.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/5.274, allocations: 52 kB / 1.63 GB, free: 166 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/5.275, allocations: 104 kB / 1.63 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8508/6.125, allocations: 360 MB / 1.981 GB, free: 130.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006601/6.132, allocations: 1.716 MB / 1.983 GB, free: 129.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08786/6.22, allocations: 26.26 MB / 2.009 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01607/6.236, allocations: 0.763 MB / 2.009 GB, free: 111.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004714/6.241, allocations: 0.9091 MB / 2.01 GB, free: 110.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 76 ($PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,sourceP.C.ftype,WaterHeating.WaterHeating.Cl.ftype,WaterHeating.volumeC.Cs.ftype,sourceP1.C.ftype,WaterHeating.C1.ftype,WaterHeating.volumeD1.Cs3.ftype,WaterHeating.volumeD1.Cs2.ftype,WaterHeating.volumeD1.Cs1.ftype,WaterHeating.volumeD.Cs2.ftype,WaterHeating.volumeD1.fluids[1],WaterHeating.volumeD.Cs3.ftype,WaterHeating.volumeD.Cs1.ftype,WaterHeating.volumeD.fluids[1],WaterHeating.volumeC.Ce2.ftype,WaterHeating.volumeC.fluids[1],WaterHeating.WaterHeating.fluids[1],Puit_condenseur1.fluid,ControlValve_eau.fluid,WaterHeating.pipe_3.fluid,WaterHeating.pipe_1.fluid,WaterHeating.pipe_2.fluid,Puit_condenseur2.fluid,singularPressureLossWaterIn.fluid,singularPressureLossWaterOut.fluid,singularPressureLossPurge.fluid,PressureLoss_Steam.fluid,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert,sourceP1.fluid1,WaterHeating.volumeD1.fluid1,WaterHeating.volumeD.fluid1,WaterHeating.volumeC.fluid1,sourceP.fluid1,WaterHeating.WaterHeating.Cv.diff_on_2,sourceP.C.diff_on_2,PressureLoss_Steam.C2.diff_on_1,singularPressureLossPurge.C2.diff_on_2,singularPressureLossPurge.C1.diff_on_2,WaterHeating.WaterHeating.Cl.diff_on_1,singularPressureLossPurge.C2.diff_on_1,ControlValve_eau.C2.diff_on_1,singularPressureLossWaterOut.C1.diff_on_2,WaterHeating.volumeC.Cs.diff_on_1,refQ.C2.diff_on_1,singularPressureLossWaterIn.C2.diff_on_1,WaterHeating.volumeD.Ce.diff_on_2,sourceP1.C.diff_on_2,WaterHeating.C1.diff_on_1,WaterHeating.volumeD1.Cs3.diff_on_1,WaterHeating.volumeD1.Cs2.diff_on_1,WaterHeating.volumeD1.Cs1.diff_on_1,WaterHeating.volumeD1.Ce.diff_on_2,WaterHeating.volumeD1.Cs2.diff_on_2,WaterHeating.volumeD1.Cs1.diff_on_2,WaterHeating.volumeD.Cs3.diff_on_1,WaterHeating.volumeD.Cs2.diff_on_1,WaterHeating.volumeD.Cs1.diff_on_1,WaterHeating.volumeD.Cs3.diff_on_2,WaterHeating.volumeC.Ce3.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_2,WaterHeating.volumeC.Ce1.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_1,WaterHeating.pipe_2.C1.diff_on_2,WaterHeating.pipe_2.C2.diff_on_1,WaterHeating.pipe_1.C1.diff_on_2,WaterHeating.pipe_1.C2.diff_on_1,WaterHeating.pipe_3.C1.diff_on_2,WaterHeating.pipe_3.C2.diff_on_1,WaterHeating.WaterHeating.Ce.diff_on_2,WaterHeating.WaterHeating.NbTubT) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (952): * Single equations (assignments): 945 * 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.01107/6.252, allocations: 1.663 MB / 2.012 GB, free: 109.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008035/6.26, allocations: 1.442 MB / 2.013 GB, free: 108.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1159/6.376, allocations: 31.36 MB / 2.044 GB, free: 83.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1026/6.478, allocations: 24.88 MB / 2.068 GB, free: 62.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001653/6.478, allocations: 24 kB / 2.068 GB, free: 62 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003919/6.479, allocations: 79.5 kB / 2.068 GB, free: 62 MB / 0.7605 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.3269/6.806, allocations: 44.56 MB / 2.112 GB, free: 358.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001272/6.806, allocations: 3.781 kB / 2.112 GB, free: 358.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01825/6.824, allocations: 2.967 MB / 2.115 GB, free: 358.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1055/6.929, allocations: 19.28 MB / 2.134 GB, free: 352.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005175/6.935, allocations: 0.6929 MB / 2.134 GB, free: 352.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.192/7.127, allocations: 235.3 MB / 2.364 GB, free: 104.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/7.127, allocations: 4 kB / 2.364 GB, free: 104.8 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1833/7.31, allocations: 35.53 MB / 2.399 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02001/7.33, allocations: 3.558 MB / 2.402 GB, free: 65.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007953/7.338, allocations: 435.8 kB / 2.403 GB, free: 64.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02496/7.363, allocations: 0.5581 MB / 2.403 GB, free: 64.21 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01177/7.375, allocations: 1.869 MB / 2.405 GB, free: 62.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006075/7.381, allocations: 0.6402 MB / 2.406 GB, free: 61.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006647/7.387, allocations: 2.434 MB / 2.408 GB, free: 59.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.81e-07/7.387, allocations: 0 / 2.408 GB, free: 59.27 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0367/7.424, allocations: 6.633 MB / 2.415 GB, free: 52.98 MB / 0.7605 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,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,3), (3,10), (2,7), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02052/7.445, allocations: 4.034 MB / 2.418 GB, free: 49.64 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.08829/7.533, allocations: 20.54 MB / 2.439 GB, free: 29.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/7.533, allocations: 0 / 2.439 GB, free: 29.06 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.2271/7.76, allocations: 29.09 MB / 2.467 GB, free: 306.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/7.775, allocations: 2.55 MB / 2.469 GB, free: 306 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07573/7.851, allocations: 32.3 MB / 2.501 GB, free: 296.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007924/7.859, allocations: 5.573 MB / 2.506 GB, free: 295.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01521/7.874, allocations: 3.953 MB / 2.51 GB, free: 294.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007224/7.881, allocations: 1.114 MB / 2.511 GB, free: 294.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.623e-06/7.881, allocations: 0 / 2.511 GB, free: 294.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.6419/8.523, allocations: 413.2 MB / 2.915 GB, free: 136.8 MB / 0.7605 GB " [Timeout remaining time 651] 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: 114.00824913999531]