Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum.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.02619/0.02619, allocations: 1.8 MB / 21.15 MB, free: 3.238 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.002001/0.002001, allocations: 81.27 kB / 24.89 MB, free: 6.297 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.002393/0.002393, allocations: 169.5 kB / 28.74 MB, free: 3.5 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.591/1.591, allocations: 177.2 MB / 209.6 MB, free: 2.398 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.148/1.148, allocations: 102.5 MB / 369.1 MB, free: 0.8789 MB / 330.8 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.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.1.|drum.wall.U.2.|drum.wall.U.3.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.1.|drum.wall.U.2.|drum.wall.U.3.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 469.1 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.349e-05, allocations: 2.312 kB / 469.1 MB, free: 13 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.TestDrum): time 0.447/0.447, allocations: 70.61 MB / 0.5271 GB, free: 70.89 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03312/0.4802, allocations: 23.27 MB / 0.5498 GB, free: 55.81 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006598/0.4868, allocations: 124.3 kB / 0.5499 GB, free: 55.75 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008006/0.4948, allocations: 2.691 MB / 0.5525 GB, free: 54.54 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.5078, allocations: 4.009 MB / 0.5565 GB, free: 52.17 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.5178, allocations: 3.758 MB / 0.5601 GB, free: 50.15 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02313/0.541, allocations: 12.84 MB / 0.5727 GB, free: 43.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.5486, allocations: 3.939 MB / 0.5765 GB, free: 40.94 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01824/0.5669, allocations: 6.847 MB / 0.5832 GB, free: 36.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.5772, allocations: 4.47 MB / 0.5876 GB, free: 32.77 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004157/0.5814, allocations: 0.8008 MB / 0.5883 GB, free: 31.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.5939, allocations: 2.462 MB / 0.5907 GB, free: 29.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006055/0.5999, allocations: 2.745 MB / 0.5934 GB, free: 26.75 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008212/0.6081, allocations: 2.738 MB / 0.5961 GB, free: 24.01 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01899/0.6271, allocations: 13.37 MB / 0.6092 GB, free: 10.61 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6271, allocations: 0 / 0.6092 GB, free: 10.61 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6271, allocations: 0 / 0.6092 GB, free: 10.61 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004536/0.6276, allocations: 3.938 kB / 0.6092 GB, free: 10.6 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: 1607 * Number of variables: 1607 Notification: Performance of Generate backend data structure: time 0.02368/0.6512, allocations: 9.7 MB / 0.6186 GB, free: 0.8359 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6513, allocations: 14.72 kB / 0.6186 GB, free: 0.8242 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005956/0.6572, allocations: 1.351 MB / 0.62 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/0.6741, allocations: 5.894 MB / 0.6257 GB, free: 9.512 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.6745, allocations: 304.4 kB / 0.626 GB, free: 9.211 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.6764, allocations: 434.6 kB / 0.6264 GB, free: 8.789 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03237/0.7088, allocations: 13.82 MB / 0.6399 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.7089, allocations: 43.56 kB / 0.64 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007239/0.7096, allocations: 204 kB / 0.6402 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005206/0.7101, allocations: 390.3 kB / 0.6405 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.7359, allocations: 8.313 MB / 0.6486 GB, free: 24 kB / 0.5105 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.09664/0.8326, allocations: 67.03 MB / 0.7141 GB, free: 10.56 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02153/0.8541, allocations: 7.088 MB / 0.721 GB, free: 3.262 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005953/0.86, allocations: 2.378 MB / 0.7234 GB, free: 0.7891 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.8612, allocations: 294.3 kB / 0.7236 GB, free: 0.5 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.8613, allocations: 100.4 kB / 0.7237 GB, free: 400 kB / 0.5887 GB Notification: Performance of pre-optimization done (n=816): time 8.085e-06/0.8613, allocations: 0 / 0.7237 GB, free: 400 kB / 0.5887 GB Notification: Performance of matching and sorting (n=817): time 0.3243/1.186, allocations: 40.2 MB / 0.763 GB, free: 173.5 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002918/1.186, allocations: 1.14 MB / 0.7641 GB, free: 172.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/1.197, allocations: 7.006 MB / 0.7709 GB, free: 170.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001692/1.199, allocations: 88.98 kB / 0.771 GB, free: 170.6 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002839/1.202, allocations: 3.355 MB / 0.7743 GB, free: 168.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004145/1.206, allocations: 3.093 MB / 0.7773 GB, free: 165.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005695/1.212, allocations: 2.194 MB / 0.7795 GB, free: 164.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/1.212, allocations: 482.8 kB / 0.7799 GB, free: 164.4 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007824/1.22, allocations: 3.551 MB / 0.7834 GB, free: 163.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009933/1.23, allocations: 7.92 MB / 0.7911 GB, free: 156.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02381/1.253, allocations: 15.01 MB / 0.8058 GB, free: 147.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-05/1.254, allocations: 21.33 kB / 0.8058 GB, free: 147.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.0285/1.282, allocations: 11.36 MB / 0.8169 GB, free: 140.5 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.282, allocations: 36 kB / 0.8169 GB, free: 140.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0189/1.301, allocations: 8.047 MB / 0.8248 GB, free: 133.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04632/1.347, allocations: 4.099 MB / 0.8288 GB, free: 130.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008884/1.356, allocations: 2.255 MB / 0.831 GB, free: 128.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.366, allocations: 14.16 MB / 0.8448 GB, free: 113.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007188/1.374, allocations: 343.3 kB / 0.8452 GB, free: 113.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002383/1.376, allocations: 0.5426 MB / 0.8457 GB, free: 112.6 MB / 0.6043 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01183/1.388, allocations: 4.774 MB / 0.8503 GB, free: 107.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00977/1.398, allocations: 7.885 MB / 0.858 GB, free: 98.33 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02304/1.421, allocations: 14.9 MB / 0.8726 GB, free: 82.09 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.223e-05/1.421, allocations: 22.69 kB / 0.8726 GB, free: 82.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02489/1.446, allocations: 11.25 MB / 0.8836 GB, free: 70.82 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/1.446, allocations: 36.88 kB / 0.8836 GB, free: 70.78 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0159/1.462, allocations: 7.93 MB / 0.8914 GB, free: 62.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03348/1.495, allocations: 2.915 MB / 0.8942 GB, free: 60 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009008/1.504, allocations: 2.259 MB / 0.8964 GB, free: 57.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009589/1.514, allocations: 14.06 MB / 0.9102 GB, free: 43 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007184/1.521, allocations: 334.1 kB / 0.9105 GB, free: 42.67 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/1.523, allocations: 0.5426 MB / 0.911 GB, free: 42.13 MB / 0.6043 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.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: 324 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1115): * Single equations (assignments): 1108 * Array equations: 0 * Algorithm blocks: 0 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.004265/1.527, allocations: 0.7622 MB / 0.9118 GB, free: 41.36 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00439/1.532, allocations: 0.8076 MB / 0.9125 GB, free: 40.55 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 1239 equation(s) and 1186 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (sink.fluidOut.q, sink.fluidOut.cp, sink.fluidOut.cv, sink.fluidOut.beta, sink.fluidOut.kappa, sink.fluidOut.drhodp_hxi, sink.fluidOut.drhodh_pxi, _, sink.fluidOut.w, sink.fluidOut.gamma) = ($cse406, $cse407, $cse408, $cse409, $cse410, $cse411, $cse412, $cse413, $cse414, $cse415) has size 9 but 3 variables (drum.volume.heattransfer.Delta_T_mean[1], drum.volume.summary.fluid.T[1], drum.scalar2VectorHeatPort.heatVector[2].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01957/1.551, allocations: 11.03 MB / 0.9233 GB, free: 30 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.615281429956667]