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.478/0.478, allocations: 111.6 MB / 132.2 MB, free: 4.41 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.863e-06/1.863e-06, allocations: 0 / 177.3 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.604e-05, allocations: 4.984 kB / 177.3 MB, free: 8.922 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.03/1.03, allocations: 270.4 MB / 447.7 MB, free: 2.887 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3254/1.355, allocations: 195 MB / 0.6277 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/1.357, allocations: 103.1 kB / 0.6278 GB, free: 5.781 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.001441/1.359, allocations: 0.927 MB / 0.6287 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002774/1.361, allocations: 2.39 MB / 0.631 GB, free: 2.441 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.02965/1.391, allocations: 17.45 MB / 0.6481 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01832/1.409, allocations: 31.5 MB / 0.6788 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009467/1.419, allocations: 10.41 MB / 0.689 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/1.429, allocations: 13.45 MB / 0.7021 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2279/1.657, allocations: 9.669 MB / 0.7116 GB, free: 42.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.005887/1.663, allocations: 2.632 MB / 0.7141 GB, free: 42.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03199/1.695, allocations: 25.14 MB / 0.7387 GB, free: 42.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.006636/1.701, allocations: 8.042 MB / 0.7465 GB, free: 42.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/1.712, allocations: 7.482 MB / 0.7538 GB, free: 42.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.03403/1.746, allocations: 33.18 MB / 0.7862 GB, free: 36.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.746, allocations: 3.984 kB / 0.7862 GB, free: 36.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.22e-07/1.746, allocations: 3.922 kB / 0.7862 GB, free: 36.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002572/1.746, allocations: 0 / 0.7862 GB, free: 36.07 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.02762/1.773, allocations: 17.77 MB / 0.8036 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/1.773, allocations: 11.8 kB / 0.8036 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00694/1.78, allocations: 3.413 MB / 0.807 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006304/1.787, allocations: 6.35 MB / 0.8132 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001396/1.788, allocations: 5.327 MB / 0.8184 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/1.79, allocations: 1.406 MB / 0.8197 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/1.804, allocations: 15.65 MB / 0.835 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/1.805, allocations: 58.78 kB / 0.8351 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/1.806, allocations: 0.5522 MB / 0.8356 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/1.806, allocations: 356 kB / 0.8359 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/1.821, allocations: 10.92 MB / 0.8466 GB, free: 2.539 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.07119/1.892, allocations: 87.51 MB / 0.9321 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03131/1.923, allocations: 22.75 MB / 0.9543 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005724/1.929, allocations: 3.821 MB / 0.958 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7018/2.631, allocations: 301.4 MB / 1.252 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01282/2.643, allocations: 7.031 MB / 1.259 GB, free: 64 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=1654): time 1.571e-05/2.643, allocations: 0 / 1.259 GB, free: 64 kB / 0.7761 GB Notification: Performance of matching and sorting (n=1655): time 0.3528/2.996, allocations: 54.39 MB / 1.312 GB, free: 218.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/2.996, allocations: 429.3 kB / 1.313 GB, free: 217.9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/2.999, allocations: 4.381 MB / 1.317 GB, free: 217.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.002387/3.002, allocations: 305.8 kB / 1.317 GB, free: 217.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/3.004, allocations: 4.334 MB / 1.322 GB, free: 215 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.004214/3.008, allocations: 6.343 MB / 1.328 GB, free: 210.9 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004592/3.012, allocations: 3.985 MB / 1.332 GB, free: 208.9 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 3.4e-05/3.012, allocations: 487.6 kB / 1.332 GB, free: 208.4 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004596/3.017, allocations: 3.173 MB / 1.335 GB, free: 206 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006461/3.023, allocations: 10.03 MB / 1.345 GB, free: 194.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/3.036, allocations: 14.93 MB / 1.36 GB, free: 180.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-05/3.036, allocations: 36 kB / 1.36 GB, free: 180.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2468) (initialization): time 0.02333/3.059, allocations: 18.15 MB / 1.377 GB, free: 168 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/3.059, allocations: 61.41 kB / 1.377 GB, free: 167.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/3.059, allocations: 136 kB / 1.378 GB, free: 167.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5746/3.634, allocations: 353.7 MB / 1.723 GB, free: 45.21 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/3.638, allocations: 1.917 MB / 1.725 GB, free: 43.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03089/3.669, allocations: 18.39 MB / 1.743 GB, free: 30.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007668/3.677, allocations: 0.6436 MB / 1.743 GB, free: 30.35 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/3.678, allocations: 0.8305 MB / 1.744 GB, free: 29.79 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.003335/3.682, allocations: 1.186 MB / 1.745 GB, free: 29.37 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002655/3.684, allocations: 1.483 MB / 1.747 GB, free: 28.58 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04555/3.73, allocations: 25.57 MB / 1.772 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03837/3.768, allocations: 19.07 MB / 1.79 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.534e-05/3.768, allocations: 28 kB / 1.79 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/3.768, allocations: 79.41 kB / 1.79 GB, free: 13.77 MB / 0.8073 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.2798/4.048, allocations: 32.98 MB / 1.823 GB, free: 221.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/4.048, allocations: 10.16 kB / 1.823 GB, free: 221.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008254/4.056, allocations: 2.809 MB / 1.825 GB, free: 221.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04428/4.101, allocations: 17.74 MB / 1.843 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003178/4.104, allocations: 0.6981 MB / 1.843 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07581/4.18, allocations: 217.4 MB / 2.056 GB, free: 18.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/4.18, allocations: 7.75 kB / 2.056 GB, free: 18.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05296/4.233, allocations: 26.03 MB / 2.081 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2434/4.476, allocations: 3.124 MB / 2.084 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003093/4.479, allocations: 433.7 kB / 2.085 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005418/4.485, allocations: 411.6 kB / 2.085 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002978/4.488, allocations: 1.532 MB / 2.086 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001173/4.489, allocations: 0.5475 MB / 2.087 GB, free: 183.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001968/4.491, allocations: 1.904 MB / 2.089 GB, free: 183.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.81e-07/4.491, allocations: 1.188 kB / 2.089 GB, free: 183.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01352/4.504, allocations: 6.604 MB / 2.095 GB, free: 183.3 MB / 0.8073 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.007342/4.512, allocations: 4.157 MB / 2.099 GB, free: 182.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02706/4.539, allocations: 15.29 MB / 2.114 GB, free: 181.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/4.539, allocations: 6.469 kB / 2.114 GB, free: 181.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01828/4.557, allocations: 26.32 MB / 2.14 GB, free: 162.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/4.564, allocations: 2.58 MB / 2.143 GB, free: 162.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03726/4.601, allocations: 30.68 MB / 2.173 GB, free: 150.6 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/4.603, allocations: 2.876 MB / 2.175 GB, free: 148.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007957/4.611, allocations: 2.458 MB / 2.178 GB, free: 146.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005927/4.617, allocations: 2.809 MB / 2.18 GB, free: 144.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.633e-06/4.617, allocations: 0 / 2.18 GB, free: 144.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.6023/5.219, allocations: 450.3 MB / 2.62 GB, free: 71.99 MB / 0.8698 GB " [Timeout remaining time 654] 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: 33.097028551157564]