Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01046/0.01046, allocations: 1.758 MB / 20.59 MB, free: 1.277 MB / 14.72 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.00138/0.00138, allocations: 106.3 kB / 24.19 MB, free: 2.652 MB / 14.72 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.001605/0.001605, allocations: 210.4 kB / 27.92 MB, free: 4 MB / 19.63 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.485/1.485, allocations: 230.6 MB / 262.1 MB, free: 6.207 MB / 206.1 MB " [Timeout remaining time 178] 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 1.075/1.075, allocations: 130.7 MB / 449.7 MB, free: 6.559 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03471/0.03471, allocations: 20.79 MB / 0.6357 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.2058, allocations: 81.91 MB / 0.7157 GB, free: 3.137 MB / 0.5294 GB 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.5432/0.7489, allocations: 56.88 MB / 0.7713 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03803/0.787, allocations: 23.77 MB / 0.7945 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00805/0.795, allocations: 122.7 kB / 0.7946 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00874/0.8038, allocations: 2.835 MB / 0.7974 GB, free: 9.875 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01337/0.8171, allocations: 3.901 MB / 0.8012 GB, free: 6.789 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.8278, allocations: 3.716 MB / 0.8048 GB, free: 3.941 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01979/0.8476, allocations: 12.53 MB / 0.817 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007605/0.8552, allocations: 3.511 MB / 0.8205 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01113/0.8664, allocations: 5.042 MB / 0.8254 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01049/0.8768, allocations: 5.165 MB / 0.8304 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003458/0.8803, allocations: 0.8046 MB / 0.8312 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009665/0.89, allocations: 3.214 MB / 0.8343 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005024/0.895, allocations: 2.659 MB / 0.8369 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01022/0.9052, allocations: 4.284 MB / 0.8411 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03258/0.9378, allocations: 13.42 MB / 0.8542 GB, free: 5.137 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.9378, allocations: 4 kB / 0.8542 GB, free: 5.133 MB / 0.6232 GB Notification: Performance of FrontEnd: time 4.569e-06/0.9378, allocations: 0 / 0.8542 GB, free: 5.133 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.000582/0.9384, allocations: 0 / 0.8542 GB, free: 5.133 MB / 0.6232 GB 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.02869/0.9671, allocations: 8.62 MB / 0.8627 GB, free: 12.45 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.9671, allocations: 8.031 kB / 0.8627 GB, free: 12.45 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002653/0.9698, allocations: 0.7534 MB / 0.8634 GB, free: 11.68 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004444/0.9742, allocations: 1.033 MB / 0.8644 GB, free: 10.64 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/0.9898, allocations: 6.283 MB / 0.8705 GB, free: 4.297 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.9901, allocations: 306.7 kB / 0.8708 GB, free: 3.996 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/0.9918, allocations: 403.9 kB / 0.8712 GB, free: 3.602 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03151/1.023, allocations: 11.91 MB / 0.8829 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/1.023, allocations: 50.09 kB / 0.8829 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007587/1.024, allocations: 202.9 kB / 0.8831 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004756/1.025, allocations: 394.3 kB / 0.8835 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/1.053, allocations: 10.19 MB / 0.8934 GB, free: 11.77 MB / 0.67 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.07377/1.126, allocations: 46.83 MB / 0.9392 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02305/1.15, allocations: 7.882 MB / 0.9469 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007758/1.157, allocations: 3 MB / 0.9498 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.159, allocations: 320.7 kB / 0.9501 GB, free: 176 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/1.159, allocations: 94.91 kB / 0.9502 GB, free: 76 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 9.358e-06/1.159, allocations: 0 / 0.9502 GB, free: 76 kB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.09912/1.258, allocations: 42.34 MB / 0.9915 GB, free: 5.469 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006421/1.258, allocations: 1.135 MB / 0.9926 GB, free: 4.07 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.269, allocations: 5.771 MB / 0.9983 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001346/1.27, allocations: 89.7 kB / 0.9984 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/1.273, allocations: 2.801 MB / 1.001 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004079/1.277, allocations: 2.803 MB / 1.004 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003725/1.281, allocations: 1.777 MB / 1.006 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.281, allocations: 305.1 kB / 1.006 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00804/1.289, allocations: 4.192 MB / 1.01 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/1.301, allocations: 6.623 MB / 1.016 GB, free: 10.61 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7784/2.079, allocations: 69.41 MB / 1.084 GB, free: 341 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.945e-05/2.079, allocations: 18.97 kB / 1.084 GB, free: 341 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02395/2.103, allocations: 12.34 MB / 1.096 GB, free: 334.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/2.103, allocations: 36 kB / 1.096 GB, free: 334.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01793/2.121, allocations: 9.441 MB / 1.106 GB, free: 324.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04748/2.168, allocations: 4.02 MB / 1.109 GB, free: 320.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008479/2.177, allocations: 2.274 MB / 1.112 GB, free: 318.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/2.187, allocations: 11.7 MB / 1.123 GB, free: 306.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/2.193, allocations: 353.3 kB / 1.123 GB, free: 306 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/2.195, allocations: 0.5426 MB / 1.124 GB, free: 305.5 MB / 0.8263 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.01022/2.205, allocations: 5.983 MB / 1.13 GB, free: 299.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008019/2.213, allocations: 6.594 MB / 1.136 GB, free: 291.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4346/2.648, allocations: 69.2 MB / 1.204 GB, free: 221.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.579e-05/2.648, allocations: 20 kB / 1.204 GB, free: 221.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02593/2.674, allocations: 12.23 MB / 1.216 GB, free: 209.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/2.674, allocations: 36 kB / 1.216 GB, free: 209.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0187/2.693, allocations: 9.342 MB / 1.225 GB, free: 200.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03283/2.725, allocations: 2.871 MB / 1.228 GB, free: 197.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008566/2.734, allocations: 2.289 MB / 1.23 GB, free: 195.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/2.745, allocations: 11.58 MB / 1.241 GB, free: 182.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009778/2.755, allocations: 347.3 kB / 1.242 GB, free: 182.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003034/2.758, allocations: 0.5414 MB / 1.242 GB, free: 182 MB / 0.8263 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.005536/2.763, allocations: 0.6927 MB / 1.243 GB, free: 181.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004467/2.768, allocations: 0.7057 MB / 1.244 GB, free: 180.9 MB / 0.8263 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.02407/2.792, allocations: 10.96 MB / 1.254 GB, free: 170.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.708887476939708] Failed to read output from testmodel.py, exit status != 0: 2.955553552135825 2.967518455 2.026801346 Calling exit ...