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.8298/0.8298, allocations: 150.9 MB / 167.1 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 15.97 kB / 205.9 MB, free: 9.012 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 31.33 MB / 237.3 MB, free: 5.738 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.TestDynamicWaterHeatingOnePipe): time 1.588/1.723, allocations: 305 MB / 0.5295 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.454/2.177, allocations: 203 MB / 0.7278 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/2.179, allocations: 52.56 kB / 0.7278 GB, free: 1.977 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/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.001465/2.18, allocations: 0.7087 MB / 0.7285 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00302/2.184, allocations: 1.485 MB / 0.73 GB, free: 1.926 MB / 0.5762 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.03637/2.22, allocations: 15.97 MB / 0.7456 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01311/2.233, allocations: 18.17 MB / 0.7633 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008991/2.242, allocations: 6.724 MB / 0.7699 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007718/2.25, allocations: 5.39 MB / 0.7752 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009908/2.26, allocations: 6.467 MB / 0.7815 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004377/2.264, allocations: 1.636 MB / 0.7831 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04891/2.313, allocations: 25.84 MB / 0.8083 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.006325/2.319, allocations: 4.673 MB / 0.8129 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01134/2.331, allocations: 5.954 MB / 0.8187 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.04376/2.375, allocations: 27.95 MB / 0.846 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/2.375, allocations: 4 kB / 0.846 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/2.375, allocations: 0 / 0.846 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003508/2.375, allocations: 4 kB / 0.846 GB, free: 9.172 MB / 0.6544 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.04325/2.418, allocations: 12 MB / 0.8577 GB, free: 13.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/2.418, allocations: 11.12 kB / 0.8577 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/2.422, allocations: 0.912 MB / 0.8586 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/2.433, allocations: 4.597 MB / 0.8631 GB, free: 7.738 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002424/2.435, allocations: 2.36 MB / 0.8654 GB, free: 5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003319/2.439, allocations: 0.8551 MB / 0.8662 GB, free: 4.145 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0325/2.471, allocations: 15.39 MB / 0.8813 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/2.472, allocations: 36.94 kB / 0.8813 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/2.473, allocations: 348 kB / 0.8816 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/2.473, allocations: 232 kB / 0.8818 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08049/2.554, allocations: 42.06 MB / 0.9229 GB, free: 9.617 MB / 0.7325 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.4087/2.963, allocations: 66.31 MB / 0.9877 GB, free: 371.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04201/3.005, allocations: 16.18 MB / 1.003 GB, free: 371.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01255/3.017, allocations: 7.09 MB / 1.01 GB, free: 371.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199/4.217, allocations: 0.5984 GB / 1.609 GB, free: 157.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01629/4.233, allocations: 8.052 MB / 1.617 GB, free: 152.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=940): time 1.543e-05/4.233, allocations: 4 kB / 1.617 GB, free: 152.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=941): time 0.5333/4.766, allocations: 75.38 MB / 1.69 GB, free: 390 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/4.767, allocations: 326.2 kB / 1.691 GB, free: 389.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/4.771, allocations: 3.5 MB / 1.694 GB, free: 389.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.002122/4.773, allocations: 175 kB / 1.694 GB, free: 389.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/4.774, allocations: 2.687 MB / 1.697 GB, free: 388.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003726/4.778, allocations: 3.361 MB / 1.7 GB, free: 386.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003675/4.782, allocations: 2.141 MB / 1.702 GB, free: 386.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.472e-05/4.782, allocations: 305.2 kB / 1.702 GB, free: 386 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/4.793, allocations: 6.601 MB / 1.709 GB, free: 386 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/4.806, allocations: 9.178 MB / 1.718 GB, free: 381.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02614/4.833, allocations: 16.59 MB / 1.734 GB, free: 372.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.66e-05/4.833, allocations: 19.22 kB / 1.734 GB, free: 372.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.06043/4.893, allocations: 24.77 MB / 1.758 GB, free: 356.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/4.893, allocations: 36.78 kB / 1.758 GB, free: 356.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/4.893, allocations: 79.98 kB / 1.758 GB, free: 356.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4313/5.325, allocations: 100.1 MB / 1.856 GB, free: 257.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/5.331, allocations: 1.344 MB / 1.857 GB, free: 256 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04482/5.375, allocations: 24.12 MB / 1.881 GB, free: 231.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009945/5.385, allocations: 0.5115 MB / 1.881 GB, free: 231.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/5.387, allocations: 0.5349 MB / 1.882 GB, free: 230.7 MB / 0.7794 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.005229/5.393, allocations: 2.056 MB / 1.884 GB, free: 228.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001887/5.395, allocations: 0.5985 MB / 1.885 GB, free: 228.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2607/5.655, allocations: 28.33 MB / 1.912 GB, free: 389.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08575/5.741, allocations: 24.45 MB / 1.936 GB, free: 386.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/5.741, allocations: 15.19 kB / 1.936 GB, free: 386.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002162/5.741, allocations: 47.61 kB / 1.936 GB, free: 386.1 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.1142/5.856, allocations: 39.35 MB / 1.975 GB, free: 353 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000113/5.856, allocations: 5.359 kB / 1.975 GB, free: 353 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01171/5.867, allocations: 1.854 MB / 1.976 GB, free: 351.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06442/5.932, allocations: 12.52 MB / 1.989 GB, free: 338.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003334/5.935, allocations: 403.7 kB / 1.989 GB, free: 338.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.161/6.096, allocations: 122.1 MB / 2.108 GB, free: 208.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/6.096, allocations: 4.547 kB / 2.108 GB, free: 208.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1005/6.197, allocations: 33.86 MB / 2.141 GB, free: 174.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007121/6.204, allocations: 2.201 MB / 2.144 GB, free: 172.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003779/6.208, allocations: 251.9 kB / 2.144 GB, free: 172.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007431/6.215, allocations: 389.4 kB / 2.144 GB, free: 171.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002925/6.218, allocations: 1.008 MB / 2.145 GB, free: 170.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001051/6.219, allocations: 375.7 kB / 2.145 GB, free: 170.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002611/6.222, allocations: 2.192 MB / 2.148 GB, free: 168.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/6.222, allocations: 0 / 2.148 GB, free: 168.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01329/6.235, allocations: 4.679 MB / 2.152 GB, free: 164 MB / 0.7794 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.009124/6.244, allocations: 3.492 MB / 2.156 GB, free: 161.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.217/6.461, allocations: 17.98 MB / 2.173 GB, free: 364.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/6.461, allocations: 2.281 kB / 2.173 GB, free: 364.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02692/6.488, allocations: 16.05 MB / 2.189 GB, free: 357.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008351/6.497, allocations: 1.465 MB / 2.19 GB, free: 357.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05593/6.553, allocations: 25.1 MB / 2.215 GB, free: 351.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/6.557, allocations: 4.175 MB / 2.219 GB, free: 350.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00891/6.566, allocations: 2.752 MB / 2.222 GB, free: 350.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00303/6.569, allocations: 0.6762 MB / 2.222 GB, free: 350.3 MB / 0.7794 GB Notification: Performance of SimCode: time 9.51e-07/6.569, allocations: 3.781 kB / 2.222 GB, free: 350.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.5005/7.069, allocations: 280.4 MB / 2.496 GB, free: 293.9 MB / 0.7794 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.pipe 2>&1)