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.8276/0.8276, allocations: 111.6 MB / 131 MB, free: 5.086 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.748e-05, allocations: 2.312 kB / 175.7 MB, free: 9.445 MB / 170.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.741/1.741, allocations: 265.6 MB / 441.4 MB, free: 5.496 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4372/2.178, allocations: 186.1 MB / 0.6128 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/2.18, allocations: 35.81 kB / 0.6128 GB, free: 9.527 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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:19:3-20:80: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:24:3-25:81: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:26:3-27:79: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:122:3-123:78: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:124:3-125:82: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:132:3-133:80: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:58:3-59:80: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:60:3-61:78: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:36:3-37:78: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:38:3-39:80: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:40:3-41:81: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:42:3-43:79: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:46:3-47:79: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:58:3-59:80: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:60:3-61:78: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:58:3-59:80: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:60:3-61:78: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:20:3-21:80: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:22:3-23:78: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:24:3-25:78: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:26:3-27:80: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:20:3-21:80: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:22:3-23:78: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:24:3-25:80: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:26:3-27:78: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:20:3-21:80: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:22:3-23:78: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:24:3-25:80: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:26:3-27:78: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:10:3-11:80: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:15:3-16:80: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:17:3-18:78: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:15:3-16:80: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:17:3-18:78: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:19:3-20:78: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:7:3-8:80: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:9:3-10:78: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:12:3-13:78: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:14:3-15:80: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:15:3-16:80: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:17:3-18:78: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:29:3-30:80: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:31:3-32:78: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.002337/2.183, allocations: 0.8217 MB / 0.6136 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004735/2.188, allocations: 2.054 MB / 0.6156 GB, free: 6.715 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.03627/2.224, allocations: 13.6 MB / 0.6289 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.03064/2.254, allocations: 26.41 MB / 0.6547 GB, free: 14.66 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/2.267, allocations: 7.563 MB / 0.6621 GB, free: 7.012 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02243/2.29, allocations: 11.75 MB / 0.6736 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01651/2.306, allocations: 7.606 MB / 0.681 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.005263/2.312, allocations: 1.762 MB / 0.6827 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04729/2.359, allocations: 21.51 MB / 0.7037 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.009622/2.368, allocations: 5.979 MB / 0.7096 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01652/2.385, allocations: 6.188 MB / 0.7156 GB, free: 132 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.2915/2.676, allocations: 36.04 MB / 0.7508 GB, free: 53.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/2.676, allocations: 0 / 0.7508 GB, free: 53.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/2.676, allocations: 0 / 0.7508 GB, free: 53.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0006455/2.677, allocations: 0 / 0.7508 GB, free: 53.18 MB / 0.6198 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.07012/2.747, allocations: 18.08 MB / 0.7684 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/2.747, allocations: 13.52 kB / 0.7685 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02357/2.771, allocations: 3.337 MB / 0.7717 GB, free: 47.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/2.786, allocations: 4.745 MB / 0.7764 GB, free: 46.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003054/2.789, allocations: 5.005 MB / 0.7812 GB, free: 41.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006329/2.796, allocations: 0.9472 MB / 0.7822 GB, free: 41.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0446/2.84, allocations: 14.67 MB / 0.7965 GB, free: 37.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/2.841, allocations: 9.281 kB / 0.7965 GB, free: 37.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00383/2.844, allocations: 359.6 kB / 0.7968 GB, free: 37.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003476/2.845, allocations: 0.5279 MB / 0.7974 GB, free: 37.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0323/2.877, allocations: 10.98 MB / 0.8081 GB, free: 33.47 MB / 0.6198 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.1887/3.066, allocations: 142.2 MB / 0.9469 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06788/3.134, allocations: 14 MB / 0.9606 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02286/3.157, allocations: 6.654 MB / 0.9671 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7133/3.87, allocations: 137.2 MB / 1.101 GB, free: 141.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02819/3.898, allocations: 9.875 MB / 1.111 GB, free: 133.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=2594): time 2.062e-05/3.898, allocations: 0 / 1.111 GB, free: 133.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2595): time 0.3806/4.279, allocations: 79.2 MB / 1.188 GB, free: 59.07 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/4.279, allocations: 267 kB / 1.188 GB, free: 58.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/4.282, allocations: 2.667 MB / 1.191 GB, free: 56.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.004576/4.287, allocations: 229.7 kB / 1.191 GB, free: 55.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/4.288, allocations: 2.459 MB / 1.194 GB, free: 53.38 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0111/4.3, allocations: 10.05 MB / 1.203 GB, free: 43.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01811/4.318, allocations: 4.053 MB / 1.207 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/4.318, allocations: 476.8 kB / 1.208 GB, free: 38.92 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01917/4.337, allocations: 6.092 MB / 1.214 GB, free: 32.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02332/4.36, allocations: 9.647 MB / 1.223 GB, free: 22.69 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04592/4.406, allocations: 20.51 MB / 1.243 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-05/4.406, allocations: 4 kB / 1.243 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2894) (initialization): time 0.283/4.689, allocations: 25.9 MB / 1.268 GB, free: 371.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.974e-05/4.689, allocations: 19.45 kB / 1.268 GB, free: 371.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/4.689, allocations: 43.66 kB / 1.269 GB, free: 371.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072/5.762, allocations: 0.6049 GB / 1.873 GB, free: 144.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/5.764, allocations: 0.5386 MB / 1.874 GB, free: 144.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09137/5.855, allocations: 33.19 MB / 1.906 GB, free: 124 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/5.87, allocations: 0.6213 MB / 1.907 GB, free: 123.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004195/5.874, allocations: 0.5433 MB / 1.908 GB, free: 123.2 MB / 0.7761 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 (390): * Single equations (assignments): 332 * 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.01167/5.886, allocations: 2.361 MB / 1.91 GB, free: 121.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007671/5.894, allocations: 1.253 MB / 1.911 GB, free: 120.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1304/6.024, allocations: 38.09 MB / 1.948 GB, free: 89.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1196/6.144, allocations: 33.48 MB / 1.981 GB, free: 60.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001493/6.144, allocations: 24 kB / 1.981 GB, free: 60.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004404/6.144, allocations: 103.6 kB / 1.981 GB, free: 60.06 MB / 0.7761 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.4118/6.556, allocations: 124.4 MB / 2.103 GB, free: 313.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004725/6.557, allocations: 23.23 kB / 2.103 GB, free: 313.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04583/6.602, allocations: 7.08 MB / 2.11 GB, free: 308.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1076/6.71, allocations: 19.89 MB / 2.129 GB, free: 293.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005892/6.716, allocations: 0.6713 MB / 2.13 GB, free: 292.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1611/6.877, allocations: 165.3 MB / 2.291 GB, free: 118.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/6.877, allocations: 4 kB / 2.291 GB, free: 118.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1542/7.031, allocations: 47.16 MB / 2.337 GB, free: 70.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0132/7.045, allocations: 3.57 MB / 2.341 GB, free: 66.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004815/7.049, allocations: 0.496 MB / 2.341 GB, free: 66.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01571/7.065, allocations: 0.6558 MB / 2.342 GB, free: 65.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00703/7.072, allocations: 1.583 MB / 2.343 GB, free: 64.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004465/7.077, allocations: 0.6519 MB / 2.344 GB, free: 63.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001974/7.079, allocations: 1.377 MB / 2.345 GB, free: 62.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/7.079, allocations: 4 kB / 2.345 GB, free: 62.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.02511/7.104, allocations: 6.211 MB / 2.351 GB, free: 55.95 MB / 0.7761 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.01218/7.116, allocations: 3.31 MB / 2.355 GB, free: 52.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.08893/7.205, allocations: 41.81 MB / 2.395 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/7.205, allocations: 0 / 2.395 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.2333/7.438, allocations: 28.45 MB / 2.423 GB, free: 319.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03648/7.474, allocations: 6.764 MB / 2.43 GB, free: 318.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08224/7.557, allocations: 42.62 MB / 2.471 GB, free: 305.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/7.567, allocations: 8.62 MB / 2.48 GB, free: 304.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01032/7.577, allocations: 2.775 MB / 2.483 GB, free: 304.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003469/7.581, allocations: 0.8829 MB / 2.483 GB, free: 304.3 MB / 0.7761 GB Notification: Performance of SimCode: time 1.774e-06/7.581, allocations: 0 / 2.483 GB, free: 304.3 MB / 0.7761 GB Notification: Performance of Templates: time 1.116/8.697, allocations: 0.4908 GB / 2.974 GB, free: 288.1 MB / 0.7762 GB " [Timeout remaining time 651] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.makefile [Timeout 660] (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 49.65003796201199]