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.01322/0.01322, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001217/0.001217, allocations: 86.08 kB / 25.15 MB, free: 6.316 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.001388/0.001388, allocations: 168.1 kB / 29.06 MB, free: 3.348 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.9052/0.9052, allocations: 177.2 MB / 210 MB, free: 3.602 MB / 186.7 MB " [Timeout remaining time 179] 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 0.599/0.599, allocations: 102.4 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 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 469.9 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.502e-05, allocations: 3.438 kB / 469.9 MB, free: 18.96 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.1338/0.1339, allocations: 76.91 MB / 0.534 GB, free: 10.98 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02935/0.1632, allocations: 24.73 MB / 0.5582 GB, free: 2.184 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004178/0.1674, allocations: 162.8 kB / 0.5583 GB, free: 2.023 MB / 474.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.004881/0.1723, allocations: 3.086 MB / 0.5613 GB, free: 14.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009351/0.1816, allocations: 4.932 MB / 0.5662 GB, free: 9.961 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006285/0.1879, allocations: 4.163 MB / 0.5702 GB, free: 5.789 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.2006, allocations: 13.29 MB / 0.5832 GB, free: 8.469 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005348/0.2059, allocations: 4.306 MB / 0.5874 GB, free: 4.094 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1265/0.3324, allocations: 52.71 MB / 0.6389 GB, free: 0.5234 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.251/0.5834, allocations: 4.839 MB / 0.6436 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002968/0.5864, allocations: 0.8256 MB / 0.6444 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007259/0.5936, allocations: 2.564 MB / 0.6469 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003703/0.5973, allocations: 2.791 MB / 0.6496 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005891/0.6032, allocations: 2.805 MB / 0.6524 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01577/0.619, allocations: 8.996 MB / 0.6612 GB, free: 74.85 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.619, allocations: 2.656 kB / 0.6612 GB, free: 74.85 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.084e-06/0.619, allocations: 0 / 0.6612 GB, free: 74.85 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004636/0.6195, allocations: 0 / 0.6612 GB, free: 74.85 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.01661/0.6361, allocations: 9.131 MB / 0.6701 GB, free: 70.98 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.6361, allocations: 10.84 kB / 0.6701 GB, free: 70.98 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.6388, allocations: 1.303 MB / 0.6714 GB, free: 70.48 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00928/0.6481, allocations: 5.436 MB / 0.6767 GB, free: 69.27 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.6485, allocations: 311.1 kB / 0.677 GB, free: 69.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.6499, allocations: 436.7 kB / 0.6774 GB, free: 69.26 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.6688, allocations: 11.39 MB / 0.6885 GB, free: 62.07 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002203/0.669, allocations: 44.5 kB / 0.6886 GB, free: 62.07 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009059/0.6699, allocations: 211.3 kB / 0.6888 GB, free: 62.07 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004065/0.6704, allocations: 378 kB / 0.6891 GB, free: 62.06 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.6857, allocations: 5.519 MB / 0.6945 GB, free: 60.54 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.03044/0.7161, allocations: 50.71 MB / 0.744 GB, free: 13.43 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.7272, allocations: 5.616 MB / 0.7495 GB, free: 10.9 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.7302, allocations: 1.527 MB / 0.751 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005143/0.7307, allocations: 278.7 kB / 0.7513 GB, free: 10.12 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008815/0.7395, allocations: 4.706 MB / 0.7559 GB, free: 7.648 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002791/0.7423, allocations: 0.8395 MB / 0.7567 GB, free: 7.094 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=870): time 1.232e-05/0.7423, allocations: 2.625 kB / 0.7567 GB, free: 7.094 MB / 0.5418 GB Notification: Performance of matching and sorting (n=872): time 0.05197/0.7943, allocations: 41.21 MB / 0.7969 GB, free: 2.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008259/0.7951, allocations: 1.971 MB / 0.7989 GB, free: 356 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00628/0.8014, allocations: 5.229 MB / 0.804 GB, free: 11.11 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/0.8028, allocations: 108.4 kB / 0.8041 GB, free: 11 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002341/0.8052, allocations: 3.09 MB / 0.8071 GB, free: 7.918 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.003264/0.8084, allocations: 3.021 MB / 0.81 GB, free: 4.941 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00233/0.8108, allocations: 1.916 MB / 0.8119 GB, free: 3.008 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.8109, allocations: 480.8 kB / 0.8124 GB, free: 2.535 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/0.8142, allocations: 1.719 MB / 0.814 GB, free: 0.7969 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005128/0.8194, allocations: 6.317 MB / 0.8202 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.8303, allocations: 9.056 MB / 0.8291 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.8304, allocations: 19.94 kB / 0.8291 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01354/0.8439, allocations: 7.958 MB / 0.8368 GB, free: 7.254 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.844, allocations: 69.69 kB / 0.8369 GB, free: 7.18 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00938/0.8534, allocations: 5.433 MB / 0.8422 GB, free: 1.789 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.8558, allocations: 1.003 MB / 0.8432 GB, free: 0.8359 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005156/0.861, allocations: 2.289 MB / 0.8454 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.8689, allocations: 13.14 MB / 0.8583 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.8737, allocations: 314.8 kB / 0.8586 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/0.8751, allocations: 0.5471 MB / 0.8591 GB, free: 60 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.005481/0.8805, allocations: 1.906 MB / 0.861 GB, free: 14.14 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006063/0.8866, allocations: 6.295 MB / 0.8671 GB, free: 6.145 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2363/1.123, allocations: 8.99 MB / 0.8759 GB, free: 171 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.205e-05/1.123, allocations: 19.72 kB / 0.8759 GB, free: 171 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01518/1.138, allocations: 7.752 MB / 0.8835 GB, free: 170.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/1.138, allocations: 70.06 kB / 0.8835 GB, free: 170.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009863/1.148, allocations: 5.209 MB / 0.8886 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/1.15, allocations: 0.7671 MB / 0.8894 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/1.156, allocations: 2.295 MB / 0.8916 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/1.162, allocations: 13.09 MB / 0.9044 GB, free: 158.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004784/1.167, allocations: 322 kB / 0.9047 GB, free: 158.3 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.168, allocations: 0.5387 MB / 0.9052 GB, free: 158.3 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.001919/1.17, allocations: 0.8172 MB / 0.906 GB, free: 158 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/1.172, allocations: 0.8886 MB / 0.9069 GB, free: 158 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.01308/1.185, allocations: 8.968 MB / 0.9157 GB, free: 157.5 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.80266438703984]