Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01727/0.01727, allocations: 1.447 MB / 20.8 MB, free: 3.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.01205/0.01205, allocations: 76.38 kB / 24.44 MB, free: 7.566 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002465/0.002465, allocations: 157.1 kB / 28.2 MB, free: 4.668 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.2 MB / 209 MB, free: 2.793 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.113/1.113, allocations: 102.5 MB / 368.4 MB, free: 1.285 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tank_L2.volume.h|tank_L2.volume.p|tank_L3_adv.volume.h_liq|tank_L3_adv.volume.h_vap|tank_L3_adv.volume.p_vap|tank_L3_adv.volume.volume_vap|tank_L3_adv.wall.U.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tank_L2.volume.h|tank_L2.volume.p|tank_L3_adv.volume.h_liq|tank_L3_adv.volume.h_vap|tank_L3_adv.volume.p_vap|tank_L3_adv.volume.volume_vap|tank_L3_adv.wall.U.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.122e-05, allocations: 2.312 kB / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.4877/0.4877, allocations: 70.98 MB / 0.5266 GB, free: 71.02 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03749/0.5252, allocations: 23.86 MB / 0.5499 GB, free: 55.38 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009037/0.5343, allocations: 159.2 kB / 0.5501 GB, free: 55.31 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.00975/0.544, allocations: 3.084 MB / 0.5531 GB, free: 53.9 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01742/0.5614, allocations: 4.907 MB / 0.5579 GB, free: 51.02 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01355/0.575, allocations: 4.158 MB / 0.562 GB, free: 48.76 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02373/0.5987, allocations: 13.29 MB / 0.5749 GB, free: 41.69 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009278/0.608, allocations: 4.294 MB / 0.5791 GB, free: 38.47 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02069/0.6287, allocations: 7.348 MB / 0.5863 GB, free: 33.29 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.6391, allocations: 4.971 MB / 0.5912 GB, free: 28.31 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003571/0.6426, allocations: 0.8828 MB / 0.592 GB, free: 27.43 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09341/0.736, allocations: 18.06 MB / 0.6097 GB, free: 11.35 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004767/0.7408, allocations: 2.917 MB / 0.6125 GB, free: 8.426 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009483/0.7503, allocations: 2.911 MB / 0.6154 GB, free: 5.508 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02849/0.7788, allocations: 14.25 MB / 0.6293 GB, free: 7.215 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7788, allocations: 0 / 0.6293 GB, free: 7.215 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7788, allocations: 0 / 0.6293 GB, free: 7.215 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005077/0.7793, allocations: 4 kB / 0.6293 GB, free: 7.211 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1582 * Number of variables: 1582 Notification: Performance of Generate backend data structure: time 0.03064/0.8099, allocations: 8.974 MB / 0.638 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.81, allocations: 8.031 kB / 0.6381 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006344/0.8163, allocations: 1.418 MB / 0.6394 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/0.836, allocations: 7.304 MB / 0.6466 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.8365, allocations: 308.4 kB / 0.6469 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.8384, allocations: 446.8 kB / 0.6473 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03837/0.8768, allocations: 13.59 MB / 0.6606 GB, free: 5.328 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/0.877, allocations: 51.5 kB / 0.6606 GB, free: 5.277 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001746/0.8788, allocations: 214.6 kB / 0.6608 GB, free: 5.07 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005484/0.8793, allocations: 374.2 kB / 0.6612 GB, free: 4.703 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03015/0.9095, allocations: 9.92 MB / 0.6709 GB, free: 10.77 MB / 0.5418 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.06331/0.9728, allocations: 39.25 MB / 0.7092 GB, free: 2.371 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02615/0.9989, allocations: 8.35 MB / 0.7174 GB, free: 9.871 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008237/1.007, allocations: 3.172 MB / 0.7204 GB, free: 6.629 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.008, allocations: 281.3 kB / 0.7207 GB, free: 6.355 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02225/1.031, allocations: 6.784 MB / 0.7273 GB, free: 15.42 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005331/1.036, allocations: 0.8323 MB / 0.7282 GB, free: 14.59 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=870): time 3.894e-05/1.036, allocations: 0 / 0.7282 GB, free: 14.59 MB / 0.6043 GB Notification: Performance of matching and sorting (n=872): time 0.3398/1.376, allocations: 51.52 MB / 0.7785 GB, free: 168.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004022/1.376, allocations: 1.534 MB / 0.78 GB, free: 166.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.387, allocations: 5.963 MB / 0.7858 GB, free: 164.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.00183/1.388, allocations: 102.4 kB / 0.7859 GB, free: 164.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.391, allocations: 2.848 MB / 0.7887 GB, free: 162.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003686/1.394, allocations: 2.94 MB / 0.7915 GB, free: 160.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003626/1.398, allocations: 1.782 MB / 0.7933 GB, free: 160.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/1.398, allocations: 303.1 kB / 0.7936 GB, free: 159.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006873/1.405, allocations: 4.264 MB / 0.7977 GB, free: 157.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009421/1.414, allocations: 7.325 MB / 0.8049 GB, free: 152.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2948/1.709, allocations: 54.37 MB / 0.858 GB, free: 106.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/1.709, allocations: 20 kB / 0.858 GB, free: 106.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03352/1.743, allocations: 13.22 MB / 0.8709 GB, free: 93.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/1.743, allocations: 69.69 kB / 0.871 GB, free: 93.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02405/1.767, allocations: 10.36 MB / 0.8811 GB, free: 82.71 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005678/1.773, allocations: 1.535 MB / 0.8826 GB, free: 81.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009632/1.782, allocations: 2.348 MB / 0.8849 GB, free: 78.85 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.794, allocations: 11.73 MB / 0.8963 GB, free: 66.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007939/1.802, allocations: 329.4 kB / 0.8966 GB, free: 66.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002307/1.804, allocations: 0.553 MB / 0.8972 GB, free: 65.65 MB / 0.6043 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0131/1.817, allocations: 5.962 MB / 0.903 GB, free: 59.68 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009701/1.827, allocations: 7.281 MB / 0.9101 GB, free: 51.21 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2688/2.096, allocations: 51.15 MB / 0.9601 GB, free: 15.07 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.644e-05/2.096, allocations: 20 kB / 0.9601 GB, free: 15.05 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.2988/2.394, allocations: 12.9 MB / 0.9727 GB, free: 195.5 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 8.368e-05/2.395, allocations: 67.77 kB / 0.9727 GB, free: 195.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0217/2.416, allocations: 10.03 MB / 0.9825 GB, free: 191.7 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004648/2.421, allocations: 1.182 MB / 0.9837 GB, free: 191.4 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/2.432, allocations: 2.349 MB / 0.986 GB, free: 191.2 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/2.445, allocations: 11.67 MB / 0.9974 GB, free: 181.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008062/2.453, allocations: 319.3 kB / 0.9977 GB, free: 181.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002799/2.456, allocations: 0.5448 MB / 0.9982 GB, free: 181.3 MB / 0.6199 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 7 (ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.004252/2.46, allocations: 0.7236 MB / 0.9989 GB, free: 180.7 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005288/2.466, allocations: 0.8909 MB / 0.9998 GB, free: 180.7 MB / 0.6199 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1261 equation(s) and 1208 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02849/2.494, allocations: 10.7 MB / 1.01 GB, free: 177.5 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.248665199964307]