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.8023/0.8023, allocations: 150.9 MB / 167.1 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003533, allocations: 11.98 kB / 206 MB, free: 9.055 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 31.33 MB / 237.3 MB, free: 5.723 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.596/1.742, allocations: 305 MB / 0.5295 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4634/2.205, allocations: 203 MB / 0.7278 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/2.207, allocations: 50.81 kB / 0.7278 GB, free: 2.004 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.001361/2.209, allocations: 0.7144 MB / 0.7285 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/2.211, allocations: 1.48 MB / 0.73 GB, free: 1.953 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.03628/2.247, allocations: 15.97 MB / 0.7456 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01711/2.265, allocations: 18.17 MB / 0.7633 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/2.276, allocations: 6.714 MB / 0.7699 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00872/2.285, allocations: 5.393 MB / 0.7752 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/2.296, allocations: 6.467 MB / 0.7815 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005747/2.302, allocations: 1.636 MB / 0.7831 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04845/2.351, allocations: 25.84 MB / 0.8083 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.006867/2.358, allocations: 4.674 MB / 0.8129 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0125/2.37, allocations: 5.961 MB / 0.8187 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0531/2.423, allocations: 27.94 MB / 0.846 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/2.423, allocations: 0 / 0.846 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/2.423, allocations: 0 / 0.846 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004107/2.424, allocations: 0 / 0.846 GB, free: 9.168 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.04494/2.469, allocations: 12 MB / 0.8577 GB, free: 13.1 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/2.469, allocations: 12.03 kB / 0.8577 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/2.474, allocations: 0.9081 MB / 0.8586 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/2.485, allocations: 4.608 MB / 0.8631 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002682/2.487, allocations: 2.364 MB / 0.8654 GB, free: 4.984 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004212/2.492, allocations: 0.8551 MB / 0.8662 GB, free: 4.129 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03735/2.529, allocations: 15.39 MB / 0.8813 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003586/2.529, allocations: 40.28 kB / 0.8813 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00362/2.533, allocations: 344 kB / 0.8816 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/2.533, allocations: 228 kB / 0.8819 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08219/2.615, allocations: 42.05 MB / 0.9229 GB, free: 9.609 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.4591/3.075, allocations: 66.32 MB / 0.9877 GB, free: 371.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04303/3.118, allocations: 16.17 MB / 1.003 GB, free: 370.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0134/3.131, allocations: 7.088 MB / 1.01 GB, free: 370.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162/4.293, allocations: 0.5984 GB / 1.609 GB, free: 157.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01636/4.309, allocations: 8.055 MB / 1.617 GB, free: 152.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=940): time 1.371e-05/4.309, allocations: 0 / 1.617 GB, free: 152.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=941): time 0.5127/4.822, allocations: 75.39 MB / 1.69 GB, free: 389.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/4.822, allocations: 323 kB / 1.691 GB, free: 389.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/4.827, allocations: 3.491 MB / 1.694 GB, free: 389.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.002565/4.829, allocations: 179.1 kB / 1.694 GB, free: 389.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/4.831, allocations: 2.684 MB / 1.697 GB, free: 388.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.005893/4.837, allocations: 3.362 MB / 1.7 GB, free: 386.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00824/4.845, allocations: 2.144 MB / 1.702 GB, free: 386.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 6.115e-05/4.846, allocations: 303.9 kB / 1.702 GB, free: 385.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01398/4.86, allocations: 6.608 MB / 1.709 GB, free: 385.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0154/4.875, allocations: 9.165 MB / 1.718 GB, free: 381.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02877/4.904, allocations: 16.6 MB / 1.734 GB, free: 372.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-05/4.904, allocations: 19.69 kB / 1.734 GB, free: 372.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.0678/4.972, allocations: 24.77 MB / 1.758 GB, free: 356.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/4.972, allocations: 36.62 kB / 1.758 GB, free: 356.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/4.972, allocations: 76 kB / 1.758 GB, free: 356.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4238/5.396, allocations: 100.1 MB / 1.856 GB, free: 257.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005865/5.402, allocations: 1.356 MB / 1.857 GB, free: 255.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04862/5.45, allocations: 24.11 MB / 1.881 GB, free: 231.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/5.461, allocations: 0.5143 MB / 1.881 GB, free: 231.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002955/5.464, allocations: 0.5388 MB / 1.882 GB, free: 230.5 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.007474/5.471, allocations: 2.05 MB / 1.884 GB, free: 228.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003466/5.474, allocations: 0.6069 MB / 1.885 GB, free: 228 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2985/5.773, allocations: 28.33 MB / 1.912 GB, free: 389.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08942/5.862, allocations: 24.44 MB / 1.936 GB, free: 385.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001354/5.863, allocations: 15.12 kB / 1.936 GB, free: 385.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003203/5.863, allocations: 44.86 kB / 1.936 GB, free: 385.6 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.1136/5.977, allocations: 39.36 MB / 1.975 GB, free: 352.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.196e-05/5.977, allocations: 7.312 kB / 1.975 GB, free: 352.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01133/5.988, allocations: 1.85 MB / 1.976 GB, free: 351 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05983/6.048, allocations: 12.53 MB / 1.989 GB, free: 338.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003432/6.051, allocations: 403.7 kB / 1.989 GB, free: 338.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1612/6.213, allocations: 122.1 MB / 2.108 GB, free: 208.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/6.213, allocations: 7.375 kB / 2.108 GB, free: 208.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1021/6.315, allocations: 33.86 MB / 2.141 GB, free: 174.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007013/6.322, allocations: 2.198 MB / 2.144 GB, free: 172.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003787/6.326, allocations: 243.9 kB / 2.144 GB, free: 172.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009032/6.335, allocations: 383.6 kB / 2.144 GB, free: 171.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004531/6.339, allocations: 1.015 MB / 2.145 GB, free: 170.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002418/6.342, allocations: 379.7 kB / 2.145 GB, free: 170.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002829/6.344, allocations: 2.188 MB / 2.148 GB, free: 168.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/6.344, allocations: 0 / 2.148 GB, free: 168.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.017/6.361, allocations: 4.677 MB / 2.152 GB, free: 163.8 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.01188/6.373, allocations: 3.498 MB / 2.156 GB, free: 161 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.2251/6.599, allocations: 17.98 MB / 2.173 GB, free: 364.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/6.599, allocations: 0 / 2.173 GB, free: 364.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02741/6.626, allocations: 16.05 MB / 2.189 GB, free: 357.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008716/6.635, allocations: 1.469 MB / 2.19 GB, free: 357.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05449/6.689, allocations: 25.09 MB / 2.215 GB, free: 351.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00372/6.693, allocations: 4.179 MB / 2.219 GB, free: 350.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00897/6.702, allocations: 2.749 MB / 2.222 GB, free: 350 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/6.705, allocations: 0.6854 MB / 2.222 GB, free: 350 MB / 0.7794 GB Notification: Performance of SimCode: time 7.41e-07/6.705, allocations: 0 / 2.222 GB, free: 350 MB / 0.7794 GB Notification: Performance of Templates: time 0.5402/7.245, 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 cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.pipe 2>&1)