Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.02426/0.02426, 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.0008701/0.0008701, allocations: 79.17 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.001249/0.001249, allocations: 164.8 kB / 30.12 MB, free: 2.188 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.9586/0.9586, allocations: 177.2 MB / 211.1 MB, free: 3.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6332/0.6332, allocations: 102.4 MB / 370.6 MB, free: 212 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.697e-05, allocations: 3 kB / 471.2 MB, free: 18.81 MB / 410.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.1275/0.1275, allocations: 76.2 MB / 0.5346 GB, free: 11.41 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03327/0.1608, allocations: 24.6 MB / 0.5586 GB, free: 2.73 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005903/0.1667, allocations: 154.9 kB / 0.5588 GB, free: 2.578 MB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.007694/0.1744, allocations: 3.097 MB / 0.5618 GB, free: 15.46 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.1868, allocations: 4.932 MB / 0.5666 GB, free: 10.5 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009204/0.196, allocations: 4.171 MB / 0.5707 GB, free: 6.324 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01719/0.2132, allocations: 13.26 MB / 0.5836 GB, free: 9.027 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007522/0.2207, allocations: 4.314 MB / 0.5878 GB, free: 4.645 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1307/0.3514, allocations: 52.7 MB / 0.6393 GB, free: 1.113 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2453/0.5967, allocations: 4.821 MB / 0.644 GB, free: 75.78 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003004/0.5997, allocations: 0.8248 MB / 0.6448 GB, free: 75.78 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007555/0.6072, allocations: 2.565 MB / 0.6473 GB, free: 75.78 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.00471/0.6119, allocations: 2.792 MB / 0.65 GB, free: 75.78 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007222/0.6192, allocations: 2.801 MB / 0.6528 GB, free: 75.78 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.6359, allocations: 9.002 MB / 0.6616 GB, free: 75.08 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.6359, allocations: 0 / 0.6616 GB, free: 75.08 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6359, allocations: 0 / 0.6616 GB, free: 75.08 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004721/0.6364, allocations: 0 / 0.6616 GB, free: 75.08 MB / 0.5418 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.01865/0.655, allocations: 9.126 MB / 0.6705 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6551, allocations: 8.781 kB / 0.6705 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.658, allocations: 1.299 MB / 0.6718 GB, free: 70.71 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009722/0.6677, allocations: 5.274 MB / 0.6769 GB, free: 69.5 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.668, allocations: 309.8 kB / 0.6772 GB, free: 69.49 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.6698, allocations: 439.2 kB / 0.6776 GB, free: 69.49 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/0.6902, allocations: 10.97 MB / 0.6883 GB, free: 62.3 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/0.6905, allocations: 45.97 kB / 0.6884 GB, free: 62.3 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008968/0.6914, allocations: 211 kB / 0.6886 GB, free: 62.3 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005994/0.692, allocations: 380.2 kB / 0.6889 GB, free: 62.29 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.7065, allocations: 4.902 MB / 0.6937 GB, free: 61.09 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.03929/0.7458, allocations: 50.67 MB / 0.7432 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.7568, allocations: 5.235 MB / 0.7483 GB, free: 13.52 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.7599, allocations: 1.304 MB / 0.7496 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.7606, allocations: 271.3 kB / 0.7499 GB, free: 12.87 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01016/0.7707, allocations: 4.461 MB / 0.7542 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003971/0.7747, allocations: 0.8382 MB / 0.755 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=870): time 2.23e-05/0.7747, allocations: 2.906 kB / 0.755 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of matching and sorting (n=872): time 0.0411/0.8158, allocations: 14.55 MB / 0.7692 GB, free: 1.848 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004099/0.8162, allocations: 1.962 MB / 0.7712 GB, free: 15.43 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007155/0.8234, allocations: 5.154 MB / 0.7762 GB, free: 11.12 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00163/0.825, allocations: 101.7 kB / 0.7763 GB, free: 11.01 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002757/0.8278, allocations: 3.139 MB / 0.7794 GB, free: 8.086 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004073/0.8318, allocations: 3.046 MB / 0.7823 GB, free: 5.219 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003272/0.8351, allocations: 1.946 MB / 0.7842 GB, free: 3.434 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8352, allocations: 484.1 kB / 0.7847 GB, free: 2.961 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.8377, allocations: 1.375 MB / 0.786 GB, free: 1.562 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005077/0.8428, allocations: 6.02 MB / 0.7919 GB, free: 10.05 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/0.8556, allocations: 8.168 MB / 0.7999 GB, free: 1.133 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-05/0.8556, allocations: 20 kB / 0.7999 GB, free: 1.113 MB / 0.573 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01456/0.8702, allocations: 7.232 MB / 0.807 GB, free: 10.35 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.8703, allocations: 60.36 kB / 0.807 GB, free: 10.29 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009205/0.8795, allocations: 4.825 MB / 0.8117 GB, free: 5.5 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.882, allocations: 0.9785 MB / 0.8127 GB, free: 4.57 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006539/0.8885, allocations: 2.274 MB / 0.8149 GB, free: 2.434 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007976/0.8965, allocations: 12.96 MB / 0.8276 GB, free: 4.953 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/0.9021, allocations: 290.9 kB / 0.8278 GB, free: 4.672 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/0.9037, allocations: 491.6 kB / 0.8283 GB, free: 4.191 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.005314/0.909, allocations: 1.567 MB / 0.8298 GB, free: 2.617 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005096/0.9141, allocations: 6.008 MB / 0.8357 GB, free: 11.12 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01111/0.9253, allocations: 8.118 MB / 0.8436 GB, free: 2.238 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-05/0.9253, allocations: 25.48 kB / 0.8437 GB, free: 2.219 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01525/0.9406, allocations: 7.019 MB / 0.8505 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.9406, allocations: 65.69 kB / 0.8506 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0087/0.9493, allocations: 4.613 MB / 0.8551 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/0.9515, allocations: 0.7606 MB / 0.8558 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/0.957, allocations: 2.275 MB / 0.8581 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007733/0.9647, allocations: 12.91 MB / 0.8707 GB, free: 6.672 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/0.9701, allocations: 290.3 kB / 0.8709 GB, free: 6.391 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/0.9715, allocations: 487.6 kB / 0.8714 GB, free: 5.914 MB / 0.6512 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.002223/0.9737, allocations: 0.8172 MB / 0.8722 GB, free: 5.188 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002347/0.9761, allocations: 0.8919 MB / 0.8731 GB, free: 4.293 MB / 0.6512 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.2559/1.232, allocations: 8.653 MB / 0.8815 GB, free: 174.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.0645062369294465]