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.01725/0.01725, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001753/0.001753, allocations: 84.27 kB / 24.89 MB, free: 6.832 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.00193/0.00193, allocations: 171.6 kB / 28.74 MB, free: 3.66 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.542/1.542, allocations: 177.1 MB / 209.6 MB, free: 2.383 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.278/1.278, allocations: 102.5 MB / 369.1 MB, free: 0.8516 MB / 330.8 MB " [Timeout remaining time 178] 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.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 1.903e-06/1.903e-06, allocations: 0 / 469.1 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.493e-05, allocations: 2.312 kB / 469.1 MB, free: 12.97 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.489/0.4891, allocations: 74.47 MB / 0.5308 GB, free: 68.69 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03765/0.5267, allocations: 24.59 MB / 0.5549 GB, free: 52.21 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008409/0.5351, allocations: 163.6 kB / 0.555 GB, free: 52.13 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.01044/0.5455, allocations: 3.076 MB / 0.558 GB, free: 50.73 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.5633, allocations: 4.916 MB / 0.5628 GB, free: 47.83 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.576, allocations: 4.162 MB / 0.5669 GB, free: 45.58 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02471/0.6007, allocations: 13.29 MB / 0.5799 GB, free: 38.28 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009104/0.6098, allocations: 4.304 MB / 0.5841 GB, free: 35.06 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0195/0.6293, allocations: 7.301 MB / 0.5912 GB, free: 28.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.6402, allocations: 4.916 MB / 0.596 GB, free: 24.03 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003826/0.644, allocations: 0.8672 MB / 0.5968 GB, free: 23.16 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.6542, allocations: 2.624 MB / 0.5994 GB, free: 20.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004797/0.659, allocations: 2.901 MB / 0.6022 GB, free: 17.63 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008516/0.6675, allocations: 2.884 MB / 0.6051 GB, free: 14.74 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02404/0.6915, allocations: 14.14 MB / 0.6189 GB, free: 0.5547 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6915, allocations: 2.656 kB / 0.6189 GB, free: 0.5547 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6915, allocations: 3.938 kB / 0.6189 GB, free: 0.5508 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004781/0.692, 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.03237/0.7244, allocations: 10.17 MB / 0.6288 GB, free: 6.309 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7244, allocations: 10.66 kB / 0.6288 GB, free: 6.301 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007608/0.732, allocations: 1.416 MB / 0.6302 GB, free: 4.883 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02175/0.7538, allocations: 6.444 MB / 0.6365 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006712/0.7545, allocations: 311.1 kB / 0.6368 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/0.7576, allocations: 436.3 kB / 0.6372 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03879/0.7963, allocations: 14.05 MB / 0.6509 GB, free: 13.45 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003005/0.7967, allocations: 47.5 kB / 0.651 GB, free: 13.41 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002134/0.7988, allocations: 212 kB / 0.6512 GB, free: 13.2 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000749/0.7995, allocations: 376.8 kB / 0.6515 GB, free: 12.83 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0289/0.8284, allocations: 8.331 MB / 0.6597 GB, free: 4.488 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.09152/0.9199, allocations: 60.31 MB / 0.7186 GB, free: 5.941 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02773/0.9477, allocations: 7.553 MB / 0.7259 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009032/0.9567, allocations: 2.519 MB / 0.7284 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/0.9583, allocations: 286.5 kB / 0.7287 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02587/0.9842, allocations: 6.91 MB / 0.7354 GB, free: 4.18 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005933/0.9901, allocations: 0.7906 MB / 0.7362 GB, free: 3.387 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=870): time 4.321e-05/0.9901, allocations: 0 / 0.7362 GB, free: 3.387 MB / 0.6043 GB Notification: Performance of matching and sorting (n=872): time 0.4431/1.433, allocations: 48.49 MB / 0.7836 GB, free: 168.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004985/1.434, allocations: 1.532 MB / 0.7851 GB, free: 166.6 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01544/1.449, allocations: 7.341 MB / 0.7922 GB, free: 163.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002176/1.451, allocations: 99.2 kB / 0.7923 GB, free: 163.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003802/1.455, allocations: 3.414 MB / 0.7957 GB, free: 160.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005528/1.461, allocations: 3.279 MB / 0.7989 GB, free: 158.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009275/1.47, allocations: 2.27 MB / 0.8011 GB, free: 157.4 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.47, allocations: 477.3 kB / 0.8015 GB, free: 156.9 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009428/1.479, allocations: 3.592 MB / 0.805 GB, free: 155.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01373/1.493, allocations: 7.986 MB / 0.8128 GB, free: 146.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02983/1.523, allocations: 15.1 MB / 0.8276 GB, free: 131.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/1.523, allocations: 20 kB / 0.8276 GB, free: 131.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03813/1.561, allocations: 11.69 MB / 0.839 GB, free: 121.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/1.562, allocations: 67.17 kB / 0.8391 GB, free: 121.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0277/1.589, allocations: 8.633 MB / 0.8475 GB, free: 112.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.593, allocations: 0.8778 MB / 0.8484 GB, free: 111.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/1.604, allocations: 2.291 MB / 0.8506 GB, free: 109.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.616, allocations: 14.1 MB / 0.8644 GB, free: 94.78 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/1.627, allocations: 310.4 kB / 0.8647 GB, free: 94.48 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003028/1.63, allocations: 0.5451 MB / 0.8652 GB, free: 93.93 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.01629/1.646, allocations: 4.693 MB / 0.8698 GB, free: 89.23 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01438/1.661, allocations: 7.944 MB / 0.8775 GB, free: 79.73 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02765/1.688, allocations: 14.88 MB / 0.8921 GB, free: 63.62 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001713/1.689, allocations: 20 kB / 0.8921 GB, free: 63.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.03774/1.726, allocations: 11.37 MB / 0.9032 GB, free: 52.21 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/1.726, allocations: 61.7 kB / 0.9033 GB, free: 52.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02493/1.751, allocations: 8.295 MB / 0.9114 GB, free: 43.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/1.754, allocations: 0.626 MB / 0.912 GB, free: 43.19 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/1.764, allocations: 2.306 MB / 0.9142 GB, free: 40.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/1.775, allocations: 13.92 MB / 0.9278 GB, free: 26.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00899/1.784, allocations: 309.1 kB / 0.9281 GB, free: 25.95 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002993/1.787, allocations: 0.5387 MB / 0.9286 GB, free: 25.41 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.005456/1.792, allocations: 0.8018 MB / 0.9294 GB, free: 24.61 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006835/1.799, allocations: 0.8854 MB / 0.9303 GB, free: 23.71 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.02704/1.826, allocations: 10.17 MB / 0.9402 GB, free: 14.1 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.1498426320031285]