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.8431/0.8431, allocations: 150.8 MB / 166.6 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002513/0.0002514, allocations: 15.98 kB / 204.7 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1977, allocations: 31.33 MB / 236 MB, free: 5.457 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.837/2.035, allocations: 303.8 MB / 0.5272 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6286/2.663, allocations: 193.6 MB / 0.7162 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003145/2.667, allocations: 26.47 kB / 0.7162 GB, free: 2.453 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.002179/2.669, allocations: 0.6908 MB / 0.7169 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/2.674, allocations: 1.704 MB / 0.7186 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03463/2.708, allocations: 10.39 MB / 0.7287 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02187/2.73, allocations: 24.08 MB / 0.7522 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/2.745, allocations: 7.262 MB / 0.7593 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01514/2.761, allocations: 6.653 MB / 0.7658 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/2.778, allocations: 8.106 MB / 0.7737 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005358/2.783, allocations: 0.7104 MB / 0.7744 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04872/2.832, allocations: 21.78 MB / 0.7957 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.008799/2.841, allocations: 4.729 MB / 0.8003 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01993/2.861, allocations: 7.25 MB / 0.8074 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.04009/2.901, allocations: 23.84 MB / 0.8307 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/2.901, allocations: 4 kB / 0.8307 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.354e-06/2.901, allocations: 0 / 0.8307 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0008281/2.902, allocations: 3.938 kB / 0.8307 GB, free: 2.406 MB / 0.6387 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.07189/2.974, allocations: 16.87 MB / 0.8472 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/2.974, allocations: 12.03 kB / 0.8472 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/2.98, allocations: 1.246 MB / 0.8484 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/2.994, allocations: 5.058 MB / 0.8533 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00391/2.998, allocations: 3.032 MB / 0.8563 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006092/3.004, allocations: 0.9642 MB / 0.8572 GB, free: 6.602 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05731/3.061, allocations: 20.25 MB / 0.877 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003915/3.062, allocations: 11.88 kB / 0.877 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005284/3.067, allocations: 356 kB / 0.8774 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000635/3.068, allocations: 0.5309 MB / 0.8779 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05404/3.122, allocations: 19.87 MB / 0.8973 GB, free: 13.3 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.143/3.265, allocations: 70.76 MB / 0.9664 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4698/3.735, allocations: 22.78 MB / 0.9886 GB, free: 401.1 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02727/3.762, allocations: 13.75 MB / 1.002 GB, free: 401 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3865/4.149, allocations: 225.4 MB / 1.222 GB, free: 188.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03463/4.183, allocations: 14.24 MB / 1.236 GB, free: 174 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2594): time 1.755e-05/4.183, allocations: 0 / 1.236 GB, free: 174 MB / 0.795 GB Notification: Performance of matching and sorting (n=2595): time 0.545/4.728, allocations: 134.5 MB / 1.367 GB, free: 37.38 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/4.729, allocations: 271 kB / 1.368 GB, free: 37.07 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/4.733, allocations: 2.319 MB / 1.37 GB, free: 34.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.005564/4.739, allocations: 229.7 kB / 1.37 GB, free: 34.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/4.74, allocations: 2.23 MB / 1.372 GB, free: 32.26 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0131/4.754, allocations: 8.694 MB / 1.381 GB, free: 23.64 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02057/4.774, allocations: 2.969 MB / 1.384 GB, free: 20.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/4.774, allocations: 301.1 kB / 1.384 GB, free: 20.36 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02733/4.802, allocations: 11.76 MB / 1.396 GB, free: 8.598 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2976/5.099, allocations: 13.74 MB / 1.409 GB, free: 390.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06109/5.16, allocations: 28.07 MB / 1.436 GB, free: 384.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/5.161, allocations: 9.281 kB / 1.436 GB, free: 384.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1269/5.288, allocations: 42.43 MB / 1.478 GB, free: 368.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/5.288, allocations: 15.69 kB / 1.478 GB, free: 368.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/5.288, allocations: 64.44 kB / 1.478 GB, free: 368.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7/6.987, allocations: 0.646 GB / 2.124 GB, free: 287.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/6.99, allocations: 0.5397 MB / 2.124 GB, free: 287.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1377/7.128, allocations: 50.61 MB / 2.174 GB, free: 253.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0188/7.146, allocations: 0.9674 MB / 2.175 GB, free: 252.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005791/7.152, allocations: 0.5488 MB / 2.175 GB, free: 252.1 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.01581/7.168, allocations: 3.498 MB / 2.179 GB, free: 249.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00643/7.175, allocations: 0.8607 MB / 2.18 GB, free: 248.8 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1951/7.37, allocations: 58.33 MB / 2.237 GB, free: 201.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1707/7.54, allocations: 51.93 MB / 2.287 GB, free: 150.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002332/7.541, allocations: 26.19 kB / 2.287 GB, free: 150.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005841/7.541, allocations: 103.6 kB / 2.287 GB, free: 150 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.5161/8.057, allocations: 99.94 MB / 2.385 GB, free: 354 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004751/8.058, allocations: 45.97 kB / 2.385 GB, free: 354 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04427/8.102, allocations: 7.917 MB / 2.393 GB, free: 353.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1101/8.212, allocations: 23.68 MB / 2.416 GB, free: 338.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006307/8.219, allocations: 0.6869 MB / 2.417 GB, free: 338.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2151/8.434, allocations: 143.6 MB / 2.557 GB, free: 186.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/8.434, allocations: 8.453 kB / 2.557 GB, free: 186.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2145/8.648, allocations: 70.42 MB / 2.626 GB, free: 115.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01554/8.664, allocations: 3.757 MB / 2.629 GB, free: 111.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007058/8.671, allocations: 0.5077 MB / 2.63 GB, free: 111.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01873/8.69, allocations: 1.094 MB / 2.631 GB, free: 110.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009044/8.699, allocations: 1.507 MB / 2.632 GB, free: 108.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006102/8.705, allocations: 0.6526 MB / 2.633 GB, free: 107.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002796/8.708, allocations: 1.5 MB / 2.634 GB, free: 106.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/8.708, allocations: 0 / 2.634 GB, free: 106.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.03266/8.741, allocations: 6.194 MB / 2.64 GB, free: 100.4 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.0164/8.757, allocations: 3.143 MB / 2.643 GB, free: 97.91 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.1085/8.866, allocations: 53.29 MB / 2.695 GB, free: 42.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/8.866, allocations: 0 / 2.695 GB, free: 42.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.06199/8.928, allocations: 33 MB / 2.728 GB, free: 7.277 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04136/8.969, allocations: 6.291 MB / 2.734 GB, free: 1.273 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4066/9.376, allocations: 60.14 MB / 2.793 GB, free: 328.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01462/9.39, allocations: 9.497 MB / 2.802 GB, free: 326.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005604/9.396, allocations: 0.8976 MB / 2.803 GB, free: 326.9 MB / 0.795 GB Notification: Performance of SimCode: time 1.954e-06/9.396, allocations: 0 / 2.803 GB, free: 326.9 MB / 0.795 GB Notification: Performance of Templates: time 8.537/17.93, allocations: 4.455 GB / 7.257 GB, free: 301.3 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeatingCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeatingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeatingCalcHelperMain.o] Error 1