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.8009/0.8009, allocations: 150.9 MB / 166.7 MB, free: 11.12 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002428, allocations: 15.98 kB / 204.7 MB, free: 6.148 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1455, allocations: 31.33 MB / 236 MB, free: 3.875 MB / 186.7 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.579/1.725, allocations: 303.2 MB / 0.5265 GB, free: 14.83 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4726/2.197, allocations: 193.6 MB / 0.7156 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/2.2, allocations: 23.84 kB / 0.7156 GB, free: 0.8672 MB / 0.5573 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.001673/2.201, allocations: 0.6922 MB / 0.7163 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/2.205, allocations: 1.71 MB / 0.7179 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02633/2.231, allocations: 10.39 MB / 0.7281 GB, free: 14.05 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01909/2.25, allocations: 24.18 MB / 0.7517 GB, free: 7.383 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/2.261, allocations: 7.25 MB / 0.7588 GB, free: 4.305 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/2.273, allocations: 6.718 MB / 0.7653 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0146/2.288, allocations: 8.102 MB / 0.7733 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.003773/2.291, allocations: 0.7031 MB / 0.7739 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04056/2.332, allocations: 21.79 MB / 0.7952 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.007224/2.339, allocations: 4.727 MB / 0.7998 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01499/2.354, allocations: 7.258 MB / 0.8069 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.04339/2.398, allocations: 30.96 MB / 0.8372 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/2.398, allocations: 0 / 0.8372 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/2.398, allocations: 0 / 0.8372 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005658/2.398, allocations: 0 / 0.8372 GB, free: 9.594 MB / 0.6511 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.06088/2.459, allocations: 16.87 MB / 0.8536 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/2.459, allocations: 12.03 kB / 0.8536 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/2.465, allocations: 1.246 MB / 0.8549 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/2.477, allocations: 5.05 MB / 0.8598 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003426/2.481, allocations: 3.032 MB / 0.8628 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004788/2.485, allocations: 0.9641 MB / 0.8637 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0469/2.532, allocations: 20.26 MB / 0.8835 GB, free: 9.273 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/2.533, allocations: 7.938 kB / 0.8835 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002074/2.535, allocations: 352 kB / 0.8838 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003791/2.535, allocations: 0.5348 MB / 0.8843 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04447/2.58, allocations: 19.88 MB / 0.9038 GB, free: 4.48 MB / 0.7136 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.4362/3.016, allocations: 70.74 MB / 0.9728 GB, free: 354.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06699/3.083, allocations: 22.78 MB / 0.9951 GB, free: 349.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02441/3.107, allocations: 13.75 MB / 1.009 GB, free: 342.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.418/3.525, allocations: 225.4 MB / 1.229 GB, free: 111.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0294/3.555, allocations: 14.24 MB / 1.243 GB, free: 96.82 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=2594): time 1.766e-05/3.555, allocations: 0 / 1.243 GB, free: 96.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2595): time 0.7001/4.255, allocations: 134.5 MB / 1.374 GB, free: 355.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/4.255, allocations: 272.8 kB / 1.374 GB, free: 355.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/4.258, allocations: 2.311 MB / 1.376 GB, free: 355 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.004866/4.263, allocations: 230.7 kB / 1.377 GB, free: 354.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/4.266, allocations: 2.229 MB / 1.379 GB, free: 353.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.01015/4.276, allocations: 8.701 MB / 1.387 GB, free: 346.6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01182/4.288, allocations: 2.962 MB / 1.39 GB, free: 345.6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/4.288, allocations: 308.8 kB / 1.391 GB, free: 345.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02254/4.311, allocations: 11.76 MB / 1.402 GB, free: 338.9 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02652/4.337, allocations: 13.74 MB / 1.415 GB, free: 330.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05306/4.39, allocations: 28.07 MB / 1.443 GB, free: 306.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/4.39, allocations: 8 kB / 1.443 GB, free: 306.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1087/4.499, allocations: 42.43 MB / 1.484 GB, free: 264.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/4.499, allocations: 17.31 kB / 1.484 GB, free: 264.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/4.499, allocations: 60.92 kB / 1.484 GB, free: 264.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66/6.159, allocations: 0.6505 GB / 2.135 GB, free: 342.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/6.162, allocations: 0.5398 MB / 2.135 GB, free: 342.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1139/6.276, allocations: 50.61 MB / 2.185 GB, free: 329.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/6.291, allocations: 0.9696 MB / 2.186 GB, free: 329.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004295/6.295, allocations: 0.5504 MB / 2.186 GB, free: 329.4 MB / 0.7605 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.01138/6.306, allocations: 3.487 MB / 2.19 GB, free: 327.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004045/6.31, allocations: 0.8653 MB / 2.191 GB, free: 327.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1711/6.482, allocations: 58.33 MB / 2.247 GB, free: 278.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1499/6.632, allocations: 51.93 MB / 2.298 GB, free: 226.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001566/6.632, allocations: 20 kB / 2.298 GB, free: 226.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004525/6.632, allocations: 106.8 kB / 2.298 GB, free: 226.4 MB / 0.7605 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.2231/6.855, allocations: 99.96 MB / 2.396 GB, free: 125 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003168/6.856, allocations: 43.98 kB / 2.396 GB, free: 125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04358/6.899, allocations: 7.917 MB / 2.404 GB, free: 117.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3113/7.211, allocations: 23.68 MB / 2.427 GB, free: 343.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005199/7.216, allocations: 0.6891 MB / 2.428 GB, free: 343.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2108/7.427, allocations: 143.5 MB / 2.568 GB, free: 237.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/7.427, allocations: 6.781 kB / 2.568 GB, free: 237.6 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.975/10.4, allocations: 0.9077 GB / 3.475 GB, free: 184.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01245/10.41, allocations: 3.76 MB / 3.479 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005674/10.42, allocations: 0.5108 MB / 3.48 GB, free: 182.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01614/10.44, allocations: 1.096 MB / 3.481 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006414/10.44, allocations: 1.506 MB / 3.482 GB, free: 181.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004016/10.45, allocations: 0.6539 MB / 3.483 GB, free: 181.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002031/10.45, allocations: 1.502 MB / 3.484 GB, free: 181 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.91e-07/10.45, allocations: 0.5625 kB / 3.484 GB, free: 181 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.03912/10.49, allocations: 11.15 MB / 3.495 GB, free: 172.5 MB / 0.7605 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.01645/10.5, allocations: 4.368 MB / 3.499 GB, free: 169.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.09658/10.6, allocations: 53.27 MB / 3.551 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/10.6, allocations: 0 / 3.551 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.05479/10.66, allocations: 32.99 MB / 3.584 GB, free: 88.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04051/10.7, allocations: 6.281 MB / 3.59 GB, free: 82.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4237/11.12, allocations: 104 MB / 3.691 GB, free: 224.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01815/11.14, allocations: 11.12 MB / 3.702 GB, free: 223.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.02035/11.16, allocations: 4.469 MB / 3.707 GB, free: 223.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01063/11.17, allocations: 1.344 MB / 3.708 GB, free: 223.1 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/11.17, allocations: 2.969 kB / 3.708 GB, free: 223.1 MB / 0.7605 GB Notification: Performance of Templates: time 1.788/12.96, allocations: 0.8328 GB / 4.541 GB, free: 175.5 MB / 0.7605 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)