Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7861/0.7861, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 15.97 kB / 204 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 31.33 MB / 235.4 MB, free: 5.43 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.518/1.655, allocations: 303.8 MB / 0.5266 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4521/2.107, allocations: 193.6 MB / 0.7156 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/2.109, allocations: 22.53 kB / 0.7156 GB, free: 2.477 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/TwoPhaseCavity.mo:178:3-180:46:writable] Warning: Connector Cv is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/TwoPhaseCavity.mo:181:3-183:56:writable] Warning: Connector Cl is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/TwoPhaseCavity.mo:194:3-196:48:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:80:3-81:83:writable] Warning: Connector C1vap is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:82:3-84:16:writable] Warning: Connector C2ex is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:85:3-87:24:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:88:3-90:17:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:95:3-97:17:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:29:3-31:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:32:3-34:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:35:3-37:37:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:38:3-40:43:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:29:3-31:42:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:32:3-34:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:29:3-31:42:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:32:3-34:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/RefQ.mo:15:3-17:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/RefQ.mo:18:3-19:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/IdealCheckValve.mo:22:3-23:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/IdealCheckValve.mo:24:3-25:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001616/2.11, allocations: 0.6948 MB / 0.7163 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002951/2.113, allocations: 1.706 MB / 0.718 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02423/2.137, allocations: 10.39 MB / 0.7281 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01676/2.154, allocations: 24.08 MB / 0.7516 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009998/2.164, allocations: 7.263 MB / 0.7587 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/2.175, allocations: 6.655 MB / 0.7652 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01422/2.19, allocations: 8.1 MB / 0.7731 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004453/2.194, allocations: 0.7038 MB / 0.7738 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04021/2.234, allocations: 21.79 MB / 0.7951 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00697/2.241, allocations: 4.725 MB / 0.7997 GB, free: 420 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01541/2.257, allocations: 7.254 MB / 0.8068 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.04416/2.301, allocations: 30.96 MB / 0.837 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/2.301, allocations: 0 / 0.837 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/2.301, allocations: 0 / 0.837 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005363/2.302, allocations: 4 kB / 0.837 GB, free: 11.39 MB / 0.6544 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.06221/2.364, allocations: 16.87 MB / 0.8535 GB, free: 10.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/2.364, allocations: 8.031 kB / 0.8535 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/2.369, allocations: 1.254 MB / 0.8547 GB, free: 9.152 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/2.379, allocations: 5.047 MB / 0.8597 GB, free: 4.082 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003169/2.382, allocations: 3.028 MB / 0.8626 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004166/2.387, allocations: 0.9642 MB / 0.8636 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05032/2.437, allocations: 20.26 MB / 0.8833 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/2.437, allocations: 11.88 kB / 0.8834 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004323/2.442, allocations: 356 kB / 0.8837 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004719/2.442, allocations: 0.5309 MB / 0.8842 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04506/2.487, allocations: 19.87 MB / 0.9036 GB, free: 6.285 MB / 0.7169 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.11/2.597, allocations: 70.75 MB / 0.9727 GB, free: 10.99 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3889/2.986, allocations: 22.77 MB / 0.995 GB, free: 403.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02634/3.013, allocations: 13.75 MB / 1.008 GB, free: 403.1 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3827/3.395, allocations: 225.4 MB / 1.229 GB, free: 181.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03104/3.426, allocations: 14.24 MB / 1.242 GB, free: 167.4 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2594): time 1.724e-05/3.426, allocations: 0 / 1.242 GB, free: 167.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=2595): time 0.5454/3.972, allocations: 134.5 MB / 1.374 GB, free: 30.74 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/3.972, allocations: 267 kB / 1.374 GB, free: 30.44 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/3.975, allocations: 2.312 MB / 1.376 GB, free: 28.11 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.004174/3.979, allocations: 229.7 kB / 1.377 GB, free: 27.88 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/3.981, allocations: 2.239 MB / 1.379 GB, free: 25.63 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.009565/3.99, allocations: 8.69 MB / 1.387 GB, free: 17.01 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009483/4, allocations: 2.969 MB / 1.39 GB, free: 14.03 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/4, allocations: 301.1 kB / 1.39 GB, free: 13.73 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0227/4.022, allocations: 11.76 MB / 1.402 GB, free: 1.965 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2172/4.24, allocations: 13.73 MB / 1.415 GB, free: 393 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0557/4.295, allocations: 28.08 MB / 1.443 GB, free: 384.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.115e-05/4.295, allocations: 7.906 kB / 1.443 GB, free: 384.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1081/4.404, allocations: 42.42 MB / 1.484 GB, free: 365.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/4.404, allocations: 21.14 kB / 1.484 GB, free: 365.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/4.404, allocations: 63.89 kB / 1.484 GB, free: 365 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443/5.846, allocations: 0.6467 GB / 2.131 GB, free: 281.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/5.849, allocations: 0.541 MB / 2.131 GB, free: 281.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1119/5.961, allocations: 50.61 MB / 2.181 GB, free: 247 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01583/5.977, allocations: 0.966 MB / 2.182 GB, free: 246.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003529/5.98, allocations: 0.548 MB / 2.182 GB, free: 246 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert,PressureLoss_Steam.C2.b,PressureLoss_Steam.C1.a,singularPressureLossPurge.C2.b,singularPressureLossPurge.C1.a,checkValve.C1.a,checkValve.C2.b,refQ.C2.b,refQ.C1.a,sourceP1.C.b,singularPressureLossWaterOut.C2.b,singularPressureLossWaterOut.C1.a,singularPressureLossWaterIn.C2.b,singularPressureLossWaterIn.C1.a,Puit_condenseur2.C.a,WaterHeating.volumeD1.Cs3.b,WaterHeating.volumeD1.Cs2.b,WaterHeating.volumeD1.Cs1.b,WaterHeating.volumeD1.Ce.a,WaterHeating.volumeD.Cs3.b,WaterHeating.volumeD.Cs2.b,WaterHeating.volumeD.Cs1.b,WaterHeating.volumeD.Ce.a,WaterHeating.volumeC.Ce3.a,WaterHeating.volumeC.Cs.b,WaterHeating.volumeC.Ce2.a,WaterHeating.volumeC.Ce1.a,WaterHeating.pipe_2.C2.b,WaterHeating.pipe_2.C1.a,WaterHeating.pipe_1.C2.b,WaterHeating.pipe_1.C1.a,WaterHeating.pipe_3.C2.b,WaterHeating.pipe_3.C1.a,WaterHeating.WaterHeating.Ce.a,WaterHeating.WaterHeating.Cl.b,WaterHeating.WaterHeating.Cv.a,ControlValve_eau.C2.b,ControlValve_eau.C1.a,Puit_condenseur1.C.a,sourceP.C.b,WaterHeating.C1.b,WaterHeating.volumeD1.Cs2.a,WaterHeating.volumeD1.Cs1.a,WaterHeating.volumeD.Cs3.a,WaterHeating.volumeC.Ce2.b,WaterHeating.WaterHeating.NbTubT) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 54 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (178,843)} Notification: Performance of prepare postOptimizeDAE: time 0.01014/5.99, allocations: 3.492 MB / 2.186 GB, free: 243.1 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003257/5.994, allocations: 0.8676 MB / 2.187 GB, free: 242.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1688/6.162, allocations: 58.33 MB / 2.244 GB, free: 195.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1574/6.32, allocations: 51.93 MB / 2.294 GB, free: 144.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001341/6.32, allocations: 20 kB / 2.294 GB, free: 144.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004072/6.32, allocations: 103.6 kB / 2.294 GB, free: 144.4 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4216/6.742, allocations: 99.95 MB / 2.392 GB, free: 355 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003571/6.742, allocations: 41.83 kB / 2.392 GB, free: 355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04587/6.788, allocations: 7.917 MB / 2.4 GB, free: 354.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1171/6.905, allocations: 23.68 MB / 2.423 GB, free: 333.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005001/6.91, allocations: 0.6869 MB / 2.424 GB, free: 333.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2153/7.126, allocations: 143.6 MB / 2.564 GB, free: 180.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/7.126, allocations: 7.219 kB / 2.564 GB, free: 180.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1939/7.32, allocations: 70.41 MB / 2.633 GB, free: 110.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/7.33, allocations: 3.758 MB / 2.636 GB, free: 106.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004984/7.335, allocations: 0.5163 MB / 2.637 GB, free: 105.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01584/7.351, allocations: 1.083 MB / 2.638 GB, free: 104.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005087/7.356, allocations: 1.508 MB / 2.639 GB, free: 103.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002413/7.359, allocations: 0.6519 MB / 2.64 GB, free: 102.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001915/7.36, allocations: 1.504 MB / 2.641 GB, free: 101.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/7.361, allocations: 0 / 2.641 GB, free: 101.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.02103/7.382, allocations: 6.19 MB / 2.647 GB, free: 95.05 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 173 (WaterHeating.WaterHeating.P,WaterHeating.WaterHeating.hl,WaterHeating.WaterHeating.hv,WaterHeating.WaterHeating.Vv,WaterHeating.WaterHeating.Tp,WaterHeating.pipe_3.P[2],WaterHeating.pipe_3.P[3],WaterHeating.pipe_3.P[4],WaterHeating.pipe_3.P[5],WaterHeating.pipe_3.P[6],WaterHeating.pipe_3.P[7],WaterHeating.pipe_3.P[8],WaterHeating.pipe_3.P[9],WaterHeating.pipe_3.P[10],WaterHeating.pipe_3.P[11],WaterHeating.pipe_3.P[12],WaterHeating.pipe_3.P[13],WaterHeating.pipe_3.P[14],WaterHeating.pipe_3.P[15],WaterHeating.pipe_3.P[16],WaterHeating.pipe_3.P[17],WaterHeating.pipe_3.P[18],WaterHeating.pipe_3.P[19],WaterHeating.pipe_3.P[20],WaterHeating.pipe_3.P[21],WaterHeating.pipe_3.Q[1],WaterHeating.pipe_3.Q[2],WaterHeating.pipe_3.Q[3],WaterHeating.pipe_3.Q[4],WaterHeating.pipe_3.Q[5],WaterHeating.pipe_3.Q[6],WaterHeating.pipe_3.Q[7],WaterHeating.pipe_3.Q[8],WaterHeating.pipe_3.Q[9],WaterHeating.pipe_3.Q[10],WaterHeating.pipe_3.Q[11],WaterHeating.pipe_3.Q[12],WaterHeating.pipe_3.Q[13],WaterHeating.pipe_3.Q[14],WaterHeating.pipe_3.Q[15],WaterHeating.pipe_3.Q[16],WaterHeating.pipe_3.Q[17],WaterHeating.pipe_3.Q[18],WaterHeating.pipe_3.Q[19],WaterHeating.pipe_3.Q[20],WaterHeating.pipe_3.Q[21],WaterHeating.pipe_3.h[2],WaterHeating.pipe_3.h[3],WaterHeating.pipe_3.h[4],WaterHeating.pipe_3.h[5],WaterHeating.pipe_3.h[6],WaterHeating.pipe_3.h[7],WaterHeating.pipe_3.h[8],WaterHeating.pipe_3.h[9],WaterHeating.pipe_3.h[10],WaterHeating.pipe_3.h[11],WaterHeating.pipe_3.h[12],WaterHeating.pipe_3.h[13],WaterHeating.pipe_3.h[14],WaterHeating.pipe_3.h[15],WaterHeating.pipe_3.h[16],WaterHeating.pipe_3.h[17],WaterHeating.pipe_3.h[18],WaterHeating.pipe_3.h[19],WaterHeating.pipe_3.h[20],WaterHeating.pipe_3.h[21],WaterHeating.Wall_3.Tp[1],WaterHeating.Wall_3.Tp[2],WaterHeating.Wall_3.Tp[3],WaterHeating.Wall_3.Tp[4],WaterHeating.Wall_3.Tp[5],WaterHeating.Wall_3.Tp[6],WaterHeating.Wall_3.Tp[7],WaterHeating.Wall_3.Tp[8],WaterHeating.Wall_3.Tp[9],WaterHeating.Wall_3.Tp[10],WaterHeating.Wall_3.Tp[11],WaterHeating.Wall_3.Tp[12],WaterHeating.Wall_3.Tp[13],WaterHeating.Wall_3.Tp[14],WaterHeating.Wall_3.Tp[15],WaterHeating.Wall_3.Tp[16],WaterHeating.Wall_3.Tp[17],WaterHeating.Wall_3.Tp[18],WaterHeating.Wall_3.Tp[19],WaterHeating.Wall_3.Tp[20],WaterHeating.pipe_1.P[2],WaterHeating.pipe_1.P[3],WaterHeating.pipe_1.P[4],WaterHeating.pipe_1.P[5],WaterHeating.pipe_1.P[6],WaterHeating.pipe_1.P[7],WaterHeating.pipe_1.P[8],WaterHeating.pipe_1.P[9],WaterHeating.pipe_1.P[10],WaterHeating.pipe_1.P[11],WaterHeating.pipe_1.Q[1],WaterHeating.pipe_1.Q[2],WaterHeating.pipe_1.Q[3],WaterHeating.pipe_1.Q[4],WaterHeating.pipe_1.Q[5],WaterHeating.pipe_1.Q[6],WaterHeating.pipe_1.Q[7],WaterHeating.pipe_1.Q[8],WaterHeating.pipe_1.Q[9],WaterHeating.pipe_1.Q[10],WaterHeating.pipe_1.Q[11],WaterHeating.pipe_1.h[2],WaterHeating.pipe_1.h[3],WaterHeating.pipe_1.h[4],WaterHeating.pipe_1.h[5],WaterHeating.pipe_1.h[6],WaterHeating.pipe_1.h[7],WaterHeating.pipe_1.h[8],WaterHeating.pipe_1.h[9],WaterHeating.pipe_1.h[10],WaterHeating.pipe_1.h[11],WaterHeating.Wall_1.Tp[1],WaterHeating.Wall_1.Tp[2],WaterHeating.Wall_1.Tp[3],WaterHeating.Wall_1.Tp[4],WaterHeating.Wall_1.Tp[5],WaterHeating.Wall_1.Tp[6],WaterHeating.Wall_1.Tp[7],WaterHeating.Wall_1.Tp[8],WaterHeating.Wall_1.Tp[9],WaterHeating.Wall_1.Tp[10],WaterHeating.pipe_2.P[2],WaterHeating.pipe_2.P[3],WaterHeating.pipe_2.P[4],WaterHeating.pipe_2.P[5],WaterHeating.pipe_2.P[6],WaterHeating.pipe_2.P[7],WaterHeating.pipe_2.P[8],WaterHeating.pipe_2.P[9],WaterHeating.pipe_2.P[10],WaterHeating.pipe_2.P[11],WaterHeating.pipe_2.Q[1],WaterHeating.pipe_2.Q[2],WaterHeating.pipe_2.Q[3],WaterHeating.pipe_2.Q[4],WaterHeating.pipe_2.Q[5],WaterHeating.pipe_2.Q[6],WaterHeating.pipe_2.Q[7],WaterHeating.pipe_2.Q[8],WaterHeating.pipe_2.Q[9],WaterHeating.pipe_2.Q[10],WaterHeating.pipe_2.Q[11],WaterHeating.pipe_2.h[2],WaterHeating.pipe_2.h[3],WaterHeating.pipe_2.h[4],WaterHeating.pipe_2.h[5],WaterHeating.pipe_2.h[6],WaterHeating.pipe_2.h[7],WaterHeating.pipe_2.h[8],WaterHeating.pipe_2.h[9],WaterHeating.pipe_2.h[10],WaterHeating.pipe_2.h[11],WaterHeating.Wall_2.Tp[1],WaterHeating.Wall_2.Tp[2],WaterHeating.Wall_2.Tp[3],WaterHeating.Wall_2.Tp[4],WaterHeating.Wall_2.Tp[5],WaterHeating.Wall_2.Tp[6],WaterHeating.Wall_2.Tp[7],WaterHeating.Wall_2.Tp[8],WaterHeating.Wall_2.Tp[9],WaterHeating.Wall_2.Tp[10],WaterHeating.volumeC.P,WaterHeating.volumeC.h,WaterHeating.volumeD.h,WaterHeating.volumeD1.P,WaterHeating.volumeD1.h) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,checkValve.ouvert,checkValve.touvert,checkValve.tferme) * Number of discrete states: 2 (checkValve.touvert,checkValve.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1925): * Single equations (assignments): 1656 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 140 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 42 * Torn equation systems: 86 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 42 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 42 systems {(4,1,62.5%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 44 systems {(1,3), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (3,7), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (2,6), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (4,10), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01154/7.393, allocations: 3.16 MB / 2.651 GB, free: 92.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.09669/7.49, allocations: 53.29 MB / 2.703 GB, free: 36.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/7.49, allocations: 0 / 2.703 GB, free: 36.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.05164/7.542, allocations: 32.99 MB / 2.735 GB, free: 1.863 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2257/7.767, allocations: 6.279 MB / 2.741 GB, free: 353.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1137/7.881, allocations: 59.38 MB / 2.799 GB, free: 332.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/7.892, allocations: 9.521 MB / 2.808 GB, free: 331.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.01348/7.905, allocations: 3.233 MB / 2.811 GB, free: 330.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005224/7.91, allocations: 0.883 MB / 2.812 GB, free: 330.7 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/7.91, allocations: 0 / 2.812 GB, free: 330.7 MB / 0.795 GB Notification: Performance of Templates: time 0.7816/8.692, allocations: 0.5087 GB / 3.321 GB, free: 128.7 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.makefile (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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe 2>&1)