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.008517/0.008517, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0007917/0.0007917, allocations: 81.88 kB / 25.15 MB, free: 7.465 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.0009431/0.0009431, allocations: 164.3 kB / 29.05 MB, free: 3.672 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.952/0.952, allocations: 177.2 MB / 210 MB, free: 3.582 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.6567/0.6567, allocations: 102.4 MB / 369.5 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.422e-06/1.422e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.774e-05, allocations: 2.859 kB / 469.9 MB, free: 18.97 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.1255/0.1255, allocations: 76.93 MB / 0.534 GB, free: 11 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02996/0.1554, allocations: 24.73 MB / 0.5582 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004408/0.1598, allocations: 162.8 kB / 0.5583 GB, free: 2.043 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.004797/0.1646, allocations: 3.082 MB / 0.5613 GB, free: 14.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008118/0.1728, allocations: 4.909 MB / 0.5661 GB, free: 10.01 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006633/0.1794, allocations: 4.171 MB / 0.5702 GB, free: 5.828 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.1926, allocations: 13.28 MB / 0.5832 GB, free: 8.508 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005828/0.1984, allocations: 4.313 MB / 0.5874 GB, free: 4.129 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.2084, allocations: 7.308 MB / 0.5945 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007887/0.2163, allocations: 4.91 MB / 0.5993 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002329/0.2186, allocations: 0.8672 MB / 0.6002 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005077/0.2237, allocations: 2.616 MB / 0.6027 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001961/0.2257, allocations: 2.901 MB / 0.6056 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003244/0.2289, allocations: 2.887 MB / 0.6084 GB, free: 14.59 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.2393, allocations: 9.079 MB / 0.6172 GB, free: 5.48 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2393, allocations: 0 / 0.6172 GB, free: 5.48 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2393, allocations: 7.938 kB / 0.6173 GB, free: 5.473 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001205/0.2394, allocations: 0 / 0.6173 GB, free: 5.473 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.01042/0.2498, allocations: 9.359 MB / 0.6264 GB, free: 12.01 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2499, allocations: 8.031 kB / 0.6264 GB, free: 12 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.252, allocations: 1.424 MB / 0.6278 GB, free: 10.57 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007294/0.2593, allocations: 6.384 MB / 0.634 GB, free: 4.102 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.2595, allocations: 308.4 kB / 0.6343 GB, free: 3.797 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005004/0.26, allocations: 440.3 kB / 0.6347 GB, free: 3.367 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.2726, allocations: 11.33 MB / 0.6458 GB, free: 5.887 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.168e-05/0.2727, allocations: 51.5 kB / 0.6459 GB, free: 5.836 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.273, allocations: 204 kB / 0.6461 GB, free: 5.637 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002479/0.2733, allocations: 378.2 kB / 0.6464 GB, free: 5.266 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2484/0.5217, allocations: 5.439 MB / 0.6517 GB, free: 84.48 MB / 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.02571/0.5474, allocations: 50.5 MB / 0.701 GB, free: 45.56 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009507/0.5569, allocations: 5.495 MB / 0.7064 GB, free: 44.75 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.559, allocations: 1.503 MB / 0.7079 GB, free: 44.45 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/0.5594, allocations: 289.6 kB / 0.7081 GB, free: 44.43 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007492/0.5669, allocations: 4.654 MB / 0.7127 GB, free: 43.77 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002404/0.5693, allocations: 0.7894 MB / 0.7135 GB, free: 43.57 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=870): time 1.707e-05/0.5693, allocations: 6 kB / 0.7135 GB, free: 43.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=872): time 0.05462/0.624, allocations: 40.98 MB / 0.7535 GB, free: 22.04 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002327/0.6242, allocations: 1.531 MB / 0.755 GB, free: 20.22 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.629, allocations: 5.276 MB / 0.7601 GB, free: 18.67 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000989/0.63, allocations: 102.4 kB / 0.7602 GB, free: 18.59 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.6315, allocations: 3.07 MB / 0.7632 GB, free: 16.18 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/0.6331, allocations: 3.034 MB / 0.7662 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.6349, allocations: 1.883 MB / 0.768 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.6349, allocations: 482.8 kB / 0.7685 GB, free: 12.03 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/0.6375, allocations: 1.685 MB / 0.7701 GB, free: 11.46 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/0.6411, allocations: 5.721 MB / 0.7757 GB, free: 5.766 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009315/0.6504, allocations: 8.975 MB / 0.7845 GB, free: 15.95 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/0.6504, allocations: 18.38 kB / 0.7845 GB, free: 15.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01516/0.6656, allocations: 7.78 MB / 0.7921 GB, free: 8.918 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.209e-05/0.6657, allocations: 65.7 kB / 0.7922 GB, free: 8.848 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.011/0.6767, allocations: 5.251 MB / 0.7973 GB, free: 3.613 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/0.6789, allocations: 0.7585 MB / 0.798 GB, free: 2.879 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005953/0.6849, allocations: 2.294 MB / 0.8003 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0082/0.6931, allocations: 13.09 MB / 0.8131 GB, free: 2.996 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/0.6967, allocations: 303.8 kB / 0.8134 GB, free: 2.699 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008462/0.6976, allocations: 0.5437 MB / 0.8139 GB, free: 2.156 MB / 0.5887 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.005161/0.7027, allocations: 1.881 MB / 0.8157 GB, free: 272 kB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006067/0.7088, allocations: 5.695 MB / 0.8213 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01315/0.7219, allocations: 8.848 MB / 0.8299 GB, free: 15.25 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.399e-05/0.722, allocations: 16 kB / 0.8299 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01139/0.7333, allocations: 7.534 MB / 0.8373 GB, free: 8.109 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.7334, allocations: 65.69 kB / 0.8374 GB, free: 8.039 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007824/0.7412, allocations: 4.987 MB / 0.8422 GB, free: 3.035 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.7424, allocations: 0.5466 MB / 0.8428 GB, free: 2.504 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/0.7467, allocations: 2.306 MB / 0.845 GB, free: 344 kB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.7533, allocations: 12.98 MB / 0.8577 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.7565, allocations: 296.4 kB / 0.858 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006126/0.7571, allocations: 0.5449 MB / 0.8585 GB, free: 1.898 MB / 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: 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.001876/0.7589, allocations: 0.8211 MB / 0.8593 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/0.7603, allocations: 0.8776 MB / 0.8602 GB, free: 332 kB / 0.6355 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.01054/0.7708, allocations: 8.944 MB / 0.8689 GB, free: 8.156 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7631272776052356]