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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5824/0.5824, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 216.7 MB, free: 8.566 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.44e-05, allocations: 3.594 kB / 216.7 MB, free: 8.562 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.022/1.022, allocations: 263.9 MB / 480.7 MB, free: 15.9 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.433/1.455, allocations: 169.7 MB / 0.6351 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/1.458, allocations: 40.47 kB / 0.6351 GB, free: 14.55 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.00171/1.459, allocations: 0.8261 MB / 0.6359 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003685/1.463, allocations: 2.043 MB / 0.6379 GB, free: 11.75 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02834/1.491, allocations: 13.62 MB / 0.6512 GB, free: 14.18 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01864/1.51, allocations: 26.39 MB / 0.677 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01049/1.52, allocations: 7.095 MB / 0.6839 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02314/1.544, allocations: 11.73 MB / 0.6954 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/1.557, allocations: 7.599 MB / 0.7028 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.005002/1.562, allocations: 1.762 MB / 0.7045 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03425/1.596, allocations: 21.53 MB / 0.7255 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.008053/1.604, allocations: 5.955 MB / 0.7314 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.01322/1.617, allocations: 6.18 MB / 0.7374 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.04861/1.666, allocations: 35.98 MB / 0.7725 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.666, allocations: 8 kB / 0.7725 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.507e-06/1.666, allocations: 0 / 0.7725 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007144/1.666, allocations: 0 / 0.7725 GB, free: 1.613 MB / 0.6823 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.3978/2.064, allocations: 16.96 MB / 0.7891 GB, free: 297 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/2.064, allocations: 8.031 kB / 0.7891 GB, free: 297 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00481/2.069, allocations: 1.725 MB / 0.7908 GB, free: 295.2 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/2.079, allocations: 2.746 MB / 0.7935 GB, free: 292.5 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/2.09, allocations: 5.024 MB / 0.7984 GB, free: 287.5 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002177/2.092, allocations: 5.077 MB / 0.8033 GB, free: 281.5 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004548/2.097, allocations: 0.9566 MB / 0.8043 GB, free: 280.5 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03588/2.133, allocations: 20.39 MB / 0.8242 GB, free: 259.9 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/2.133, allocations: 7.938 kB / 0.8242 GB, free: 259.8 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002772/2.136, allocations: 356.9 kB / 0.8245 GB, free: 259.5 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/2.136, allocations: 0.5308 MB / 0.825 GB, free: 259 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/2.167, allocations: 19.88 MB / 0.8445 GB, free: 239.1 MB / 0.6824 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.07606/2.243, allocations: 48.09 MB / 0.8914 GB, free: 191.3 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03969/2.282, allocations: 21.37 MB / 0.9123 GB, free: 169.9 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01933/2.302, allocations: 12.7 MB / 0.9247 GB, free: 157.2 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2033/2.505, allocations: 136.6 MB / 1.058 GB, free: 20.61 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02645/2.532, allocations: 14.24 MB / 1.072 GB, free: 6.301 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2594): time 1.681e-05/2.532, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2595): time 0.4992/3.031, allocations: 124.8 MB / 1.194 GB, free: 187.3 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/3.031, allocations: 267.8 kB / 1.194 GB, free: 187 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/3.034, allocations: 2.36 MB / 1.196 GB, free: 184.7 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.004804/3.038, allocations: 233.7 kB / 1.197 GB, free: 184.4 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/3.04, allocations: 2.29 MB / 1.199 GB, free: 182.5 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.009495/3.049, allocations: 9.029 MB / 1.208 GB, free: 173.9 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01278/3.062, allocations: 2.957 MB / 1.211 GB, free: 170.9 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 3.601e-05/3.062, allocations: 305.1 kB / 1.211 GB, free: 170.6 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0198/3.082, allocations: 11.77 MB / 1.222 GB, free: 158.9 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02205/3.104, allocations: 13.85 MB / 1.236 GB, free: 144.6 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04701/3.151, allocations: 28.09 MB / 1.263 GB, free: 116.1 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.671e-05/3.151, allocations: 8 kB / 1.263 GB, free: 116.1 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.09452/3.245, allocations: 41.13 MB / 1.304 GB, free: 74.89 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/3.246, allocations: 16.19 kB / 1.304 GB, free: 74.88 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/3.246, allocations: 53.03 kB / 1.304 GB, free: 74.83 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332/4.578, allocations: 0.6461 GB / 1.95 GB, free: 242 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/4.58, allocations: 0.5399 MB / 1.95 GB, free: 241.6 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.126/4.706, allocations: 50.66 MB / 2 GB, free: 201.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/4.718, allocations: 0.7725 MB / 2 GB, free: 200.6 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005622/4.724, allocations: 0.5465 MB / 2.001 GB, free: 200.1 MB / 0.6824 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.01502/4.739, allocations: 3.488 MB / 2.004 GB, free: 197.2 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006394/4.745, allocations: 0.9164 MB / 2.005 GB, free: 196.8 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1254/4.871, allocations: 58.47 MB / 2.062 GB, free: 144.1 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1111/4.982, allocations: 51.98 MB / 2.113 GB, free: 91.63 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001766/4.982, allocations: 20 kB / 2.113 GB, free: 91.61 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005274/4.983, allocations: 103.6 kB / 2.113 GB, free: 91.51 MB / 0.6824 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.1769/5.159, allocations: 82.78 MB / 2.194 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003583/5.16, allocations: 23.92 kB / 2.194 GB, free: 9.109 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2715/5.431, allocations: 8.037 MB / 2.202 GB, free: 256.2 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05219/5.483, allocations: 22.48 MB / 2.224 GB, free: 255.1 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007052/5.491, allocations: 0.6914 MB / 2.225 GB, free: 255.1 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.119/5.61, allocations: 146.6 MB / 2.368 GB, free: 117.2 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/5.61, allocations: 4 kB / 2.368 GB, free: 117.1 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1454/5.755, allocations: 70.69 MB / 2.437 GB, free: 46.68 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01257/5.768, allocations: 3.764 MB / 2.44 GB, free: 43.11 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006741/5.774, allocations: 0.5135 MB / 2.441 GB, free: 42.59 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01339/5.788, allocations: 0.8027 MB / 2.442 GB, free: 41.79 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008597/5.796, allocations: 1.591 MB / 2.443 GB, free: 40.2 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00588/5.802, allocations: 0.648 MB / 2.444 GB, free: 39.55 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.002161/5.804, allocations: 1.507 MB / 2.445 GB, free: 38.03 MB / 0.6824 GB Notification: Performance of sort global known variables: time 2.51e-07/5.804, allocations: 0 / 2.445 GB, free: 38.03 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.02747/5.832, allocations: 6.218 MB / 2.451 GB, free: 31.95 MB / 0.6824 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.4113/6.243, allocations: 74.54 MB / 2.524 GB, free: 231.3 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.08199/6.325, allocations: 51.68 MB / 2.575 GB, free: 187.2 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/6.325, allocations: 3.984 kB / 2.575 GB, free: 187.1 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.04259/6.368, allocations: 28.76 MB / 2.603 GB, free: 157.3 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03186/6.4, allocations: 6.471 MB / 2.609 GB, free: 151.1 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6478/7.047, allocations: 172.9 MB / 2.778 GB, free: 197.7 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01934/7.067, allocations: 9.186 MB / 2.787 GB, free: 195.9 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.01449/7.081, allocations: 3.219 MB / 2.79 GB, free: 195.9 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01411/7.095, allocations: 7.107 MB / 2.797 GB, free: 190 MB / 0.6824 GB Notification: Performance of SimCode: time 3.186e-06/7.095, allocations: 0 / 2.797 GB, free: 190 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.425/8.52, allocations: 0.6612 GB / 3.458 GB, free: 10.91 MB / 0.6825 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.25/58.77, allocations: 6.984 kB / 3.458 GB, free: 10.91 MB / 0.6825 GB " [Timeout remaining time 600] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 66.34486390277743] Failed to read output from testmodel.py, exit status != 0: 59.57039027940482 59.46280165 57.795363212 Calling exit ...