Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8261/0.8261, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 18.53 kB / 237.8 MB, free: 1.789 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05753/0.05791, allocations: 31.35 MB / 269.1 MB, free: 7.027 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe): time 1.638/1.696, allocations: 305.2 MB / 0.5608 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5205/2.217, allocations: 203 MB / 0.7591 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/2.219, allocations: 52.22 kB / 0.7591 GB, free: 1.645 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67: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 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:44:3-45:68: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 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:46:3-47:66: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 4.0.0-master/Fluid/Volumes/TwoPhaseCavity.mo:182:3-184:57: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 4.0.0-master/Fluid/Volumes/TwoPhaseCavity.mo:185:3-187:61: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 4.0.0-master/Fluid/Volumes/TwoPhaseCavity.mo:200:3-201:67: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 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151:67: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 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:152:3-153:65: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 4.0.0-master/Fluid/HeatExchangers/DynamicWaterHeaterOnePipe.mo:108:3-109:65: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 4.0.0-master/Fluid/HeatExchangers/DynamicWaterHeaterOnePipe.mo:110:3-112:16: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 4.0.0-master/Fluid/HeatExchangers/DynamicWaterHeaterOnePipe.mo:113:3-114:76: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 4.0.0-master/Fluid/HeatExchangers/DynamicWaterHeaterOnePipe.mo:115:3-116:74: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 4.0.0-master/Fluid/HeatExchangers/DynamicWaterHeaterOnePipe.mo:121:3-122:74: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 4.0.0-master/Fluid/Volumes/VolumeD.mo:104:3-105:67: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 4.0.0-master/Fluid/Volumes/VolumeD.mo:106:3-107:73: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 4.0.0-master/Fluid/Volumes/VolumeD.mo:108:3-109:75: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 4.0.0-master/Fluid/Volumes/VolumeD.mo:110:3-111:71: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 4.0.0-master/Fluid/Volumes/VolumeC.mo:103:3-105:59: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 4.0.0-master/Fluid/Volumes/VolumeC.mo:106:3-108:57: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 4.0.0-master/Fluid/Volumes/VolumeC.mo:109:3-110:65: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 4.0.0-master/Fluid/Volumes/VolumeC.mo:111:3-113:24: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 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67: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 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67: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 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65: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 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67: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 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65: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 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65: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 4.0.0-master/Fluid/BoundaryConditions/RefQ.mo:10:3-11:67: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 4.0.0-master/Fluid/BoundaryConditions/RefQ.mo:12:3-13:65: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 4.0.0-master/Fluid/PressureLosses/IdealCheckValve.mo:22:3-23:65: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 4.0.0-master/Fluid/PressureLosses/IdealCheckValve.mo:24:3-25:67: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 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67: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 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65: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 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67: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 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65: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.001544/2.221, allocations: 0.715 MB / 0.7598 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003023/2.224, allocations: 1.479 MB / 0.7613 GB, free: 1.594 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.04126/2.265, allocations: 15.96 MB / 0.7769 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01488/2.28, allocations: 18.18 MB / 0.7946 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009686/2.289, allocations: 6.734 MB / 0.8012 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009363/2.299, allocations: 5.417 MB / 0.8065 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/2.31, allocations: 6.471 MB / 0.8128 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005474/2.316, allocations: 1.638 MB / 0.8144 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05782/2.373, allocations: 25.83 MB / 0.8396 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.007698/2.381, allocations: 4.672 MB / 0.8442 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01344/2.395, allocations: 5.955 MB / 0.85 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.05624/2.451, allocations: 27.95 MB / 0.8773 GB, free: 1.742 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/2.451, allocations: 0 / 0.8773 GB, free: 1.742 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.023e-06/2.451, allocations: 0 / 0.8773 GB, free: 1.742 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004889/2.451, allocations: 4 kB / 0.8773 GB, free: 1.738 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2136 * Number of variables: 2136 Notification: Performance of Generate backend data structure: time 0.04694/2.498, allocations: 11.99 MB / 0.889 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/2.498, allocations: 15.89 kB / 0.889 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/2.503, allocations: 0.9082 MB / 0.8899 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/2.513, allocations: 4.61 MB / 0.8944 GB, free: 304 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002724/2.516, allocations: 2.36 MB / 0.8967 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004186/2.52, allocations: 0.8614 MB / 0.8976 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04239/2.562, allocations: 15.38 MB / 0.9126 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003849/2.563, allocations: 34.88 kB / 0.9126 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003702/2.567, allocations: 348 kB / 0.9129 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/2.567, allocations: 228 kB / 0.9132 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0837/2.651, allocations: 42.05 MB / 0.9542 GB, free: 2.184 MB / 0.7481 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.4889/3.14, allocations: 66.32 MB / 1.019 GB, free: 391.8 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04017/3.18, allocations: 16.18 MB / 1.035 GB, free: 391.2 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01295/3.193, allocations: 7.087 MB / 1.042 GB, free: 391.2 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321/4.514, allocations: 0.5984 GB / 1.64 GB, free: 183.5 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02071/4.534, allocations: 8.055 MB / 1.648 GB, free: 178 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=940): time 2.733e-05/4.535, allocations: 0 / 1.648 GB, free: 178 MB / 0.8107 GB Notification: Performance of matching and sorting (n=941): time 0.3141/4.849, allocations: 75.39 MB / 1.722 GB, free: 102.3 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/4.849, allocations: 322.2 kB / 1.722 GB, free: 101.9 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/4.854, allocations: 3.492 MB / 1.725 GB, free: 98.45 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.002526/4.856, allocations: 177.7 kB / 1.725 GB, free: 98.27 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001629/4.858, allocations: 2.687 MB / 1.728 GB, free: 95.59 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00436/4.862, allocations: 3.361 MB / 1.731 GB, free: 92.25 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008253/4.87, allocations: 2.139 MB / 1.733 GB, free: 90.1 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 4.427e-05/4.87, allocations: 305.1 kB / 1.734 GB, free: 89.8 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2191/5.09, allocations: 6.603 MB / 1.74 GB, free: 394.1 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0164/5.106, allocations: 9.174 MB / 1.749 GB, free: 391.3 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03108/5.137, allocations: 16.59 MB / 1.765 GB, free: 384.5 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.462e-05/5.137, allocations: 23.91 kB / 1.765 GB, free: 384.5 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.07187/5.209, allocations: 24.76 MB / 1.79 GB, free: 376 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/5.209, allocations: 38.22 kB / 1.79 GB, free: 376 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/5.21, allocations: 76.03 kB / 1.79 GB, free: 376 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.428/5.638, allocations: 100.1 MB / 1.887 GB, free: 287 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006184/5.644, allocations: 1.357 MB / 1.889 GB, free: 285.7 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04583/5.69, allocations: 24.1 MB / 1.912 GB, free: 261.6 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/5.7, allocations: 0.5114 MB / 1.913 GB, free: 261.1 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002963/5.703, allocations: 0.5349 MB / 1.913 GB, free: 260.6 MB / 0.8107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 62 ($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.volumeC.Ce3.ftype,WaterHeating.volumeC.Ce2.ftype,WaterHeating.volumeD.Cs1.ftype,WaterHeating.volumeC.fluids[1],WaterHeating.volumeD.Cs3.ftype,WaterHeating.volumeD.Cs2.ftype,WaterHeating.volumeD.fluids[1],WaterHeating.WaterHeating.fluids[1],Puit_condenseur1.fluid,ControlValve_eau.fluid,WaterHeating.pipe_3.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.volumeC.fluid1,WaterHeating.volumeD.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.volumeC.Ce3.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_2,WaterHeating.volumeC.Ce1.diff_on_2,WaterHeating.volumeC.Ce3.diff_on_1,WaterHeating.volumeC.Ce2.diff_on_1,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.volumeD.Cs2.diff_on_2,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 (660): * Single equations (assignments): 653 * 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), (69,592)} Notification: Performance of prepare postOptimizeDAE: time 0.007847/5.711, allocations: 2.059 MB / 1.915 GB, free: 258.7 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003258/5.715, allocations: 0.6011 MB / 1.916 GB, free: 258.4 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0984/5.813, allocations: 28.34 MB / 1.944 GB, free: 230.1 MB / 0.8107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3007/6.114, allocations: 24.43 MB / 1.967 GB, free: 381.1 MB / 0.8107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001115/6.114, allocations: 13.28 kB / 1.967 GB, free: 381.1 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000292/6.114, allocations: 48.09 kB / 1.968 GB, free: 381.1 MB / 0.8107 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.1204/6.235, allocations: 39.35 MB / 2.006 GB, free: 375.6 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001337/6.235, allocations: 3.719 kB / 2.006 GB, free: 375.6 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01141/6.246, allocations: 1.853 MB / 2.008 GB, free: 375.5 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06152/6.308, allocations: 12.54 MB / 2.02 GB, free: 373.4 MB / 0.8107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003602/6.311, allocations: 398.6 kB / 2.02 GB, free: 373.1 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1585/6.47, allocations: 122.1 MB / 2.14 GB, free: 249.9 MB / 0.8107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/6.47, allocations: 4 kB / 2.14 GB, free: 249.9 MB / 0.8107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1049/6.575, allocations: 33.86 MB / 2.173 GB, free: 216.2 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005816/6.581, allocations: 2.191 MB / 2.175 GB, free: 213.9 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003338/6.584, allocations: 252.2 kB / 2.175 GB, free: 213.7 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008398/6.592, allocations: 387.6 kB / 2.175 GB, free: 213.3 MB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004271/6.597, allocations: 1.011 MB / 2.176 GB, free: 212.3 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002371/6.599, allocations: 367.7 kB / 2.177 GB, free: 212 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.003381/6.602, allocations: 2.196 MB / 2.179 GB, free: 209.8 MB / 0.8107 GB Notification: Performance of sort global known variables: time 1.41e-07/6.603, allocations: 0 / 2.179 GB, free: 209.8 MB / 0.8107 GB Notification: Performance of remove unused functions: time 0.01584/6.618, allocations: 4.683 MB / 2.184 GB, free: 205.4 MB / 0.8107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 90 (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.volumeD.P,WaterHeating.volumeD.h,WaterHeating.volumeC.P,WaterHeating.volumeC.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 (815): * Single equations (assignments): 741 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 66 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 41 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 25 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), (3,10), (2,7), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01106/6.629, allocations: 3.493 MB / 2.187 GB, free: 202.6 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.04336/6.673, allocations: 18 MB / 2.205 GB, free: 184.8 MB / 0.8107 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/6.673, allocations: 0 / 2.205 GB, free: 184.8 MB / 0.8107 GB Notification: Performance of simCode: created simulation system equations: time 0.02778/6.701, allocations: 16.05 MB / 2.22 GB, free: 168.1 MB / 0.8107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/6.711, allocations: 1.456 MB / 2.222 GB, free: 166.8 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05652/6.768, allocations: 25.47 MB / 2.246 GB, free: 141.9 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/6.771, allocations: 4.18 MB / 2.251 GB, free: 137.7 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004401/6.775, allocations: 0.7491 MB / 2.251 GB, free: 136.9 MB / 0.8107 GB Notification: Performance of SimCode: time 1.142e-06/6.775, allocations: 0 / 2.251 GB, free: 136.9 MB / 0.8107 GB Notification: Performance of Templates: time 1.866/8.641, allocations: 0.998 GB / 3.249 GB, free: 335 MB / 0.8107 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.pipe 2>&1)