Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterHeating",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.8876/0.8876, allocations: 150.9 MB / 166.5 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005509/0.000551, allocations: 16.77 kB / 236.6 MB, free: 2.156 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06623/0.0668, allocations: 31.35 MB / 268 MB, free: 7.641 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.75/1.817, allocations: 306.6 MB / 0.5611 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5834/2.4, allocations: 192.4 MB / 0.749 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/2.403, allocations: 32.34 kB / 0.7491 GB, free: 14.91 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/TwoPhaseCavity.mo:178:3-180:46:writable] Warning: Connector Cv is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/TwoPhaseCavity.mo:181:3-183:56:writable] Warning: Connector Cl is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/TwoPhaseCavity.mo:194:3-196:48:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:80:3-81:83:writable] Warning: Connector C1vap is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:82:3-84:16:writable] Warning: Connector C2ex is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:85:3-87:24:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:88:3-90:17:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:95:3-97:17:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:29:3-31:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:32:3-34:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:35:3-37:37:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:38:3-40:43:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:29:3-31:42:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:32:3-34:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:29:3-31:42:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:32:3-34:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/RefQ.mo:15:3-17:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/RefQ.mo:18:3-19:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/IdealCheckValve.mo:22:3-23:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/IdealCheckValve.mo:24:3-25:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.002247/2.405, allocations: 0.8231 MB / 0.7499 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005126/2.41, allocations: 1.814 MB / 0.7516 GB, free: 14.88 MB / 0.6075 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. Notification: Performance of NFTyping.typeClassSections: time 0.03237/2.443, allocations: 13.33 MB / 0.7646 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02671/2.47, allocations: 25.87 MB / 0.7899 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01422/2.484, allocations: 8.611 MB / 0.7983 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/2.499, allocations: 8.051 MB / 0.8062 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01778/2.517, allocations: 8.365 MB / 0.8144 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.006965/2.524, allocations: 1.758 MB / 0.8161 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05185/2.576, allocations: 22.84 MB / 0.8384 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.009025/2.585, allocations: 5.78 MB / 0.844 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.018/2.603, allocations: 8.368 MB / 0.8522 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05538/2.658, allocations: 31.93 MB / 0.8834 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/2.658, allocations: 0 / 0.8834 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.493e-06/2.658, allocations: 0 / 0.8834 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005851/2.659, allocations: 4 kB / 0.8834 GB, free: 1.105 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3704 * Number of variables: 3704 Notification: Performance of Generate backend data structure: time 0.06855/2.728, allocations: 17.21 MB / 0.9002 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/2.728, allocations: 12.03 kB / 0.9002 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007463/2.735, allocations: 1.724 MB / 0.9019 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007603/2.743, allocations: 1.316 MB / 0.9032 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/2.756, allocations: 5.076 MB / 0.9081 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004112/2.76, allocations: 3.028 MB / 0.9111 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006028/2.766, allocations: 0.9697 MB / 0.912 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05646/2.823, allocations: 20.26 MB / 0.9318 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003234/2.823, allocations: 7.938 kB / 0.9318 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005083/2.828, allocations: 360 kB / 0.9322 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005579/2.829, allocations: 0.527 MB / 0.9327 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04928/2.878, allocations: 19.87 MB / 0.9521 GB, free: 9.801 MB / 0.7637 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.494/3.372, allocations: 70.67 MB / 1.021 GB, free: 402.9 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06826/3.44, allocations: 22.78 MB / 1.043 GB, free: 402 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02525/3.466, allocations: 13.76 MB / 1.057 GB, free: 397 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4122/3.878, allocations: 226.9 MB / 1.278 GB, free: 169.2 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02926/3.907, allocations: 14.24 MB / 1.292 GB, free: 154.9 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2594): time 1.691e-05/3.907, allocations: 0 / 1.292 GB, free: 154.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2595): time 0.4994/4.407, allocations: 134.7 MB / 1.424 GB, free: 18.43 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/4.407, allocations: 267 kB / 1.424 GB, free: 18.12 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/4.41, allocations: 2.322 MB / 1.426 GB, free: 15.8 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.004073/4.414, allocations: 230.4 kB / 1.427 GB, free: 15.57 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.00177/4.416, allocations: 2.296 MB / 1.429 GB, free: 13.57 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.009616/4.426, allocations: 9.141 MB / 1.438 GB, free: 5.203 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01372/4.439, allocations: 2.969 MB / 1.441 GB, free: 2.227 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/4.44, allocations: 301.1 kB / 1.441 GB, free: 1.93 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2269/4.666, allocations: 11.75 MB / 1.452 GB, free: 398.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02671/4.693, allocations: 13.74 MB / 1.466 GB, free: 396.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.054/4.747, allocations: 28.08 MB / 1.493 GB, free: 383.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.44e-05/4.747, allocations: 7.969 kB / 1.493 GB, free: 383.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1107/4.858, allocations: 42.48 MB / 1.535 GB, free: 359.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/4.858, allocations: 16 kB / 1.535 GB, free: 359.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/4.858, allocations: 66.94 kB / 1.535 GB, free: 359 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496/6.354, allocations: 0.6463 GB / 2.181 GB, free: 280 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/6.356, allocations: 0.5417 MB / 2.182 GB, free: 279.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1166/6.473, allocations: 50.65 MB / 2.231 GB, free: 244.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01573/6.489, allocations: 0.771 MB / 2.232 GB, free: 244.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004818/6.494, allocations: 0.5493 MB / 2.232 GB, free: 243.7 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert,PressureLoss_Steam.C2.b,PressureLoss_Steam.C1.a,singularPressureLossPurge.C2.b,singularPressureLossPurge.C1.a,checkValve.C1.a,checkValve.C2.b,refQ.C2.b,refQ.C1.a,sourceP1.C.b,singularPressureLossWaterOut.C2.b,singularPressureLossWaterOut.C1.a,singularPressureLossWaterIn.C2.b,singularPressureLossWaterIn.C1.a,Puit_condenseur2.C.a,WaterHeating.volumeD1.Cs3.b,WaterHeating.volumeD1.Cs2.b,WaterHeating.volumeD1.Cs1.b,WaterHeating.volumeD1.Ce.a,WaterHeating.volumeD.Cs3.b,WaterHeating.volumeD.Cs2.b,WaterHeating.volumeD.Cs1.b,WaterHeating.volumeD.Ce.a,WaterHeating.volumeC.Ce3.a,WaterHeating.volumeC.Cs.b,WaterHeating.volumeC.Ce2.a,WaterHeating.volumeC.Ce1.a,WaterHeating.pipe_2.C2.b,WaterHeating.pipe_2.C1.a,WaterHeating.pipe_1.C2.b,WaterHeating.pipe_1.C1.a,WaterHeating.pipe_3.C2.b,WaterHeating.pipe_3.C1.a,WaterHeating.WaterHeating.Ce.a,WaterHeating.WaterHeating.Cl.b,WaterHeating.WaterHeating.Cv.a,ControlValve_eau.C2.b,ControlValve_eau.C1.a,Puit_condenseur1.C.a,sourceP.C.b,WaterHeating.C1.b,WaterHeating.volumeD1.Cs2.a,WaterHeating.volumeD1.Cs1.a,WaterHeating.volumeD.Cs3.a,WaterHeating.volumeC.Ce2.b,WaterHeating.WaterHeating.NbTubT) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 54 * 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), (178,843)} Notification: Performance of prepare postOptimizeDAE: time 0.01286/6.507, allocations: 3.492 MB / 2.236 GB, free: 240.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004383/6.511, allocations: 0.9168 MB / 2.237 GB, free: 240.5 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1676/6.679, allocations: 58.23 MB / 2.294 GB, free: 193.6 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1595/6.838, allocations: 51.95 MB / 2.344 GB, free: 142.7 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002127/6.838, allocations: 20 kB / 2.344 GB, free: 142.6 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005445/6.839, allocations: 105.2 kB / 2.344 GB, free: 142.5 MB / 0.8263 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.4589/7.298, allocations: 86.75 MB / 2.429 GB, free: 374.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003944/7.298, allocations: 43.09 kB / 2.429 GB, free: 374.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0437/7.342, allocations: 7.914 MB / 2.437 GB, free: 373 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1059/7.448, allocations: 22.5 MB / 2.459 GB, free: 352.5 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00555/7.454, allocations: 0.6869 MB / 2.46 GB, free: 351.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.223/7.677, allocations: 155.2 MB / 2.611 GB, free: 187.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/7.677, allocations: 5.938 kB / 2.611 GB, free: 187.4 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1972/7.874, allocations: 70.48 MB / 2.68 GB, free: 116.5 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01134/7.885, allocations: 3.825 MB / 2.684 GB, free: 112.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005475/7.891, allocations: 0.5138 MB / 2.684 GB, free: 112.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01551/7.906, allocations: 0.7961 MB / 2.685 GB, free: 111.5 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00803/7.914, allocations: 1.512 MB / 2.686 GB, free: 110 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005285/7.92, allocations: 0.6441 MB / 2.687 GB, free: 109.3 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.002069/7.922, allocations: 1.504 MB / 2.688 GB, free: 107.8 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.202e-06/7.922, allocations: 0 / 2.688 GB, free: 107.8 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0245/7.946, allocations: 6.21 MB / 2.695 GB, free: 101.8 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 173 (WaterHeating.WaterHeating.P,WaterHeating.WaterHeating.hl,WaterHeating.WaterHeating.hv,WaterHeating.WaterHeating.Vv,WaterHeating.WaterHeating.Tp,WaterHeating.pipe_3.P[2],WaterHeating.pipe_3.P[3],WaterHeating.pipe_3.P[4],WaterHeating.pipe_3.P[5],WaterHeating.pipe_3.P[6],WaterHeating.pipe_3.P[7],WaterHeating.pipe_3.P[8],WaterHeating.pipe_3.P[9],WaterHeating.pipe_3.P[10],WaterHeating.pipe_3.P[11],WaterHeating.pipe_3.P[12],WaterHeating.pipe_3.P[13],WaterHeating.pipe_3.P[14],WaterHeating.pipe_3.P[15],WaterHeating.pipe_3.P[16],WaterHeating.pipe_3.P[17],WaterHeating.pipe_3.P[18],WaterHeating.pipe_3.P[19],WaterHeating.pipe_3.P[20],WaterHeating.pipe_3.P[21],WaterHeating.pipe_3.Q[1],WaterHeating.pipe_3.Q[2],WaterHeating.pipe_3.Q[3],WaterHeating.pipe_3.Q[4],WaterHeating.pipe_3.Q[5],WaterHeating.pipe_3.Q[6],WaterHeating.pipe_3.Q[7],WaterHeating.pipe_3.Q[8],WaterHeating.pipe_3.Q[9],WaterHeating.pipe_3.Q[10],WaterHeating.pipe_3.Q[11],WaterHeating.pipe_3.Q[12],WaterHeating.pipe_3.Q[13],WaterHeating.pipe_3.Q[14],WaterHeating.pipe_3.Q[15],WaterHeating.pipe_3.Q[16],WaterHeating.pipe_3.Q[17],WaterHeating.pipe_3.Q[18],WaterHeating.pipe_3.Q[19],WaterHeating.pipe_3.Q[20],WaterHeating.pipe_3.Q[21],WaterHeating.pipe_3.h[2],WaterHeating.pipe_3.h[3],WaterHeating.pipe_3.h[4],WaterHeating.pipe_3.h[5],WaterHeating.pipe_3.h[6],WaterHeating.pipe_3.h[7],WaterHeating.pipe_3.h[8],WaterHeating.pipe_3.h[9],WaterHeating.pipe_3.h[10],WaterHeating.pipe_3.h[11],WaterHeating.pipe_3.h[12],WaterHeating.pipe_3.h[13],WaterHeating.pipe_3.h[14],WaterHeating.pipe_3.h[15],WaterHeating.pipe_3.h[16],WaterHeating.pipe_3.h[17],WaterHeating.pipe_3.h[18],WaterHeating.pipe_3.h[19],WaterHeating.pipe_3.h[20],WaterHeating.pipe_3.h[21],WaterHeating.Wall_3.Tp[1],WaterHeating.Wall_3.Tp[2],WaterHeating.Wall_3.Tp[3],WaterHeating.Wall_3.Tp[4],WaterHeating.Wall_3.Tp[5],WaterHeating.Wall_3.Tp[6],WaterHeating.Wall_3.Tp[7],WaterHeating.Wall_3.Tp[8],WaterHeating.Wall_3.Tp[9],WaterHeating.Wall_3.Tp[10],WaterHeating.Wall_3.Tp[11],WaterHeating.Wall_3.Tp[12],WaterHeating.Wall_3.Tp[13],WaterHeating.Wall_3.Tp[14],WaterHeating.Wall_3.Tp[15],WaterHeating.Wall_3.Tp[16],WaterHeating.Wall_3.Tp[17],WaterHeating.Wall_3.Tp[18],WaterHeating.Wall_3.Tp[19],WaterHeating.Wall_3.Tp[20],WaterHeating.pipe_1.P[2],WaterHeating.pipe_1.P[3],WaterHeating.pipe_1.P[4],WaterHeating.pipe_1.P[5],WaterHeating.pipe_1.P[6],WaterHeating.pipe_1.P[7],WaterHeating.pipe_1.P[8],WaterHeating.pipe_1.P[9],WaterHeating.pipe_1.P[10],WaterHeating.pipe_1.P[11],WaterHeating.pipe_1.Q[1],WaterHeating.pipe_1.Q[2],WaterHeating.pipe_1.Q[3],WaterHeating.pipe_1.Q[4],WaterHeating.pipe_1.Q[5],WaterHeating.pipe_1.Q[6],WaterHeating.pipe_1.Q[7],WaterHeating.pipe_1.Q[8],WaterHeating.pipe_1.Q[9],WaterHeating.pipe_1.Q[10],WaterHeating.pipe_1.Q[11],WaterHeating.pipe_1.h[2],WaterHeating.pipe_1.h[3],WaterHeating.pipe_1.h[4],WaterHeating.pipe_1.h[5],WaterHeating.pipe_1.h[6],WaterHeating.pipe_1.h[7],WaterHeating.pipe_1.h[8],WaterHeating.pipe_1.h[9],WaterHeating.pipe_1.h[10],WaterHeating.pipe_1.h[11],WaterHeating.Wall_1.Tp[1],WaterHeating.Wall_1.Tp[2],WaterHeating.Wall_1.Tp[3],WaterHeating.Wall_1.Tp[4],WaterHeating.Wall_1.Tp[5],WaterHeating.Wall_1.Tp[6],WaterHeating.Wall_1.Tp[7],WaterHeating.Wall_1.Tp[8],WaterHeating.Wall_1.Tp[9],WaterHeating.Wall_1.Tp[10],WaterHeating.pipe_2.P[2],WaterHeating.pipe_2.P[3],WaterHeating.pipe_2.P[4],WaterHeating.pipe_2.P[5],WaterHeating.pipe_2.P[6],WaterHeating.pipe_2.P[7],WaterHeating.pipe_2.P[8],WaterHeating.pipe_2.P[9],WaterHeating.pipe_2.P[10],WaterHeating.pipe_2.P[11],WaterHeating.pipe_2.Q[1],WaterHeating.pipe_2.Q[2],WaterHeating.pipe_2.Q[3],WaterHeating.pipe_2.Q[4],WaterHeating.pipe_2.Q[5],WaterHeating.pipe_2.Q[6],WaterHeating.pipe_2.Q[7],WaterHeating.pipe_2.Q[8],WaterHeating.pipe_2.Q[9],WaterHeating.pipe_2.Q[10],WaterHeating.pipe_2.Q[11],WaterHeating.pipe_2.h[2],WaterHeating.pipe_2.h[3],WaterHeating.pipe_2.h[4],WaterHeating.pipe_2.h[5],WaterHeating.pipe_2.h[6],WaterHeating.pipe_2.h[7],WaterHeating.pipe_2.h[8],WaterHeating.pipe_2.h[9],WaterHeating.pipe_2.h[10],WaterHeating.pipe_2.h[11],WaterHeating.Wall_2.Tp[1],WaterHeating.Wall_2.Tp[2],WaterHeating.Wall_2.Tp[3],WaterHeating.Wall_2.Tp[4],WaterHeating.Wall_2.Tp[5],WaterHeating.Wall_2.Tp[6],WaterHeating.Wall_2.Tp[7],WaterHeating.Wall_2.Tp[8],WaterHeating.Wall_2.Tp[9],WaterHeating.Wall_2.Tp[10],WaterHeating.volumeC.P,WaterHeating.volumeC.h,WaterHeating.volumeD.h,WaterHeating.volumeD1.P,WaterHeating.volumeD1.h) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,checkValve.ouvert,checkValve.touvert,checkValve.tferme) * Number of discrete states: 2 (checkValve.touvert,checkValve.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1925): * Single equations (assignments): 1656 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 140 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 42 * Torn equation systems: 86 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 42 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 42 systems {(4,1,62.5%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 44 systems {(1,3), (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), (3,7), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (2,6), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (4,10), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.4229/8.369, allocations: 74.15 MB / 2.767 GB, free: 360.2 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.1012/8.47, allocations: 53.75 MB / 2.819 GB, free: 337.7 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/8.471, allocations: 3.688 kB / 2.819 GB, free: 337.7 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.05263/8.523, allocations: 33.1 MB / 2.852 GB, free: 316.5 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03725/8.56, allocations: 6.474 MB / 2.858 GB, free: 315.4 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.394/8.955, allocations: 177.9 MB / 3.032 GB, free: 153.4 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/8.968, allocations: 9.521 MB / 3.041 GB, free: 143.8 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.01337/8.981, allocations: 3.218 MB / 3.044 GB, free: 140.6 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01189/8.993, allocations: 7.107 MB / 3.051 GB, free: 133.5 MB / 0.8263 GB Notification: Performance of SimCode: time 9.02e-07/8.993, allocations: 3.938 kB / 3.051 GB, free: 133.5 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.587/10.58, allocations: 0.6933 GB / 3.745 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 223.9/234.4, allocations: 10.34 kB / 3.745 GB, free: 342.4 MB / 0.8263 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating_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_Examples_SimpleExamples_TestDynamicWaterHeating.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe 2>&1)