Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.5124/0.5124, allocations: 111.6 MB / 131.7 MB, free: 5.066 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.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 176.5 MB, free: 9.406 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.809e-05, allocations: 2.312 kB / 176.5 MB, free: 9.402 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.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.069/1.07, allocations: 270.6 MB / 447.1 MB, free: 2.758 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3645/1.434, allocations: 198.2 MB / 0.6302 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/1.436, allocations: 103.1 kB / 0.6303 GB, free: 2.938 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/ControlValve.mo:29:3-30:81:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/ControlValve.mo:31:3-32:79:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/TwoPhaseCavity.mo:131:3-132:131:writable] Warning: Connector Cv is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/TwoPhaseCavity.mo:133:3-134:139:writable] Warning: Connector Cl is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/TwoPhaseCavity.mo:141:3-142:80:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:97:3-98:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:99:3-100:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicWaterHeater.mo:56:3-57:78:writable] Warning: Connector C1vap is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicWaterHeater.mo:58:3-59:80:writable] Warning: Connector C2ex is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicWaterHeater.mo:60:3-61:81:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicWaterHeater.mo:62:3-63:79:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicWaterHeater.mo:66:3-67:79:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:97:3-98:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:99:3-100:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:97:3-98:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:99:3-100:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeC.mo:77:3-78:135:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeC.mo:79:3-80:131:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeC.mo:81:3-82:78:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeC.mo:83:3-84:121:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:77:3-78:80:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:79:3-80:78:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:81:3-82:80:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:83:3-84:64:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:77:3-78:80:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:79:3-80:78:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:81:3-82:80:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/VolumeD.mo:83:3-84:64:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/Sink.mo:29:3-30:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/RefQ.mo:9:3-10:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/RefQ.mo:11:3-12:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/IdealCheckValve.mo:15:3-16:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/IdealCheckValve.mo:17:3-18:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/LumpedStraightPipe.mo:39:3-40:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/LumpedStraightPipe.mo:41:3-42:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001407/1.437, allocations: 0.9231 MB / 0.6312 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/1.44, allocations: 2.386 MB / 0.6335 GB, free: 15.6 MB / 0.5573 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02858/1.469, allocations: 17.43 MB / 0.6505 GB, free: 14.13 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01852/1.487, allocations: 31.5 MB / 0.6813 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009665/1.497, allocations: 10.41 MB / 0.6915 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/1.51, allocations: 13.28 MB / 0.7044 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2633/1.774, allocations: 9.922 MB / 0.7141 GB, free: 42.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.006785/1.78, allocations: 2.787 MB / 0.7168 GB, free: 42.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03625/1.817, allocations: 25.29 MB / 0.7415 GB, free: 42.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00915/1.826, allocations: 8.24 MB / 0.7496 GB, free: 42.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01222/1.838, allocations: 7.688 MB / 0.7571 GB, free: 42.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.04873/1.887, allocations: 33.75 MB / 0.79 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.887, allocations: 0.9375 kB / 0.79 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/1.887, allocations: 0 / 0.79 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0006331/1.887, allocations: 0.9375 kB / 0.79 GB, free: 32.62 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: 3421 * Number of variables: 3421 Notification: Performance of Generate backend data structure: time 0.03687/1.924, allocations: 18.44 MB / 0.808 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.924, allocations: 18.25 kB / 0.8081 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007884/1.932, allocations: 3.41 MB / 0.8114 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008401/1.94, allocations: 6.929 MB / 0.8182 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001611/1.942, allocations: 5.333 MB / 0.8234 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/1.944, allocations: 1.396 MB / 0.8247 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/1.974, allocations: 17.09 MB / 0.8414 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/1.975, allocations: 60.75 kB / 0.8415 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/1.977, allocations: 0.5469 MB / 0.842 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/1.977, allocations: 356 kB / 0.8424 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/2.004, allocations: 13.35 MB / 0.8554 GB, free: 9.574 MB / 0.6511 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.08383/2.088, allocations: 90.72 MB / 0.944 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03952/2.128, allocations: 23.72 MB / 0.9671 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01418/2.142, allocations: 4.616 MB / 0.9717 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6952/2.837, allocations: 352.7 MB / 1.316 GB, free: 111.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01942/2.857, allocations: 7.743 MB / 1.324 GB, free: 103.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1654): time 2.147e-05/2.857, allocations: 0 / 1.324 GB, free: 103.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1655): time 0.3165/3.173, allocations: 62.72 MB / 1.385 GB, free: 403.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/3.173, allocations: 426 kB / 1.385 GB, free: 403.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/3.177, allocations: 3.952 MB / 1.389 GB, free: 403 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.002945/3.18, allocations: 307.5 kB / 1.389 GB, free: 403 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001979/3.182, allocations: 3.991 MB / 1.393 GB, free: 402.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.004216/3.186, allocations: 6.268 MB / 1.399 GB, free: 397.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004335/3.191, allocations: 3.687 MB / 1.403 GB, free: 395.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/3.191, allocations: 479.2 kB / 1.404 GB, free: 395.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007521/3.198, allocations: 4.056 MB / 1.408 GB, free: 395 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008964/3.207, allocations: 9.605 MB / 1.417 GB, free: 388 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/3.225, allocations: 15.09 MB / 1.432 GB, free: 378.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.815e-05/3.225, allocations: 30.03 kB / 1.432 GB, free: 378.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2330) (initialization): time 0.0318/3.257, allocations: 19.78 MB / 1.451 GB, free: 362.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/3.257, allocations: 48 kB / 1.451 GB, free: 362.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/3.257, allocations: 108.7 kB / 1.451 GB, free: 362.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5166/3.774, allocations: 357.1 MB / 1.8 GB, free: 369.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/3.779, allocations: 1.723 MB / 1.802 GB, free: 368.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03808/3.817, allocations: 19.97 MB / 1.821 GB, free: 354.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008961/3.826, allocations: 0.7627 MB / 1.822 GB, free: 353.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/3.828, allocations: 0.907 MB / 1.823 GB, free: 353 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 76 ($PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,sourceP.C.ftype,WaterHeating.WaterHeating.Cl.ftype,WaterHeating.volumeC.Cs.ftype,sourceP1.C.ftype,WaterHeating.C1.ftype,WaterHeating.volumeD1.Cs3.ftype,WaterHeating.volumeD1.Cs2.ftype,WaterHeating.volumeD1.Cs1.ftype,WaterHeating.volumeD.Cs2.ftype,WaterHeating.volumeD1.fluids[1],WaterHeating.volumeD.Cs3.ftype,WaterHeating.volumeD.Cs1.ftype,WaterHeating.volumeD.fluids[1],WaterHeating.volumeC.Ce2.ftype,WaterHeating.volumeC.fluids[1],WaterHeating.WaterHeating.fluids[1],Puit_condenseur1.fluid,ControlValve_eau.fluid,WaterHeating.pipe_3.fluid,WaterHeating.pipe_1.fluid,WaterHeating.pipe_2.fluid,Puit_condenseur2.fluid,singularPressureLossWaterIn.fluid,singularPressureLossWaterOut.fluid,singularPressureLossPurge.fluid,PressureLoss_Steam.fluid,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert,sourceP1.fluid1,WaterHeating.volumeD1.fluid1,WaterHeating.volumeD.fluid1,WaterHeating.volumeC.fluid1,sourceP.fluid1,WaterHeating.WaterHeating.Cv.diff_on_2,sourceP.C.diff_on_2,PressureLoss_Steam.C2.diff_on_1,singularPressureLossPurge.C2.diff_on_2,singularPressureLossPurge.C1.diff_on_2,WaterHeating.WaterHeating.Cl.diff_on_1,singularPressureLossPurge.C2.diff_on_1,ControlValve_eau.C2.diff_on_1,singularPressureLossWaterOut.C1.diff_on_2,WaterHeating.volumeC.Cs.diff_on_1,refQ.C2.diff_on_1,singularPressureLossWaterIn.C2.diff_on_1,WaterHeating.volumeD.Ce.diff_on_2,sourceP1.C.diff_on_2,WaterHeating.C1.diff_on_1,WaterHeating.volumeD1.Cs3.diff_on_1,WaterHeating.volumeD1.Cs2.diff_on_1,WaterHeating.volumeD1.Cs1.diff_on_1,WaterHeating.volumeD1.Ce.diff_on_2,WaterHeating.volumeD1.Cs2.diff_on_2,WaterHeating.volumeD1.Cs1.diff_on_2,WaterHeating.volumeD.Cs3.diff_on_1,WaterHeating.volumeD.Cs2.diff_on_1,WaterHeating.volumeD.Cs1.diff_on_1,WaterHeating.volumeD.Cs3.diff_on_2,WaterHeating.volumeC.Ce3.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_2,WaterHeating.volumeC.Ce1.diff_on_2,WaterHeating.volumeC.Ce2.diff_on_1,WaterHeating.pipe_2.C1.diff_on_2,WaterHeating.pipe_2.C2.diff_on_1,WaterHeating.pipe_1.C1.diff_on_2,WaterHeating.pipe_1.C2.diff_on_1,WaterHeating.pipe_3.C1.diff_on_2,WaterHeating.pipe_3.C2.diff_on_1,WaterHeating.WaterHeating.Ce.diff_on_2,WaterHeating.WaterHeating.NbTubT) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (952): * Single equations (assignments): 945 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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), (133,1182)} Notification: Performance of prepare postOptimizeDAE: time 0.003779/3.831, allocations: 1.086 MB / 1.824 GB, free: 352.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002765/3.834, allocations: 1.447 MB / 1.825 GB, free: 351.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05188/3.886, allocations: 27.38 MB / 1.852 GB, free: 329.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04794/3.934, allocations: 20.89 MB / 1.872 GB, free: 312.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001289/3.934, allocations: 24 kB / 1.872 GB, free: 312.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003024/3.934, allocations: 77.78 kB / 1.872 GB, free: 312.6 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.07346/4.008, allocations: 36.73 MB / 1.908 GB, free: 278.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000133/4.008, allocations: 4 kB / 1.908 GB, free: 278.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01167/4.02, allocations: 2.969 MB / 1.911 GB, free: 275.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04432/4.064, allocations: 18.07 MB / 1.929 GB, free: 256.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005035/4.069, allocations: 0.6986 MB / 1.929 GB, free: 256 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07996/4.149, allocations: 220.5 MB / 2.145 GB, free: 21.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/4.149, allocations: 11.94 kB / 2.145 GB, free: 21.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.241/4.39, allocations: 28.47 MB / 2.173 GB, free: 337.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008436/4.398, allocations: 3.553 MB / 2.176 GB, free: 337.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002306/4.401, allocations: 436.7 kB / 2.176 GB, free: 337.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0055/4.406, allocations: 0.5566 MB / 2.177 GB, free: 337.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003291/4.409, allocations: 1.862 MB / 2.179 GB, free: 337.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001174/4.411, allocations: 0.6465 MB / 2.179 GB, free: 337.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002036/4.413, allocations: 1.909 MB / 2.181 GB, free: 336.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/4.413, allocations: 3.406 kB / 2.181 GB, free: 336.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01447/4.427, allocations: 6.629 MB / 2.188 GB, free: 336.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 174 (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.P,WaterHeating.volumeD.h,WaterHeating.volumeD1.P,WaterHeating.volumeD1.h) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,checkValve.ouvert,checkValve.touvert,checkValve.tferme,singularPressureLossPurge.C1.diff_on_2) * Number of discrete states: 2 (checkValve.touvert,checkValve.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1417): * Single equations (assignments): 1283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 125 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(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): 81 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%), (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,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), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (2,6), (1,3), (3,10), (2,7), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008342/4.436, allocations: 4.033 MB / 2.192 GB, free: 336.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.03696/4.472, allocations: 16.73 MB / 2.208 GB, free: 335.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/4.472, allocations: 3.688 kB / 2.208 GB, free: 335.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0239/4.496, allocations: 27.04 MB / 2.234 GB, free: 316.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007652/4.504, allocations: 2.566 MB / 2.237 GB, free: 316.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04037/4.544, allocations: 30.96 MB / 2.267 GB, free: 292.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/4.547, allocations: 2.871 MB / 2.27 GB, free: 290 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.009264/4.556, allocations: 3.943 MB / 2.274 GB, free: 287.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/4.559, allocations: 1.116 MB / 2.275 GB, free: 286.1 MB / 0.7761 GB Notification: Performance of SimCode: time 2.454e-06/4.559, allocations: 0 / 2.275 GB, free: 286.1 MB / 0.7761 GB Notification: Performance of Templates: time 0.6264/5.185, allocations: 413.3 MB / 2.679 GB, free: 344.7 MB / 0.7761 GB " [Timeout remaining time 655] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating -abortSlowSimulation -alarm=540 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterHeating.pipe 2>&1) [Timeout 540] [Calling sys.exit(0), Time elapsed: 67.8065617820248]