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.01228/0.01228, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.007388/0.007388, allocations: 80.64 kB / 24.44 MB, free: 7.531 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.001619/0.001619, allocations: 160.8 kB / 28.2 MB, free: 4.668 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.458/1.458, allocations: 177.2 MB / 209 MB, free: 2.781 MB / 186.7 MB " [Timeout remaining time 178] 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 1.083/1.083, allocations: 102.5 MB / 368.3 MB, free: 1.262 MB / 330.8 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 0.5.2 (/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_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.1.|tank_L3_adv.wall.U.2.|tank_L3_adv.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 468.3 MB, free: 13.49 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.747e-05, allocations: 12.22 kB / 468.3 MB, free: 13.48 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.397/0.3971, allocations: 70.98 MB / 0.5266 GB, free: 70.95 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0361/0.4332, allocations: 23.85 MB / 0.5499 GB, free: 55.32 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007078/0.4403, allocations: 161.4 kB / 0.5501 GB, free: 55.24 MB / 490.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.008319/0.4486, allocations: 3.085 MB / 0.5531 GB, free: 53.83 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01399/0.4626, allocations: 4.9 MB / 0.5579 GB, free: 50.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.4728, allocations: 4.162 MB / 0.5619 GB, free: 48.7 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01943/0.4922, allocations: 13.3 MB / 0.5749 GB, free: 41.61 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008534/0.5008, allocations: 4.296 MB / 0.5791 GB, free: 38.39 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01995/0.5207, allocations: 7.339 MB / 0.5863 GB, free: 33.23 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009995/0.5307, allocations: 4.966 MB / 0.5911 GB, free: 28.25 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003299/0.534, allocations: 0.8893 MB / 0.592 GB, free: 27.36 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09201/0.626, allocations: 18.07 MB / 0.6097 GB, free: 11.31 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00409/0.6301, allocations: 2.92 MB / 0.6125 GB, free: 8.379 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00719/0.6373, allocations: 2.906 MB / 0.6153 GB, free: 5.469 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02447/0.6618, allocations: 14.26 MB / 0.6293 GB, free: 7.172 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.6618, allocations: 0 / 0.6293 GB, free: 7.172 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6618, allocations: 0 / 0.6293 GB, free: 7.172 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004718/0.6622, allocations: 0 / 0.6293 GB, free: 7.172 MB / 0.4949 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.02821/0.6904, allocations: 8.973 MB / 0.638 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.6905, allocations: 12.03 kB / 0.638 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.6957, allocations: 1.411 MB / 0.6394 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/0.7145, allocations: 7.314 MB / 0.6466 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005929/0.7151, allocations: 308.4 kB / 0.6469 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/0.7176, allocations: 440.3 kB / 0.6473 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03793/0.7555, allocations: 13.6 MB / 0.6606 GB, free: 5.277 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/0.7558, allocations: 51.5 kB / 0.6606 GB, free: 5.227 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002071/0.7578, allocations: 204 kB / 0.6608 GB, free: 5.027 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007181/0.7586, allocations: 378.2 kB / 0.6612 GB, free: 4.656 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0314/0.79, allocations: 9.922 MB / 0.6709 GB, free: 10.72 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.06394/0.8539, allocations: 39.25 MB / 0.7092 GB, free: 2.332 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02747/0.8814, allocations: 8.355 MB / 0.7173 GB, free: 9.832 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009326/0.8907, allocations: 3.168 MB / 0.7204 GB, free: 6.594 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.8922, allocations: 282.6 kB / 0.7207 GB, free: 6.316 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02189/0.9141, allocations: 6.776 MB / 0.7273 GB, free: 15.39 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004898/0.919, allocations: 0.8336 MB / 0.7281 GB, free: 14.55 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=870): time 2.456e-05/0.919, allocations: 0 / 0.7281 GB, free: 14.55 MB / 0.6043 GB Notification: Performance of matching and sorting (n=872): time 0.3679/1.287, allocations: 51.51 MB / 0.7784 GB, free: 168.6 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003883/1.287, allocations: 1.539 MB / 0.7799 GB, free: 166.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/1.299, allocations: 5.969 MB / 0.7858 GB, free: 164.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001827/1.301, allocations: 96.42 kB / 0.7859 GB, free: 164.6 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/1.303, allocations: 2.852 MB / 0.7886 GB, free: 162.6 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003932/1.307, allocations: 2.942 MB / 0.7915 GB, free: 160.6 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004715/1.312, allocations: 1.784 MB / 0.7933 GB, free: 159.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/1.312, allocations: 305 kB / 0.7936 GB, free: 159.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007777/1.32, allocations: 4.26 MB / 0.7977 GB, free: 157.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/1.331, allocations: 7.322 MB / 0.8049 GB, free: 152.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2952/1.626, allocations: 54.36 MB / 0.858 GB, free: 106.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.644e-05/1.626, allocations: 24.55 kB / 0.858 GB, free: 106.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03273/1.659, allocations: 13.23 MB / 0.8709 GB, free: 93.05 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/1.659, allocations: 61.69 kB / 0.8709 GB, free: 92.99 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02372/1.683, allocations: 10.36 MB / 0.8811 GB, free: 82.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/1.689, allocations: 1.52 MB / 0.8826 GB, free: 81.11 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009185/1.698, allocations: 2.359 MB / 0.8849 GB, free: 78.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.709, allocations: 11.74 MB / 0.8963 GB, free: 66.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/1.716, allocations: 317.7 kB / 0.8966 GB, free: 66.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002057/1.718, allocations: 0.5471 MB / 0.8972 GB, free: 65.55 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.01212/1.73, allocations: 5.976 MB / 0.903 GB, free: 59.57 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009097/1.739, allocations: 7.273 MB / 0.9101 GB, free: 51.11 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2638/2.003, allocations: 51.16 MB / 0.9601 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.07e-05/2.003, allocations: 20 kB / 0.9601 GB, free: 14.95 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.2955/2.298, allocations: 12.88 MB / 0.9727 GB, free: 195.4 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/2.298, allocations: 73.47 kB / 0.9727 GB, free: 195.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02251/2.321, allocations: 10.03 MB / 0.9825 GB, free: 191.5 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004798/2.326, allocations: 1.185 MB / 0.9837 GB, free: 191.3 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/2.338, allocations: 2.347 MB / 0.986 GB, free: 191.1 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/2.351, allocations: 11.67 MB / 0.9974 GB, free: 181.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008163/2.359, allocations: 318.3 kB / 0.9977 GB, free: 181.2 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00285/2.362, allocations: 0.5486 MB / 0.9982 GB, free: 181.1 MB / 0.6199 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.004111/2.366, allocations: 0.7258 MB / 0.9989 GB, free: 180.6 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005015/2.371, allocations: 0.8838 MB / 0.9998 GB, free: 180.5 MB / 0.6199 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.0254/2.397, allocations: 10.7 MB / 1.01 GB, free: 177.3 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.044655926991254]