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.008793/0.008793, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0009554/0.0009554, allocations: 85.61 kB / 25.62 MB, free: 6.992 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.00113/0.00113, allocations: 166 kB / 29.46 MB, free: 3.191 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.9986/0.9986, allocations: 177.1 MB / 210.3 MB, free: 3.609 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.63/0.63, allocations: 102.5 MB / 369.8 MB, free: 328 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.312e-06/1.312e-06, allocations: 0 / 469.8 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.879e-05, allocations: 3.844 kB / 469.8 MB, free: 19.01 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.1313/0.1313, allocations: 76.77 MB / 0.5338 GB, free: 11.5 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03234/0.1636, allocations: 24.69 MB / 0.5579 GB, free: 2.738 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006153/0.1698, allocations: 158.8 kB / 0.5581 GB, free: 2.582 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.00709/0.1769, allocations: 3.086 MB / 0.5611 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.1878, allocations: 4.901 MB / 0.5659 GB, free: 10.55 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00787/0.1957, allocations: 4.163 MB / 0.5699 GB, free: 6.379 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01508/0.2108, allocations: 13.29 MB / 0.5829 GB, free: 9.055 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007234/0.218, allocations: 4.314 MB / 0.5871 GB, free: 4.672 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01444/0.2325, allocations: 7.308 MB / 0.5943 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007932/0.2404, allocations: 4.907 MB / 0.5991 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002466/0.2429, allocations: 0.8711 MB / 0.5999 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006796/0.2496, allocations: 2.616 MB / 0.6025 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.004106/0.2538, allocations: 2.909 MB / 0.6053 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006014/0.2598, allocations: 2.876 MB / 0.6081 GB, free: 15.14 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.275, allocations: 9.083 MB / 0.617 GB, free: 6.027 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.275, allocations: 0 / 0.617 GB, free: 6.027 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.813e-06/0.275, allocations: 0 / 0.617 GB, free: 6.027 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003268/0.2753, allocations: 0 / 0.617 GB, free: 6.027 MB / 0.5262 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.01564/0.291, allocations: 9.367 MB / 0.6261 GB, free: 12.56 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.291, allocations: 8.031 kB / 0.6261 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.2938, allocations: 1.42 MB / 0.6275 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.3039, allocations: 6.378 MB / 0.6337 GB, free: 4.656 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.3041, allocations: 308.4 kB / 0.634 GB, free: 4.352 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009156/0.305, allocations: 432.3 kB / 0.6345 GB, free: 3.93 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01687/0.3219, allocations: 11.34 MB / 0.6455 GB, free: 6.445 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.294e-05/0.322, allocations: 51.5 kB / 0.6456 GB, free: 6.395 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004976/0.3225, allocations: 204 kB / 0.6458 GB, free: 6.195 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002973/0.3228, allocations: 374.2 kB / 0.6461 GB, free: 5.828 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.3362, allocations: 5.442 MB / 0.6514 GB, free: 368 kB / 0.5574 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.2621/0.5983, allocations: 50.5 MB / 0.7008 GB, free: 105.1 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.6111, allocations: 5.485 MB / 0.7061 GB, free: 103.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/0.6146, allocations: 1.502 MB / 0.7076 GB, free: 103 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.6153, allocations: 286.9 kB / 0.7079 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01055/0.6258, allocations: 4.661 MB / 0.7124 GB, free: 101.3 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00289/0.6287, allocations: 0.7885 MB / 0.7132 GB, free: 101 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=870): time 1.978e-05/0.6287, allocations: 0 / 0.7132 GB, free: 101 MB / 0.5574 GB Notification: Performance of matching and sorting (n=872): time 0.06015/0.6889, allocations: 40.99 MB / 0.7532 GB, free: 74.98 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002456/0.6891, allocations: 1.533 MB / 0.7547 GB, free: 73.15 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/0.6958, allocations: 5.287 MB / 0.7599 GB, free: 69.02 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00158/0.6974, allocations: 101.7 kB / 0.76 GB, free: 68.91 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.6991, allocations: 3.065 MB / 0.763 GB, free: 65.85 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003242/0.7023, allocations: 3.023 MB / 0.7659 GB, free: 62.87 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002586/0.7049, allocations: 1.892 MB / 0.7678 GB, free: 60.96 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.7049, allocations: 480.7 kB / 0.7682 GB, free: 60.49 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/0.7081, allocations: 1.687 MB / 0.7699 GB, free: 58.78 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/0.7126, allocations: 5.711 MB / 0.7754 GB, free: 51.51 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/0.7246, allocations: 8.974 MB / 0.7842 GB, free: 41.31 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.16e-05/0.7246, allocations: 22.66 kB / 0.7842 GB, free: 41.29 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01531/0.7399, allocations: 7.781 MB / 0.7918 GB, free: 33.52 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.74, allocations: 68.34 kB / 0.7919 GB, free: 33.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009734/0.7497, allocations: 5.245 MB / 0.797 GB, free: 28.17 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.7516, allocations: 0.7593 MB / 0.7977 GB, free: 27.43 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00539/0.757, allocations: 2.291 MB / 0.8 GB, free: 25.14 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.7624, allocations: 13.1 MB / 0.8128 GB, free: 11.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/0.7667, allocations: 306.5 kB / 0.8131 GB, free: 11.03 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/0.7678, allocations: 0.5387 MB / 0.8136 GB, free: 10.49 MB / 0.5574 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.005287/0.7731, allocations: 1.875 MB / 0.8154 GB, free: 8.605 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004484/0.7776, allocations: 5.695 MB / 0.821 GB, free: 1.352 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01291/0.7905, allocations: 8.843 MB / 0.8296 GB, free: 7.289 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.95e-05/0.7906, allocations: 20 kB / 0.8296 GB, free: 7.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01498/0.8056, allocations: 7.535 MB / 0.837 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/0.8056, allocations: 67.58 kB / 0.8371 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009554/0.8152, allocations: 4.99 MB / 0.8419 GB, free: 10.61 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.8165, allocations: 0.542 MB / 0.8425 GB, free: 10.08 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005394/0.8219, allocations: 2.298 MB / 0.8447 GB, free: 7.781 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.8291, allocations: 13 MB / 0.8574 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/0.8337, allocations: 300.4 kB / 0.8577 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/0.8351, allocations: 0.5387 MB / 0.8582 GB, free: 9.238 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.002164/0.8372, allocations: 0.8056 MB / 0.859 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/0.8394, allocations: 0.8991 MB / 0.8599 GB, free: 7.52 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.01251/0.8519, allocations: 8.94 MB / 0.8686 GB, free: 15.02 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8766719680279493]