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.7741/0.7741, allocations: 150.9 MB / 166.4 MB, free: 14.2 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 15.97 kB / 204.6 MB, free: 9.516 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 31.33 MB / 236 MB, free: 5.422 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.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.597/1.732, allocations: 306.1 MB / 0.5293 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5015/2.234, allocations: 192.4 MB / 0.7172 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/2.236, allocations: 31.03 kB / 0.7173 GB, free: 0.5977 MB / 0.5762 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.001677/2.237, allocations: 0.8237 MB / 0.7181 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003388/2.241, allocations: 1.819 MB / 0.7198 GB, free: 0.5742 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. Notification: Performance of NFTyping.typeClassSections: time 0.02684/2.268, allocations: 13.31 MB / 0.7328 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01692/2.285, allocations: 25.81 MB / 0.758 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/2.295, allocations: 8.621 MB / 0.7665 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/2.307, allocations: 8.011 MB / 0.7743 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/2.32, allocations: 8.371 MB / 0.7825 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005199/2.326, allocations: 1.764 MB / 0.7842 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04167/2.367, allocations: 22.58 MB / 0.8062 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.007478/2.375, allocations: 5.78 MB / 0.8119 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01379/2.389, allocations: 8.372 MB / 0.8201 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.03942/2.428, allocations: 31.73 MB / 0.851 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/2.428, allocations: 0 / 0.851 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/2.428, allocations: 0 / 0.851 GB, free: 14.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004644/2.429, allocations: 7.938 kB / 0.8511 GB, free: 14.19 MB / 0.67 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.05985/2.488, allocations: 16.87 MB / 0.8675 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/2.488, allocations: 12.03 kB / 0.8675 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005821/2.494, allocations: 1.72 MB / 0.8692 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005254/2.5, allocations: 1.246 MB / 0.8704 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/2.51, allocations: 5.05 MB / 0.8754 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003216/2.514, allocations: 3.028 MB / 0.8783 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004219/2.518, allocations: 0.9642 MB / 0.8793 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04384/2.562, allocations: 20.26 MB / 0.8991 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/2.562, allocations: 7.938 kB / 0.8991 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003726/2.566, allocations: 352 kB / 0.8994 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005204/2.566, allocations: 0.527 MB / 0.8999 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04364/2.61, allocations: 19.88 MB / 0.9193 GB, free: 7.348 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.4129/3.023, allocations: 70.86 MB / 0.9885 GB, free: 398.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0654/3.088, allocations: 22.78 MB / 1.011 GB, free: 397.3 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02341/3.112, allocations: 13.75 MB / 1.024 GB, free: 392.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3993/3.511, allocations: 225.4 MB / 1.244 GB, free: 164.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02907/3.54, allocations: 14.23 MB / 1.258 GB, free: 150.4 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2594): time 3.186e-05/3.54, allocations: 0 / 1.258 GB, free: 150.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=2595): time 0.505/4.045, allocations: 134.5 MB / 1.39 GB, free: 13.71 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/4.046, allocations: 267 kB / 1.39 GB, free: 13.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/4.048, allocations: 2.319 MB / 1.392 GB, free: 11.07 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.00328/4.052, allocations: 225.7 kB / 1.392 GB, free: 10.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/4.053, allocations: 2.229 MB / 1.394 GB, free: 8.605 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.177/4.23, allocations: 8.693 MB / 1.403 GB, free: 396.6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01234/4.242, allocations: 2.96 MB / 1.406 GB, free: 396.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.029e-05/4.242, allocations: 309.8 kB / 1.406 GB, free: 396.2 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0221/4.265, allocations: 11.76 MB / 1.418 GB, free: 396.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02615/4.291, allocations: 13.74 MB / 1.431 GB, free: 392.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05056/4.341, allocations: 28.07 MB / 1.458 GB, free: 379.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-05/4.341, allocations: 9.438 kB / 1.458 GB, free: 379.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1017/4.443, allocations: 42.43 MB / 1.5 GB, free: 351.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/4.443, allocations: 16.56 kB / 1.5 GB, free: 351.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/4.443, allocations: 62.94 kB / 1.5 GB, free: 351.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362/5.806, allocations: 0.6463 GB / 2.146 GB, free: 263.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/5.808, allocations: 0.5401 MB / 2.147 GB, free: 263.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1042/5.912, allocations: 50.62 MB / 2.196 GB, free: 228.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01376/5.926, allocations: 0.7652 MB / 2.197 GB, free: 228.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003851/5.929, allocations: 0.5476 MB / 2.198 GB, free: 227.8 MB / 0.795 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.01086/5.94, allocations: 3.493 MB / 2.201 GB, free: 224.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004294/5.945, allocations: 0.8612 MB / 2.202 GB, free: 224.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1668/6.112, allocations: 58.32 MB / 2.259 GB, free: 177.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3202/6.432, allocations: 51.93 MB / 2.309 GB, free: 371.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001411/6.432, allocations: 22.06 kB / 2.31 GB, free: 371.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000398/6.432, allocations: 103.2 kB / 2.31 GB, free: 371.3 MB / 0.795 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.2271/6.659, allocations: 99.98 MB / 2.407 GB, free: 337.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003519/6.66, allocations: 42.53 kB / 2.407 GB, free: 337.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04302/6.703, allocations: 7.914 MB / 2.415 GB, free: 335.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1049/6.808, allocations: 22.51 MB / 2.437 GB, free: 315.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004497/6.812, allocations: 0.6869 MB / 2.438 GB, free: 314.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2138/7.026, allocations: 155.1 MB / 2.589 GB, free: 149.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/7.026, allocations: 0 / 2.589 GB, free: 149.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1819/7.208, allocations: 70.42 MB / 2.658 GB, free: 78.75 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009895/7.218, allocations: 3.754 MB / 2.662 GB, free: 74.95 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004834/7.223, allocations: 0.5192 MB / 2.662 GB, free: 74.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01401/7.237, allocations: 0.7923 MB / 2.663 GB, free: 73.64 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005686/7.243, allocations: 1.51 MB / 2.664 GB, free: 72.14 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0036/7.246, allocations: 0.6558 MB / 2.665 GB, free: 71.49 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002002/7.248, allocations: 1.5 MB / 2.666 GB, free: 69.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.31e-07/7.248, allocations: 0 / 2.666 GB, free: 69.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01942/7.268, allocations: 6.187 MB / 2.673 GB, free: 63.96 MB / 0.795 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.3944/7.662, allocations: 74.05 MB / 2.745 GB, free: 344.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.9632/8.625, allocations: 331.1 MB / 3.068 GB, free: 352.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/8.626, allocations: 0 / 3.068 GB, free: 352.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.05141/8.677, allocations: 33.08 MB / 3.1 GB, free: 331.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03456/8.712, allocations: 6.525 MB / 3.107 GB, free: 329.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3702/9.082, allocations: 190.9 MB / 3.293 GB, free: 142.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01269/9.095, allocations: 9.519 MB / 3.303 GB, free: 133 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.01207/9.107, allocations: 3.218 MB / 3.306 GB, free: 129.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009471/9.116, allocations: 7.107 MB / 3.313 GB, free: 122.6 MB / 0.795 GB Notification: Performance of SimCode: time 8.42e-07/9.116, allocations: 0 / 3.313 GB, free: 122.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.298/10.41, allocations: 0.6842 GB / 3.997 GB, free: 341.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.65/46.06, allocations: 5.703 kB / 3.997 GB, free: 341.8 MB / 0.795 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)