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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicWaterHeatingOnePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicWaterHeatingOnePipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8256/0.8256, allocations: 150.9 MB / 166.4 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 23.97 kB / 204.6 MB, free: 9.727 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 31.33 MB / 236 MB, free: 5.391 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.622/1.764, allocations: 305.2 MB / 0.5285 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.538/2.302, allocations: 203 MB / 0.7267 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/2.304, allocations: 55.28 kB / 0.7268 GB, free: 2.035 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.002248/2.306, allocations: 0.7135 MB / 0.7275 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003123/2.309, allocations: 1.481 MB / 0.7289 GB, free: 1.984 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.04034/2.35, allocations: 15.99 MB / 0.7445 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01576/2.365, allocations: 18.12 MB / 0.7622 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/2.375, allocations: 6.721 MB / 0.7688 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008783/2.384, allocations: 5.383 MB / 0.774 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/2.394, allocations: 6.463 MB / 0.7803 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004671/2.399, allocations: 1.635 MB / 0.7819 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05867/2.458, allocations: 25.6 MB / 0.8069 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00789/2.466, allocations: 4.675 MB / 0.8115 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01396/2.48, allocations: 5.951 MB / 0.8173 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0508/2.531, allocations: 27.88 MB / 0.8445 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/2.531, allocations: 0 / 0.8445 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.823e-06/2.531, allocations: 0 / 0.8445 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004912/2.531, allocations: 4 kB / 0.8446 GB, free: 9.551 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.04868/2.58, allocations: 12.01 MB / 0.8563 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/2.58, allocations: 12.03 kB / 0.8563 GB, free: 13.47 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00508/2.585, allocations: 1.114 MB / 0.8574 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/2.591, allocations: 0.9081 MB / 0.8583 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/2.603, allocations: 4.476 MB / 0.8626 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0029/2.606, allocations: 2.368 MB / 0.8649 GB, free: 4.363 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0045/2.61, allocations: 0.8537 MB / 0.8658 GB, free: 3.512 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03924/2.65, allocations: 15.39 MB / 0.8808 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003697/2.65, allocations: 37 kB / 0.8808 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003619/2.654, allocations: 344 kB / 0.8812 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/2.654, allocations: 224 kB / 0.8814 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08498/2.739, allocations: 42.05 MB / 0.9225 GB, free: 8.996 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.434/3.173, allocations: 66.5 MB / 0.9874 GB, free: 371.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04105/3.214, allocations: 16.18 MB / 1.003 GB, free: 371.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01296/3.227, allocations: 7.087 MB / 1.01 GB, free: 371.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267/4.494, allocations: 0.5947 GB / 1.605 GB, free: 161.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01714/4.511, allocations: 8.051 MB / 1.613 GB, free: 155.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=940): time 1.67e-05/4.511, allocations: 0 / 1.613 GB, free: 155.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=941): time 0.4758/4.987, allocations: 75.4 MB / 1.686 GB, free: 389.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/4.987, allocations: 325.3 kB / 1.687 GB, free: 389.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004317/4.992, allocations: 3.488 MB / 1.69 GB, free: 389.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.002324/4.994, allocations: 179.3 kB / 1.69 GB, free: 389.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/4.996, allocations: 2.684 MB / 1.693 GB, free: 388.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004889/5.001, allocations: 3.357 MB / 1.696 GB, free: 386.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003921/5.005, allocations: 2.143 MB / 1.698 GB, free: 386 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/5.005, allocations: 311 kB / 1.698 GB, free: 385.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01152/5.016, allocations: 6.594 MB / 1.705 GB, free: 385.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01476/5.031, allocations: 9.169 MB / 1.714 GB, free: 381.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02782/5.059, allocations: 16.6 MB / 1.73 GB, free: 372.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.139e-05/5.059, allocations: 22.41 kB / 1.73 GB, free: 372.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.05958/5.119, allocations: 24.77 MB / 1.754 GB, free: 358.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/5.119, allocations: 42.17 kB / 1.754 GB, free: 358.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.732e-05/5.119, allocations: 76 kB / 1.754 GB, free: 358.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4181/5.537, allocations: 100.2 MB / 1.852 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006391/5.543, allocations: 1.354 MB / 1.854 GB, free: 257.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05081/5.594, allocations: 24.1 MB / 1.877 GB, free: 233.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/5.605, allocations: 0.5115 MB / 1.878 GB, free: 232.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002699/5.608, allocations: 0.5388 MB / 1.878 GB, free: 232.3 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.007421/5.615, allocations: 2.053 MB / 1.88 GB, free: 230.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002892/5.618, allocations: 0.5946 MB / 1.881 GB, free: 229.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2967/5.915, allocations: 28.38 MB / 1.908 GB, free: 389.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08824/6.003, allocations: 24.44 MB / 1.932 GB, free: 385.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001166/6.003, allocations: 12.03 kB / 1.932 GB, free: 385.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002573/6.003, allocations: 43.88 kB / 1.932 GB, free: 385.8 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.1098/6.113, allocations: 39.5 MB / 1.971 GB, free: 353.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.675e-05/6.113, allocations: 4 kB / 1.971 GB, free: 353.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01124/6.125, allocations: 1.853 MB / 1.973 GB, free: 351.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06082/6.185, allocations: 12.54 MB / 1.985 GB, free: 339.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003449/6.189, allocations: 403.7 kB / 1.985 GB, free: 338.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1627/6.352, allocations: 122.2 MB / 2.105 GB, free: 209.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/6.352, allocations: 11.59 kB / 2.105 GB, free: 209.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09692/6.449, allocations: 33.84 MB / 2.138 GB, free: 175.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005935/6.454, allocations: 2.194 MB / 2.14 GB, free: 172.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/6.457, allocations: 243.9 kB / 2.14 GB, free: 172.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007709/6.465, allocations: 387.6 kB / 2.141 GB, free: 172.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003467/6.468, allocations: 1.01 MB / 2.142 GB, free: 171.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001515/6.47, allocations: 381.7 kB / 2.142 GB, free: 171 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002776/6.472, allocations: 2.185 MB / 2.144 GB, free: 168.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/6.472, allocations: 0 / 2.144 GB, free: 168.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01662/6.489, allocations: 4.691 MB / 2.149 GB, free: 164.4 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.3217/6.811, allocations: 37.77 MB / 2.185 GB, free: 358.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.1331/6.944, allocations: 56.06 MB / 2.24 GB, free: 336.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/6.944, allocations: 3.094 kB / 2.24 GB, free: 336.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.02589/6.97, allocations: 16.05 MB / 2.256 GB, free: 322.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007451/6.977, allocations: 1.46 MB / 2.257 GB, free: 321.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2165/7.194, allocations: 119.8 MB / 2.374 GB, free: 204.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/7.198, allocations: 4.181 MB / 2.378 GB, free: 200.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.01208/7.21, allocations: 2.75 MB / 2.381 GB, free: 197.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006266/7.216, allocations: 3.319 MB / 2.384 GB, free: 194.6 MB / 0.7794 GB Notification: Performance of SimCode: time 1.202e-06/7.216, allocations: 0 / 2.384 GB, free: 194.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8999/8.116, allocations: 351.9 MB / 2.728 GB, free: 286 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.53/31.64, allocations: 8.5 kB / 2.728 GB, free: 286 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicWaterHeatingOnePipe.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeatingOnePipe.pipe 2>&1)