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.008007/0.008007, allocations: 1.795 MB / 21.35 MB, free: 3.184 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.0009562/0.0009562, allocations: 83.34 kB / 25.15 MB, free: 6.941 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.001086/0.001086, allocations: 170.5 kB / 29.06 MB, free: 3.5 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.8963/0.8963, allocations: 177.2 MB / 210 MB, free: 3.559 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.5632/0.5632, allocations: 102.5 MB / 369.5 MB, free: 360 kB / 330.7 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.162e-06/1.162e-06, allocations: 0 / 470 MB, free: 18.92 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.422e-05, allocations: 5.281 kB / 470 MB, free: 18.92 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.1091/0.1091, allocations: 76.92 MB / 0.5341 GB, free: 10.95 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02685/0.1359, allocations: 24.73 MB / 0.5582 GB, free: 2.145 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.1383, allocations: 158.8 kB / 0.5584 GB, free: 1.988 MB / 474.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.003767/0.142, allocations: 3.089 MB / 0.5614 GB, free: 14.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.1476, allocations: 4.928 MB / 0.5662 GB, free: 9.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.1523, allocations: 4.167 MB / 0.5703 GB, free: 5.754 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008774/0.1611, allocations: 13.28 MB / 0.5832 GB, free: 8.441 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/0.1647, allocations: 4.31 MB / 0.5874 GB, free: 4.062 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1137/0.2784, allocations: 52.71 MB / 0.6389 GB, free: 0.5234 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1855/0.4639, allocations: 4.839 MB / 0.6436 GB, free: 75.54 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.4659, allocations: 0.8275 MB / 0.6444 GB, free: 75.54 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.4701, allocations: 2.569 MB / 0.647 GB, free: 75.54 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.4716, allocations: 2.792 MB / 0.6497 GB, free: 75.54 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.474, allocations: 2.797 MB / 0.6524 GB, free: 75.54 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007232/0.4813, allocations: 9.004 MB / 0.6612 GB, free: 74.84 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4813, allocations: 0 / 0.6612 GB, free: 74.84 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4813, allocations: 0 / 0.6612 GB, free: 74.84 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 8.53e-05/0.4814, allocations: 2.688 kB / 0.6612 GB, free: 74.84 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.007816/0.4892, allocations: 9.124 MB / 0.6701 GB, free: 70.97 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4892, allocations: 8.906 kB / 0.6701 GB, free: 70.97 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.4907, allocations: 1.301 MB / 0.6714 GB, free: 70.46 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/0.4956, allocations: 5.443 MB / 0.6767 GB, free: 69.26 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.4958, allocations: 310.1 kB / 0.677 GB, free: 69.25 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004974/0.4963, allocations: 434.8 kB / 0.6774 GB, free: 69.25 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.5076, allocations: 11.39 MB / 0.6886 GB, free: 62.06 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.614e-05/0.5077, allocations: 48.94 kB / 0.6886 GB, free: 62.06 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.5081, allocations: 217.7 kB / 0.6888 GB, free: 62.06 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002858/0.5084, allocations: 374.3 kB / 0.6892 GB, free: 62.05 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009578/0.518, allocations: 5.521 MB / 0.6946 GB, free: 60.53 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.01841/0.5364, allocations: 50.71 MB / 0.7441 GB, free: 13.43 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/0.5452, allocations: 5.612 MB / 0.7496 GB, free: 10.89 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.547, allocations: 1.525 MB / 0.751 GB, free: 10.2 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004/0.5474, allocations: 275.3 kB / 0.7513 GB, free: 10.12 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007055/0.5545, allocations: 4.717 MB / 0.7559 GB, free: 7.648 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001889/0.5564, allocations: 0.8371 MB / 0.7567 GB, free: 7.094 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=870): time 7.274e-06/0.5564, allocations: 2.625 kB / 0.7567 GB, free: 7.094 MB / 0.5418 GB Notification: Performance of matching and sorting (n=872): time 0.04273/0.5991, allocations: 41.21 MB / 0.797 GB, free: 2.781 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004946/0.5996, allocations: 1.97 MB / 0.7989 GB, free: 368 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005121/0.6047, allocations: 5.229 MB / 0.804 GB, free: 11.12 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005674/0.6053, allocations: 108.4 kB / 0.8041 GB, free: 11.02 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.607, allocations: 3.093 MB / 0.8071 GB, free: 7.93 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002059/0.6091, allocations: 3.02 MB / 0.8101 GB, free: 4.953 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/0.611, allocations: 1.916 MB / 0.8119 GB, free: 3.02 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.611, allocations: 476.8 kB / 0.8124 GB, free: 2.551 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.6137, allocations: 1.713 MB / 0.8141 GB, free: 0.8125 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/0.6185, allocations: 6.327 MB / 0.8203 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.6289, allocations: 9.053 MB / 0.8291 GB, free: 14.79 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.6289, allocations: 22.66 kB / 0.8291 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01219/0.6411, allocations: 7.963 MB / 0.8369 GB, free: 7.262 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.6412, allocations: 65.7 kB / 0.837 GB, free: 7.191 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008415/0.6496, allocations: 5.432 MB / 0.8423 GB, free: 1.797 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.6521, allocations: 0.9887 MB / 0.8432 GB, free: 0.8516 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004243/0.6563, allocations: 2.297 MB / 0.8455 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.6632, allocations: 13.14 MB / 0.8583 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.6662, allocations: 312.1 kB / 0.8586 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/0.6667, allocations: 0.5465 MB / 0.8591 GB, free: 72 kB / 0.6355 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.00395/0.6707, allocations: 1.903 MB / 0.861 GB, free: 14.16 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00474/0.6754, allocations: 6.301 MB / 0.8671 GB, free: 6.156 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2199/0.8953, allocations: 8.994 MB / 0.8759 GB, free: 170.9 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.416e-05/0.8953, allocations: 17 kB / 0.8759 GB, free: 170.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01379/0.9091, allocations: 7.761 MB / 0.8835 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.9092, allocations: 67.14 kB / 0.8836 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008257/0.9174, allocations: 5.197 MB / 0.8887 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.9193, allocations: 0.7724 MB / 0.8894 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004597/0.9239, allocations: 2.293 MB / 0.8917 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005539/0.9294, allocations: 13.1 MB / 0.9044 GB, free: 158.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/0.9334, allocations: 313.4 kB / 0.9047 GB, free: 158.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007306/0.9341, allocations: 0.5437 MB / 0.9053 GB, free: 158.2 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.001675/0.9358, allocations: 0.8198 MB / 0.9061 GB, free: 157.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/0.9374, allocations: 0.8878 MB / 0.9069 GB, free: 157.9 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.01058/0.9479, allocations: 8.964 MB / 0.9157 GB, free: 157.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3469060910865664]