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.8153/0.8153, allocations: 153.8 MB / 172.7 MB, free: 4.883 MB / 142.1 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 0.0004894/0.0004894, allocations: 11.97 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 33.35 MB / 283.2 MB, free: 1.738 MB / 222.1 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.796/1.948, allocations: 317.2 MB / 0.5863 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2048/2.153, allocations: 169.6 MB / 0.7519 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/2.156, allocations: 39.75 kB / 0.7519 GB, free: 1.844 MB / 0.6075 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.002776/2.159, allocations: 0.8288 MB / 0.7528 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/2.164, allocations: 1.982 MB / 0.7547 GB, free: 15.02 MB / 0.6231 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.03741/2.201, allocations: 13.47 MB / 0.7678 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02466/2.226, allocations: 25.93 MB / 0.7932 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/2.236, allocations: 7.052 MB / 0.8 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01314/2.249, allocations: 8.24 MB / 0.8081 GB, free: 8.176 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/2.264, allocations: 8.14 MB / 0.816 GB, free: 12 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005811/2.27, allocations: 1.762 MB / 0.8178 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3361/2.606, allocations: 21.48 MB / 0.8387 GB, free: 41.31 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.007686/2.614, allocations: 5.799 MB / 0.8444 GB, free: 41.31 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.02/2.634, allocations: 7.048 MB / 0.8513 GB, free: 41.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.04804/2.682, allocations: 32.07 MB / 0.8826 GB, free: 38.37 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/2.682, allocations: 1.344 kB / 0.8826 GB, free: 38.37 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.763e-06/2.682, allocations: 0 / 0.8826 GB, free: 38.37 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000707/2.683, allocations: 0 / 0.8826 GB, free: 38.37 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.06602/2.749, allocations: 17.09 MB / 0.8993 GB, free: 33.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/2.749, allocations: 9.125 kB / 0.8993 GB, free: 33.41 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008042/2.757, allocations: 1.721 MB / 0.901 GB, free: 33.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/2.776, allocations: 2.745 MB / 0.9037 GB, free: 32.56 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/2.79, allocations: 5.032 MB / 0.9086 GB, free: 31.64 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003581/2.793, allocations: 5.07 MB / 0.9135 GB, free: 26.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006871/2.8, allocations: 0.9653 MB / 0.9145 GB, free: 26.56 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05086/2.851, allocations: 20.38 MB / 0.9344 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003316/2.851, allocations: 10.47 kB / 0.9344 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005077/2.857, allocations: 353.1 kB / 0.9347 GB, free: 19.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003763/2.857, allocations: 0.5329 MB / 0.9352 GB, free: 18.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0405/2.897, allocations: 19.88 MB / 0.9547 GB, free: 4.074 MB / 0.6856 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.1139/3.011, allocations: 48.11 MB / 1.002 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07447/3.086, allocations: 21.38 MB / 1.023 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02989/3.116, allocations: 12.7 MB / 1.035 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6615/3.777, allocations: 136.6 MB / 1.168 GB, free: 443 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03535/3.813, allocations: 14.24 MB / 1.182 GB, free: 442.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2594): time 2.601e-05/3.813, allocations: 0 / 1.182 GB, free: 442.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2595): time 0.5141/4.327, allocations: 124.8 MB / 1.304 GB, free: 337.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/4.327, allocations: 271.7 kB / 1.304 GB, free: 337.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/4.331, allocations: 2.366 MB / 1.307 GB, free: 334.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.006326/4.337, allocations: 233.7 kB / 1.307 GB, free: 334.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001976/4.339, allocations: 2.288 MB / 1.309 GB, free: 332.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.01243/4.351, allocations: 9.143 MB / 1.318 GB, free: 323.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01944/4.371, allocations: 2.965 MB / 1.321 GB, free: 320.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/4.371, allocations: 301.1 kB / 1.321 GB, free: 320.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02515/4.396, allocations: 11.77 MB / 1.333 GB, free: 308.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02779/4.424, allocations: 13.85 MB / 1.346 GB, free: 294.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05802/4.482, allocations: 28.09 MB / 1.374 GB, free: 265.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.256e-05/4.482, allocations: 11.38 kB / 1.374 GB, free: 265.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.12/4.602, allocations: 41.13 MB / 1.414 GB, free: 224.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/4.602, allocations: 16.77 kB / 1.414 GB, free: 224.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/4.602, allocations: 39.98 kB / 1.414 GB, free: 224.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247/5.849, allocations: 0.6457 GB / 2.06 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/5.851, allocations: 0.536 MB / 2.06 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3491/6.2, allocations: 50.87 MB / 2.11 GB, free: 414.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01583/6.216, allocations: 0.7738 MB / 2.111 GB, free: 414 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005958/6.222, allocations: 0.5477 MB / 2.111 GB, free: 413.9 MB / 0.8731 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.01469/6.237, allocations: 3.487 MB / 2.115 GB, free: 412.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005175/6.242, allocations: 0.9151 MB / 2.115 GB, free: 412.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1681/6.41, allocations: 58.49 MB / 2.173 GB, free: 383.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1541/6.564, allocations: 52.02 MB / 2.223 GB, free: 334.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001736/6.564, allocations: 23.98 kB / 2.223 GB, free: 334.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005121/6.565, allocations: 104.3 kB / 2.223 GB, free: 334.1 MB / 0.8731 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.2322/6.797, allocations: 82.81 MB / 2.304 GB, free: 251.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003673/6.797, allocations: 27.97 kB / 2.304 GB, free: 251.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04354/6.841, allocations: 8.04 MB / 2.312 GB, free: 243.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1005/6.941, allocations: 22.49 MB / 2.334 GB, free: 220.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006945/6.948, allocations: 0.6869 MB / 2.335 GB, free: 219.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.209/7.157, allocations: 146.7 MB / 2.478 GB, free: 64.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/7.157, allocations: 4 kB / 2.478 GB, free: 64.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4392/7.597, allocations: 70.72 MB / 2.547 GB, free: 379.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01374/7.61, allocations: 3.761 MB / 2.551 GB, free: 379.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006704/7.617, allocations: 0.5196 MB / 2.551 GB, free: 379.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01696/7.634, allocations: 0.8099 MB / 2.552 GB, free: 379.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008386/7.642, allocations: 1.586 MB / 2.554 GB, free: 379.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005926/7.648, allocations: 0.6524 MB / 2.554 GB, free: 379.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002437/7.651, allocations: 1.503 MB / 2.556 GB, free: 379.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/7.651, allocations: 0 / 2.556 GB, free: 379.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.03047/7.681, allocations: 6.216 MB / 2.562 GB, free: 379 MB / 0.8731 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.2142/7.895, allocations: 74.38 MB / 2.634 GB, free: 359.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.09961/7.995, allocations: 51.68 MB / 2.685 GB, free: 314.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/7.995, allocations: 0 / 2.685 GB, free: 314.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.05372/8.049, allocations: 28.78 MB / 2.713 GB, free: 287.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.039/8.088, allocations: 6.47 MB / 2.719 GB, free: 283.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4069/8.495, allocations: 175.3 MB / 2.891 GB, free: 114.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/8.508, allocations: 9.181 MB / 2.9 GB, free: 105.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.01421/8.522, allocations: 3.222 MB / 2.903 GB, free: 102 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0129/8.535, allocations: 7.107 MB / 2.91 GB, free: 94.88 MB / 0.8731 GB Notification: Performance of SimCode: time 1.423e-06/8.535, allocations: 0 / 2.91 GB, free: 94.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.584/10.12, allocations: 0.6648 GB / 3.574 GB, free: 237.1 MB / 0.8732 GB Notification: Performance of buildModelFMU: Generate platform static: time 211.6/221.8, allocations: 11.28 kB / 3.574 GB, free: 237.1 MB / 0.8732 GB " [Timeout remaining time 438] (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 os._exit(0), Time elapsed: 256.6210815827362] Failed to read output from testmodel.py, exit status != 0: 222.39901788998395 222.407612495 219.722964198 Calling exit ...