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.01043/0.01043, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001521/0.001521, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001877/0.001877, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.488/1.488, allocations: 230.6 MB / 262.1 MB, free: 5.836 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.097/1.097, allocations: 130.7 MB / 449.7 MB, free: 6.461 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.09511/0.09511, allocations: 20.99 MB / 0.6358 GB, free: 4.766 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.2676, allocations: 81.9 MB / 0.7158 GB, free: 2.762 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.4939/0.7615, allocations: 53.86 MB / 0.7684 GB, free: 15.22 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0338/0.7953, allocations: 22.77 MB / 0.7906 GB, free: 15.4 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007579/0.8029, allocations: 126.2 kB / 0.7908 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008499/0.8114, allocations: 2.688 MB / 0.7934 GB, free: 13.83 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.8245, allocations: 3.903 MB / 0.7972 GB, free: 10.76 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.8348, allocations: 3.703 MB / 0.8008 GB, free: 7.93 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02041/0.8552, allocations: 12.52 MB / 0.813 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009231/0.8645, allocations: 3.732 MB / 0.8167 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/0.8776, allocations: 5.058 MB / 0.8216 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/0.8883, allocations: 4.993 MB / 0.8265 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003483/0.8918, allocations: 0.8008 MB / 0.8273 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008627/0.9004, allocations: 2.433 MB / 0.8297 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004863/0.9053, allocations: 2.662 MB / 0.8323 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00805/0.9133, allocations: 3.316 MB / 0.8355 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02263/0.9359, allocations: 13.33 MB / 0.8485 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.936, allocations: 0 / 0.8485 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.743e-06/0.936, allocations: 0 / 0.8485 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004163/0.9364, allocations: 3.938 kB / 0.8485 GB, free: 10.54 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.02403/0.9604, allocations: 8.617 MB / 0.8569 GB, free: 1.859 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.9605, allocations: 8.031 kB / 0.8569 GB, free: 1.852 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00265/0.9631, allocations: 0.7534 MB / 0.8577 GB, free: 1.086 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/0.9679, allocations: 1.033 MB / 0.8587 GB, free: 52 kB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.9834, allocations: 6.285 MB / 0.8648 GB, free: 9.703 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/0.9838, allocations: 304.1 kB / 0.8651 GB, free: 9.402 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/0.9856, allocations: 407.9 kB / 0.8655 GB, free: 9.004 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/1.017, allocations: 13.5 MB / 0.8787 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000235/1.017, allocations: 47.56 kB / 0.8787 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/1.019, allocations: 204 kB / 0.8789 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006109/1.02, allocations: 390.3 kB / 0.8793 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.047, allocations: 10.15 MB / 0.8892 GB, free: 15.12 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.06567/1.112, allocations: 44.11 MB / 0.9323 GB, free: 1.742 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/1.134, allocations: 7.847 MB / 0.94 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006289/1.14, allocations: 3.014 MB / 0.9429 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.141, allocations: 274.2 kB / 0.9432 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/1.141, allocations: 101.6 kB / 0.9433 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 8.486e-06/1.141, allocations: 0 / 0.9433 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.0906/1.232, allocations: 42.31 MB / 0.9846 GB, free: 11.7 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006217/1.232, allocations: 1.14 MB / 0.9857 GB, free: 10.29 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009408/1.242, allocations: 5.887 MB / 0.9914 GB, free: 4.395 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001394/1.243, allocations: 89.7 kB / 0.9915 GB, free: 4.301 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.002529/1.246, allocations: 2.807 MB / 0.9943 GB, free: 1.477 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.003773/1.249, allocations: 2.8 MB / 0.997 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003227/1.253, allocations: 1.771 MB / 0.9987 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.253, allocations: 308.9 kB / 0.999 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007361/1.26, allocations: 4.188 MB / 1.003 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/1.271, allocations: 7.158 MB / 1.01 GB, free: 15.99 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.815/2.086, allocations: 69.42 MB / 1.078 GB, free: 343.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-05/2.086, allocations: 19.75 kB / 1.078 GB, free: 343.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02239/2.108, allocations: 12.34 MB / 1.09 GB, free: 337.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/2.108, allocations: 35.72 kB / 1.09 GB, free: 337.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01468/2.123, allocations: 9.439 MB / 1.099 GB, free: 330.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0427/2.166, allocations: 4.027 MB / 1.103 GB, free: 326.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008443/2.174, allocations: 2.278 MB / 1.105 GB, free: 324 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009658/2.184, allocations: 11.64 MB / 1.117 GB, free: 311.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/2.19, allocations: 346.2 kB / 1.117 GB, free: 311.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002107/2.192, allocations: 0.5426 MB / 1.118 GB, free: 310.9 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.01078/2.203, allocations: 5.996 MB / 1.123 GB, free: 304.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006793/2.21, allocations: 7.116 MB / 1.13 GB, free: 296.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4268/2.636, allocations: 69.21 MB / 1.198 GB, free: 226.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.013e-05/2.636, allocations: 23.47 kB / 1.198 GB, free: 226.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.0227/2.659, allocations: 12.22 MB / 1.21 GB, free: 214.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/2.659, allocations: 40.67 kB / 1.21 GB, free: 214.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01549/2.675, allocations: 9.339 MB / 1.219 GB, free: 205 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03056/2.705, allocations: 2.879 MB / 1.222 GB, free: 202.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/2.713, allocations: 2.278 MB / 1.224 GB, free: 199.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009345/2.723, allocations: 11.54 MB / 1.235 GB, free: 187.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005641/2.728, allocations: 345.9 kB / 1.236 GB, free: 187.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/2.73, allocations: 0.5348 MB / 1.236 GB, free: 186.9 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.002802/2.733, allocations: 0.6836 MB / 1.237 GB, free: 186.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002811/2.735, allocations: 0.7092 MB / 1.238 GB, free: 185.7 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.01575/2.751, allocations: 11.01 MB / 1.248 GB, free: 175.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.586769800167531] Failed to read output from testmodel.py, exit status != 0: 2.885070108808577 2.894630935 1.956078255 Calling exit ...