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.009976/0.009976, allocations: 1.792 MB / 21.58 MB, free: 2.891 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.0006842/0.0006842, allocations: 88.05 kB / 25.4 MB, free: 6.094 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.0008439/0.0008439, allocations: 154.3 kB / 29.33 MB, free: 2.797 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.9426/0.9426, allocations: 177.1 MB / 210.3 MB, free: 3.449 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.6192/0.6192, allocations: 102.5 MB / 369.9 MB, free: 208 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 2.615e-06/2.615e-06, allocations: 0 / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.611e-05, allocations: 5.562 kB / 470.4 MB, free: 18.83 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.1358/0.1359, allocations: 76.21 MB / 0.5338 GB, free: 11.36 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03411/0.17, allocations: 24.6 MB / 0.5579 GB, free: 2.691 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005721/0.1757, allocations: 154.8 kB / 0.558 GB, free: 2.539 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.007236/0.1829, allocations: 3.101 MB / 0.561 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.1986, allocations: 4.928 MB / 0.5659 GB, free: 10.47 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009956/0.2085, allocations: 4.179 MB / 0.5699 GB, free: 6.281 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01674/0.2253, allocations: 13.26 MB / 0.5829 GB, free: 8.977 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007098/0.2324, allocations: 4.313 MB / 0.5871 GB, free: 4.598 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1376/0.37, allocations: 52.69 MB / 0.6386 GB, free: 1.082 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2988/0.6688, allocations: 4.824 MB / 0.6433 GB, free: 75.71 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003415/0.6722, allocations: 0.8269 MB / 0.6441 GB, free: 75.71 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008196/0.6804, allocations: 2.565 MB / 0.6466 GB, free: 75.71 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005521/0.6859, allocations: 2.788 MB / 0.6493 GB, free: 75.71 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007879/0.6938, allocations: 2.807 MB / 0.652 GB, free: 75.71 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.7115, allocations: 9.005 MB / 0.6608 GB, free: 75.01 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7115, allocations: 2.656 kB / 0.6608 GB, free: 75.01 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7115, allocations: 0 / 0.6608 GB, free: 75.01 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0005077/0.712, allocations: 3.281 kB / 0.6608 GB, free: 75.01 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.01927/0.7313, allocations: 9.117 MB / 0.6697 GB, free: 71.14 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7313, allocations: 10.62 kB / 0.6698 GB, free: 71.14 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.7348, allocations: 1.297 MB / 0.671 GB, free: 70.64 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.7452, allocations: 5.284 MB / 0.6762 GB, free: 69.43 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.7456, allocations: 311.5 kB / 0.6765 GB, free: 69.42 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/0.7475, allocations: 432.5 kB / 0.6769 GB, free: 69.42 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.7669, allocations: 10.97 MB / 0.6876 GB, free: 62.23 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002631/0.7671, allocations: 46.56 kB / 0.6876 GB, free: 62.23 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008255/0.7679, allocations: 213.8 kB / 0.6879 GB, free: 62.23 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004948/0.7684, allocations: 371.5 kB / 0.6882 GB, free: 62.22 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.7827, allocations: 4.907 MB / 0.693 GB, free: 60.98 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.03749/0.8202, allocations: 50.67 MB / 0.7425 GB, free: 15.75 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.8306, allocations: 5.231 MB / 0.7476 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.8335, allocations: 1.301 MB / 0.7489 GB, free: 12.89 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/0.8342, allocations: 455.1 kB / 0.7493 GB, free: 12.81 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00854/0.8427, allocations: 4.458 MB / 0.7536 GB, free: 10.71 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003216/0.8459, allocations: 0.8473 MB / 0.7545 GB, free: 10.15 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=870): time 2.269e-05/0.846, allocations: 0 / 0.7545 GB, free: 10.15 MB / 0.5418 GB Notification: Performance of matching and sorting (n=872): time 0.07291/0.9189, allocations: 14.56 MB / 0.7687 GB, free: 1.809 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003467/0.9223, allocations: 1.969 MB / 0.7706 GB, free: 15.39 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/0.9386, allocations: 5.149 MB / 0.7756 GB, free: 11.08 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001893/0.9405, allocations: 101.7 kB / 0.7757 GB, free: 10.97 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.003251/0.9438, allocations: 3.139 MB / 0.7788 GB, free: 8.047 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004629/0.9484, allocations: 3.044 MB / 0.7818 GB, free: 5.18 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004124/0.9525, allocations: 1.953 MB / 0.7837 GB, free: 3.391 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9527, allocations: 479.4 kB / 0.7841 GB, free: 2.922 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/0.9551, allocations: 1.373 MB / 0.7855 GB, free: 1.523 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/0.9604, allocations: 6.024 MB / 0.7914 GB, free: 10.01 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/0.9728, allocations: 8.171 MB / 0.7993 GB, free: 1.086 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.804e-05/0.9728, allocations: 20 kB / 0.7994 GB, free: 1.066 MB / 0.573 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01507/0.9879, allocations: 7.392 MB / 0.8066 GB, free: 10.14 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/0.988, allocations: 65.69 kB / 0.8066 GB, free: 10.07 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008561/0.9965, allocations: 4.982 MB / 0.8115 GB, free: 5.129 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.9988, allocations: 0.9822 MB / 0.8125 GB, free: 4.199 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006213/1.005, allocations: 2.277 MB / 0.8147 GB, free: 2.059 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008542/1.014, allocations: 12.96 MB / 0.8274 GB, free: 4.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.019, allocations: 292.2 kB / 0.8276 GB, free: 4.293 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/1.021, allocations: 483.6 kB / 0.8281 GB, free: 3.82 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.004471/1.025, allocations: 1.566 MB / 0.8296 GB, free: 2.246 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004983/1.03, allocations: 6.01 MB / 0.8355 GB, free: 10.74 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01067/1.041, allocations: 8.123 MB / 0.8434 GB, free: 1.859 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.897e-05/1.041, allocations: 19.94 kB / 0.8434 GB, free: 1.84 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01337/1.054, allocations: 7.105 MB / 0.8504 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/1.054, allocations: 72.34 kB / 0.8504 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008009/1.062, allocations: 4.692 MB / 0.855 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/1.064, allocations: 0.764 MB / 0.8558 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005437/1.069, allocations: 2.272 MB / 0.858 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/1.077, allocations: 12.91 MB / 0.8706 GB, free: 6.113 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005257/1.082, allocations: 293 kB / 0.8709 GB, free: 5.828 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/1.084, allocations: 483.6 kB / 0.8713 GB, free: 5.355 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.00227/1.086, allocations: 0.836 MB / 0.8722 GB, free: 4.617 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002717/1.089, allocations: 0.8815 MB / 0.873 GB, free: 3.73 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.3087/1.397, allocations: 8.649 MB / 0.8815 GB, free: 174.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.208917850162834]