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 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.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8285/0.8285, allocations: 150.9 MB / 166 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 15.97 kB / 204 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.147, allocations: 31.33 MB / 235.4 MB, free: 5.457 MB / 190.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.TestDynamicWaterHeating): time 1.591/1.738, allocations: 306.5 MB / 0.5292 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4949/2.233, allocations: 206.3 MB / 0.7306 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/2.236, allocations: 69.88 kB / 0.7307 GB, free: 3.562 MB / 0.5762 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/DynamicWaterHeater.mo:98:3-99: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/DynamicWaterHeater.mo:100:3-102: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/DynamicWaterHeater.mo:103:3-104: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/DynamicWaterHeater.mo:105:3-106: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/DynamicWaterHeater.mo:111:3-112: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/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/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/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/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/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/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.002053/2.238, allocations: 0.7498 MB / 0.7314 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/2.243, allocations: 2.102 MB / 0.7335 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03564/2.278, allocations: 13.59 MB / 0.7467 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02228/2.3, allocations: 28.42 MB / 0.7745 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01391/2.314, allocations: 8.82 MB / 0.7831 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01377/2.328, allocations: 7.117 MB / 0.7901 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01697/2.345, allocations: 10.13 MB / 0.7999 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.006204/2.351, allocations: 1.098 MB / 0.801 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05004/2.402, allocations: 25.54 MB / 0.826 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.009247/2.411, allocations: 6.275 MB / 0.8321 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01747/2.428, allocations: 7.955 MB / 0.8399 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0587/2.487, allocations: 37.31 MB / 0.8763 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/2.487, allocations: 0 / 0.8763 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/2.487, allocations: 0 / 0.8763 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0006691/2.488, allocations: 4 kB / 0.8763 GB, free: 11.76 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3421 * Number of variables: 3421 Notification: Performance of Generate backend data structure: time 0.07227/2.56, allocations: 18.11 MB / 0.894 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/2.56, allocations: 12.03 kB / 0.894 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007505/2.568, allocations: 1.403 MB / 0.8954 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/2.583, allocations: 7.056 MB / 0.9023 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003647/2.587, allocations: 3.35 MB / 0.9055 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006787/2.594, allocations: 1.416 MB / 0.9069 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06189/2.656, allocations: 26.12 MB / 0.9324 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005463/2.656, allocations: 60.47 kB / 0.9325 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005053/2.661, allocations: 0.5547 MB / 0.933 GB, free: 372 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002946/2.662, allocations: 356 kB / 0.9334 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4285/3.09, allocations: 68.11 MB / 0.9999 GB, free: 380.9 MB / 0.7794 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.1383/3.228, allocations: 112.2 MB / 1.109 GB, free: 294.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07999/3.308, allocations: 33.94 MB / 1.143 GB, free: 261.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02355/3.332, allocations: 12.88 MB / 1.155 GB, free: 248.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167/4.499, allocations: 0.595 GB / 1.75 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2017/4.701, allocations: 14.58 MB / 1.764 GB, free: 383.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1654): time 2.281e-05/4.701, allocations: 0 / 1.764 GB, free: 383.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1655): time 0.5148/5.216, allocations: 128.4 MB / 1.89 GB, free: 293.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/5.216, allocations: 429.6 kB / 1.89 GB, free: 292.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/5.221, allocations: 4.784 MB / 1.895 GB, free: 287.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.004095/5.225, allocations: 301.7 kB / 1.895 GB, free: 287.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/5.227, allocations: 3.809 MB / 1.899 GB, free: 283.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.007024/5.234, allocations: 5.935 MB / 1.905 GB, free: 277.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007645/5.242, allocations: 3.629 MB / 1.908 GB, free: 274.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 3.829e-05/5.242, allocations: 305.1 kB / 1.908 GB, free: 273.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02134/5.263, allocations: 11.89 MB / 1.92 GB, free: 262.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02603/5.29, allocations: 15.77 MB / 1.935 GB, free: 244.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05246/5.342, allocations: 29.08 MB / 1.964 GB, free: 214.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/5.342, allocations: 36.19 kB / 1.964 GB, free: 214.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2331) (initialization): time 0.3157/5.658, allocations: 41.03 MB / 2.004 GB, free: 356.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.411e-05/5.658, allocations: 54.69 kB / 2.004 GB, free: 356.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/5.658, allocations: 105.1 kB / 2.004 GB, free: 356.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085/6.743, allocations: 401.8 MB / 2.396 GB, free: 199.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006343/6.749, allocations: 1.723 MB / 2.398 GB, free: 197.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2843/7.034, allocations: 45.53 MB / 2.443 GB, free: 356.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01713/7.051, allocations: 0.9613 MB / 2.444 GB, free: 355.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00428/7.055, allocations: 0.9036 MB / 2.444 GB, free: 355.6 MB / 0.7794 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 (953): * Single equations (assignments): 946 * 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.00976/7.065, allocations: 3.308 MB / 2.448 GB, free: 354.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003489/7.068, allocations: 0.9488 MB / 2.449 GB, free: 354.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.159/7.227, allocations: 48.74 MB / 2.496 GB, free: 339.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1436/7.371, allocations: 41.86 MB / 2.537 GB, free: 298.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001882/7.371, allocations: 23.98 kB / 2.537 GB, free: 298.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004768/7.372, allocations: 79.7 kB / 2.537 GB, free: 298.4 MB / 0.7794 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.1939/7.566, allocations: 67.6 MB / 2.603 GB, free: 230.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002083/7.566, allocations: 4 kB / 2.603 GB, free: 230.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01845/7.584, allocations: 3.033 MB / 2.606 GB, free: 227.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.102/7.686, allocations: 21.5 MB / 2.627 GB, free: 206.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00633/7.693, allocations: 0.7103 MB / 2.628 GB, free: 205.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4657/8.159, allocations: 201 MB / 2.824 GB, free: 225.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/8.159, allocations: 7.469 kB / 2.824 GB, free: 225.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1674/8.326, allocations: 58.48 MB / 2.881 GB, free: 170.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01058/8.337, allocations: 3.768 MB / 2.885 GB, free: 166.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005752/8.342, allocations: 451.9 kB / 2.885 GB, free: 166.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01491/8.357, allocations: 0.7683 MB / 2.886 GB, free: 165.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007496/8.365, allocations: 1.728 MB / 2.888 GB, free: 164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003539/8.369, allocations: 0.648 MB / 2.888 GB, free: 163.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003919/8.372, allocations: 3.006 MB / 2.891 GB, free: 160.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/8.372, allocations: 0 / 2.891 GB, free: 160.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.02386/8.396, allocations: 6.615 MB / 2.898 GB, free: 154 MB / 0.7794 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.0126/8.409, allocations: 3.867 MB / 2.902 GB, free: 151 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.08009/8.489, allocations: 31.75 MB / 2.933 GB, free: 119.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/8.489, allocations: 1 kB / 2.933 GB, free: 119.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.05069/8.54, allocations: 28.88 MB / 2.961 GB, free: 89.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01547/8.555, allocations: 2.106 MB / 2.963 GB, free: 87.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.295/8.85, allocations: 47.48 MB / 3.009 GB, free: 314.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008827/8.859, allocations: 6.31 MB / 3.015 GB, free: 313.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.02349/8.883, allocations: 4.723 MB / 3.02 GB, free: 312.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008925/8.892, allocations: 1.111 MB / 3.021 GB, free: 312.7 MB / 0.7794 GB Notification: Performance of SimCode: time 8.12e-07/8.892, allocations: 0 / 3.021 GB, free: 312.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.9704/9.862, allocations: 444.1 MB / 3.455 GB, free: 329.8 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.makefile (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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe 2>&1)