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.01426/0.01426, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0009828/0.0009828, allocations: 81.12 kB / 26.19 MB, free: 6.078 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.0009977/0.0009977, allocations: 169.4 kB / 30.12 MB, free: 2.184 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 0.8475/0.8475, allocations: 177.2 MB / 211.1 MB, free: 2.266 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6741/0.6741, allocations: 102.5 MB / 370.6 MB, free: 0.8242 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 471.2 MB, free: 12.4 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.605e-05, allocations: 3.438 kB / 471.2 MB, free: 12.4 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.2996/0.2997, allocations: 76.2 MB / 0.5346 GB, free: 68.61 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02668/0.3263, allocations: 24.6 MB / 0.5586 GB, free: 51.72 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004863/0.3312, allocations: 158.8 kB / 0.5588 GB, free: 51.65 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.006639/0.3378, allocations: 3.078 MB / 0.5618 GB, free: 50.25 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.3485, allocations: 4.94 MB / 0.5666 GB, free: 47.34 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007671/0.3562, allocations: 4.167 MB / 0.5707 GB, free: 45.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01423/0.3704, allocations: 13.28 MB / 0.5836 GB, free: 37.13 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007002/0.3774, allocations: 4.305 MB / 0.5878 GB, free: 33.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1196/0.497, allocations: 52.7 MB / 0.6393 GB, free: 144 kB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008/0.505, allocations: 4.825 MB / 0.644 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002404/0.5074, allocations: 0.8281 MB / 0.6448 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006037/0.5134, allocations: 2.567 MB / 0.6473 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003033/0.5164, allocations: 2.784 MB / 0.65 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00558/0.522, allocations: 2.805 MB / 0.6528 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.5354, allocations: 8.999 MB / 0.6616 GB, free: 9.277 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5354, allocations: 0 / 0.6616 GB, free: 9.277 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5354, allocations: 0 / 0.6616 GB, free: 9.277 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0002962/0.5357, allocations: 0 / 0.6616 GB, free: 9.277 MB / 0.5262 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.01173/0.5474, allocations: 9.135 MB / 0.6705 GB, free: 64 kB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5474, allocations: 8.031 kB / 0.6705 GB, free: 56 kB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.5493, allocations: 1.294 MB / 0.6718 GB, free: 14.76 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00645/0.5558, allocations: 5.282 MB / 0.6769 GB, free: 9.402 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.556, allocations: 304.4 kB / 0.6772 GB, free: 9.102 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00058/0.5566, allocations: 443 kB / 0.6776 GB, free: 8.672 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.5692, allocations: 10.97 MB / 0.6883 GB, free: 11.56 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.332e-05/0.5693, allocations: 51.5 kB / 0.6884 GB, free: 11.51 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004075/0.5697, allocations: 211.9 kB / 0.6886 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000457/0.5702, allocations: 376.9 kB / 0.689 GB, free: 10.93 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009598/0.5798, allocations: 4.897 MB / 0.6937 GB, free: 6.035 MB / 0.5574 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.03149/0.6112, allocations: 50.68 MB / 0.7432 GB, free: 1.809 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2086/0.8198, allocations: 5.217 MB / 0.7483 GB, free: 154.1 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.8225, allocations: 1.307 MB / 0.7496 GB, free: 153.8 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.8231, allocations: 271.1 kB / 0.7499 GB, free: 153.8 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01138/0.8345, allocations: 4.463 MB / 0.7542 GB, free: 153.2 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00295/0.8374, allocations: 0.8415 MB / 0.755 GB, free: 153.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=870): time 2.837e-05/0.8374, allocations: 0 / 0.755 GB, free: 153.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=872): time 0.0415/0.8789, allocations: 14.54 MB / 0.7692 GB, free: 152.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/0.8792, allocations: 1.972 MB / 0.7712 GB, free: 149.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004923/0.8842, allocations: 5.15 MB / 0.7762 GB, free: 149.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001317/0.8855, allocations: 106.1 kB / 0.7763 GB, free: 149.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.8871, allocations: 3.141 MB / 0.7794 GB, free: 148.2 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002565/0.8897, allocations: 3.048 MB / 0.7823 GB, free: 146.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002375/0.8921, allocations: 1.957 MB / 0.7843 GB, free: 146.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.8921, allocations: 476.8 kB / 0.7847 GB, free: 145.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.8939, allocations: 1.374 MB / 0.7861 GB, free: 145.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003443/0.8974, allocations: 6.02 MB / 0.7919 GB, free: 139.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008343/0.9057, allocations: 8.166 MB / 0.7999 GB, free: 131.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.086e-05/0.9058, allocations: 20 kB / 0.7999 GB, free: 131.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.011/0.9168, allocations: 7.221 MB / 0.807 GB, free: 125.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.619e-05/0.9168, allocations: 66.86 kB / 0.807 GB, free: 125.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007072/0.9239, allocations: 4.816 MB / 0.8117 GB, free: 120.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.9261, allocations: 0.9924 MB / 0.8127 GB, free: 120 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/0.9306, allocations: 2.278 MB / 0.8149 GB, free: 117.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005021/0.9356, allocations: 12.96 MB / 0.8276 GB, free: 104.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/0.9398, allocations: 291.5 kB / 0.8279 GB, free: 104.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/0.9408, allocations: 482.5 kB / 0.8283 GB, free: 104.2 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.003643/0.9444, allocations: 1.57 MB / 0.8299 GB, free: 102.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002838/0.9473, allocations: 6.008 MB / 0.8357 GB, free: 95.37 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006861/0.9541, allocations: 8.122 MB / 0.8437 GB, free: 87.29 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.503e-05/0.9542, allocations: 16 kB / 0.8437 GB, free: 87.28 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.00983/0.964, allocations: 7.028 MB / 0.8505 GB, free: 81.14 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.964, allocations: 73.16 kB / 0.8506 GB, free: 81.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006045/0.9701, allocations: 4.606 MB / 0.8551 GB, free: 76.47 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.9716, allocations: 0.7579 MB / 0.8558 GB, free: 75.75 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/0.9758, allocations: 2.273 MB / 0.8581 GB, free: 73.62 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.9802, allocations: 12.91 MB / 0.8707 GB, free: 60.19 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/0.9839, allocations: 296.9 kB / 0.871 GB, free: 59.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006637/0.9846, allocations: 483.6 kB / 0.8714 GB, free: 59.43 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: 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.0018/0.9864, allocations: 0.8204 MB / 0.8722 GB, free: 58.73 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/0.9881, allocations: 0.8922 MB / 0.8731 GB, free: 57.84 MB / 0.6043 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.009068/0.9972, allocations: 8.66 MB / 0.8815 GB, free: 50.17 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6036527482792735]