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.0279/0.0279, allocations: 1.796 MB / 21.15 MB, free: 3.242 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.002085/0.002085, allocations: 76.91 kB / 24.88 MB, free: 6.32 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.002031/0.002031, allocations: 169.5 kB / 28.74 MB, free: 3.512 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.524/1.524, allocations: 177.2 MB / 209.6 MB, free: 2.375 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.168/1.168, allocations: 102.5 MB / 369.1 MB, free: 0.8828 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.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 5.641e-06/5.641e-06, allocations: 3.984 kB / 469.1 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.809e-05/5.373e-05, allocations: 4 kB / 469.1 MB, free: 13.01 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.4581/0.4582, allocations: 74.47 MB / 0.5309 GB, free: 68.61 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03588/0.4941, allocations: 24.59 MB / 0.5549 GB, free: 52.14 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007486/0.5016, allocations: 161.6 kB / 0.555 GB, free: 52.06 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.009619/0.5112, allocations: 3.083 MB / 0.558 GB, free: 50.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.5273, allocations: 4.917 MB / 0.5628 GB, free: 47.76 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.5387, allocations: 4.164 MB / 0.5669 GB, free: 45.5 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02004/0.5587, allocations: 13.28 MB / 0.5799 GB, free: 38.2 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007096/0.5658, allocations: 4.304 MB / 0.5841 GB, free: 34.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01786/0.5837, allocations: 7.31 MB / 0.5912 GB, free: 28.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009906/0.5936, allocations: 4.915 MB / 0.596 GB, free: 24.02 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003449/0.597, allocations: 0.8672 MB / 0.5969 GB, free: 23.16 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00908/0.6061, allocations: 2.612 MB / 0.5994 GB, free: 20.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004429/0.6105, allocations: 2.908 MB / 0.6023 GB, free: 17.63 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008122/0.6186, allocations: 2.884 MB / 0.6051 GB, free: 14.74 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02058/0.6392, allocations: 14.15 MB / 0.6189 GB, free: 0.5508 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6392, allocations: 0 / 0.6189 GB, free: 0.5508 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6392, allocations: 0 / 0.6189 GB, free: 0.5508 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004701/0.6397, allocations: 0 / 0.6189 GB, free: 0.5508 MB / 490.8 MB 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.03083/0.6705, allocations: 10.16 MB / 0.6288 GB, free: 6.32 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.6706, allocations: 12.03 kB / 0.6288 GB, free: 6.309 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007514/0.6781, allocations: 1.423 MB / 0.6302 GB, free: 4.883 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/0.6968, allocations: 6.448 MB / 0.6365 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/0.6973, allocations: 308.4 kB / 0.6368 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/0.6995, allocations: 440.2 kB / 0.6372 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03672/0.7362, allocations: 14.05 MB / 0.6509 GB, free: 13.45 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002359/0.7364, allocations: 54.12 kB / 0.651 GB, free: 13.4 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001861/0.7383, allocations: 200 kB / 0.6512 GB, free: 13.2 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006802/0.739, allocations: 378 kB / 0.6516 GB, free: 12.84 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/0.7673, allocations: 8.333 MB / 0.6597 GB, free: 4.492 MB / 0.5262 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.08075/0.8481, allocations: 60.31 MB / 0.7186 GB, free: 5.938 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02285/0.8709, allocations: 7.554 MB / 0.726 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006183/0.8771, allocations: 2.525 MB / 0.7284 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.8781, allocations: 285.2 kB / 0.7287 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02048/0.8986, allocations: 6.904 MB / 0.7354 GB, free: 4.18 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0047/0.9033, allocations: 0.7906 MB / 0.7362 GB, free: 3.387 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=870): time 1.845e-05/0.9033, allocations: 0 / 0.7362 GB, free: 3.387 MB / 0.6043 GB Notification: Performance of matching and sorting (n=872): time 0.291/1.194, allocations: 48.48 MB / 0.7836 GB, free: 166.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000353/1.195, allocations: 1.533 MB / 0.7851 GB, free: 165 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.205, allocations: 7.342 MB / 0.7922 GB, free: 162.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001717/1.207, allocations: 99.64 kB / 0.7923 GB, free: 162 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/1.21, allocations: 3.419 MB / 0.7957 GB, free: 159.6 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004048/1.214, allocations: 3.278 MB / 0.7989 GB, free: 157.4 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004881/1.219, allocations: 2.271 MB / 0.8011 GB, free: 156.5 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/1.219, allocations: 477.6 kB / 0.8015 GB, free: 156 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006704/1.225, allocations: 3.592 MB / 0.805 GB, free: 154.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00967/1.235, allocations: 7.984 MB / 0.8128 GB, free: 145.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0234/1.258, allocations: 15.1 MB / 0.8276 GB, free: 130.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.264e-05/1.258, allocations: 16 kB / 0.8276 GB, free: 130.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02633/1.285, allocations: 11.7 MB / 0.839 GB, free: 120.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/1.285, allocations: 65.45 kB / 0.8391 GB, free: 120.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01815/1.303, allocations: 8.638 MB / 0.8475 GB, free: 111.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/1.307, allocations: 0.8739 MB / 0.8484 GB, free: 110.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009017/1.316, allocations: 2.295 MB / 0.8506 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/1.325, allocations: 14.1 MB / 0.8644 GB, free: 93.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007076/1.333, allocations: 314.2 kB / 0.8647 GB, free: 93.44 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/1.335, allocations: 0.5432 MB / 0.8652 GB, free: 92.9 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.01066/1.345, allocations: 4.698 MB / 0.8698 GB, free: 88.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008439/1.354, allocations: 7.933 MB / 0.8776 GB, free: 78.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02177/1.376, allocations: 14.89 MB / 0.8921 GB, free: 62.59 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.694e-05/1.376, allocations: 22.81 kB / 0.8921 GB, free: 62.57 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02407/1.4, allocations: 11.37 MB / 0.9032 GB, free: 51.19 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/1.4, allocations: 69.69 kB / 0.9033 GB, free: 51.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01643/1.416, allocations: 8.289 MB / 0.9114 GB, free: 42.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/1.418, allocations: 0.6203 MB / 0.912 GB, free: 42.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009087/1.428, allocations: 2.3 MB / 0.9142 GB, free: 39.86 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009531/1.437, allocations: 13.93 MB / 0.9278 GB, free: 25.22 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006522/1.444, allocations: 304.7 kB / 0.9281 GB, free: 24.93 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/1.445, allocations: 0.5426 MB / 0.9287 GB, free: 24.39 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.002549/1.448, allocations: 0.8024 MB / 0.9294 GB, free: 23.58 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002753/1.451, allocations: 0.8854 MB / 0.9303 GB, free: 22.69 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 1265 equation(s) and 1212 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01806/1.469, allocations: 10.16 MB / 0.9402 GB, free: 13.07 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.532147898920812]