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.008417/0.008417, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007887/0.0007887, allocations: 87.69 kB / 25.62 MB, free: 6.535 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.0008642/0.0008642, allocations: 165.8 kB / 29.46 MB, free: 3.035 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.8613/0.8613, allocations: 177.1 MB / 210.3 MB, free: 1.75 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6754/0.6754, allocations: 102.5 MB / 369.8 MB, free: 0.9492 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 469.9 MB, free: 13.02 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.397e-05, allocations: 2.312 kB / 469.9 MB, free: 13.02 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.2651/0.2651, allocations: 76.78 MB / 0.5338 GB, free: 68.04 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.2876, allocations: 24.68 MB / 0.5579 GB, free: 51.39 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.2904, allocations: 159.2 kB / 0.5581 GB, free: 51.31 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.004204/0.2946, allocations: 3.086 MB / 0.5611 GB, free: 49.91 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006266/0.3009, allocations: 4.909 MB / 0.5659 GB, free: 47.02 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005353/0.3063, allocations: 4.159 MB / 0.5699 GB, free: 44.76 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009497/0.3158, allocations: 13.29 MB / 0.5829 GB, free: 36.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003366/0.3191, allocations: 4.299 MB / 0.5871 GB, free: 33.76 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/0.3248, allocations: 7.31 MB / 0.5943 GB, free: 27.03 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.3283, allocations: 4.916 MB / 0.5991 GB, free: 22.1 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0008342/0.3291, allocations: 0.8672 MB / 0.5999 GB, free: 21.23 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.3326, allocations: 2.614 MB / 0.6025 GB, free: 18.62 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.3337, allocations: 2.905 MB / 0.6053 GB, free: 15.71 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.3359, allocations: 2.876 MB / 0.6081 GB, free: 12.82 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006051/0.3419, allocations: 9.081 MB / 0.617 GB, free: 3.715 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3419, allocations: 0 / 0.617 GB, free: 3.715 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3419, allocations: 0 / 0.617 GB, free: 3.715 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.1e-05/0.342, allocations: 6.688 kB / 0.617 GB, free: 3.711 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.008475/0.3505, allocations: 9.365 MB / 0.6261 GB, free: 10.28 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3505, allocations: 8.031 kB / 0.6261 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.3528, allocations: 1.422 MB / 0.6275 GB, free: 8.848 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00615/0.3589, allocations: 6.37 MB / 0.6337 GB, free: 2.418 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.3591, allocations: 308.4 kB / 0.634 GB, free: 2.113 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006907/0.3598, allocations: 436.3 kB / 0.6345 GB, free: 1.688 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.3721, allocations: 11.34 MB / 0.6455 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.901e-05/0.3722, allocations: 47.5 kB / 0.6456 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003628/0.3725, allocations: 208 kB / 0.6458 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000262/0.3728, allocations: 375.6 kB / 0.6461 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.3831, allocations: 5.446 MB / 0.6515 GB, free: 14.14 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.02535/0.4085, allocations: 50.5 MB / 0.7008 GB, free: 10.12 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009891/0.4184, allocations: 5.497 MB / 0.7061 GB, free: 4.426 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.4204, allocations: 1.508 MB / 0.7076 GB, free: 2.816 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.4209, allocations: 286.5 kB / 0.7079 GB, free: 2.535 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008298/0.4292, allocations: 4.657 MB / 0.7124 GB, free: 13.69 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001596/0.4308, allocations: 0.7896 MB / 0.7132 GB, free: 12.9 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=870): time 8.135e-06/0.4308, allocations: 0 / 0.7132 GB, free: 12.9 MB / 0.5887 GB Notification: Performance of matching and sorting (n=872): time 0.2027/0.6335, allocations: 40.96 MB / 0.7532 GB, free: 185.6 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.6337, allocations: 1.539 MB / 0.7547 GB, free: 183.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004824/0.6385, allocations: 5.279 MB / 0.7599 GB, free: 183.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.000715/0.6393, allocations: 102.8 kB / 0.76 GB, free: 183.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.6407, allocations: 3.071 MB / 0.763 GB, free: 181.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001537/0.6423, allocations: 3.026 MB / 0.7659 GB, free: 179.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002028/0.6443, allocations: 1.884 MB / 0.7678 GB, free: 179 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.724e-05/0.6443, allocations: 483.2 kB / 0.7682 GB, free: 178.5 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/0.6473, allocations: 1.685 MB / 0.7699 GB, free: 178.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/0.6513, allocations: 5.721 MB / 0.7755 GB, free: 173 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/0.6618, allocations: 8.972 MB / 0.7842 GB, free: 167.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/0.6618, allocations: 19.62 kB / 0.7842 GB, free: 167.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01185/0.6736, allocations: 7.785 MB / 0.7918 GB, free: 165.4 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.6737, allocations: 70.39 kB / 0.7919 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008393/0.6821, allocations: 5.239 MB / 0.797 GB, free: 164.1 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.6839, allocations: 0.7677 MB / 0.7978 GB, free: 164 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/0.6882, allocations: 2.294 MB / 0.8 GB, free: 163.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.693, allocations: 13.08 MB / 0.8128 GB, free: 150.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.6958, allocations: 310 kB / 0.8131 GB, free: 149.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005454/0.6963, allocations: 0.5434 MB / 0.8136 GB, free: 149.4 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.003657/0.7, allocations: 1.884 MB / 0.8155 GB, free: 147.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003453/0.7034, allocations: 5.699 MB / 0.821 GB, free: 140.9 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008745/0.7122, allocations: 8.846 MB / 0.8297 GB, free: 131.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.307e-05/0.7122, allocations: 20 kB / 0.8297 GB, free: 131.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.009997/0.7222, allocations: 7.525 MB / 0.837 GB, free: 124.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.7222, allocations: 68.66 kB / 0.8371 GB, free: 124.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006941/0.7292, allocations: 4.988 MB / 0.842 GB, free: 119.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.7302, allocations: 0.5467 MB / 0.8425 GB, free: 119.1 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/0.7343, allocations: 2.301 MB / 0.8447 GB, free: 116.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.7387, allocations: 12.98 MB / 0.8574 GB, free: 103.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.7411, allocations: 302.9 kB / 0.8577 GB, free: 102.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004854/0.7416, allocations: 0.5413 MB / 0.8582 GB, free: 102.3 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.001398/0.743, allocations: 0.8164 MB / 0.859 GB, free: 101.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/0.7441, allocations: 0.8815 MB / 0.8599 GB, free: 100.6 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.00876/0.7529, allocations: 8.94 MB / 0.8686 GB, free: 92.33 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.240840331185609]