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.01037/0.01037, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 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.001348/0.001348, allocations: 103.2 kB / 24.96 MB, free: 2.066 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.001495/0.001495, allocations: 210.9 kB / 28.68 MB, free: 3.348 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.511/1.511, allocations: 230.6 MB / 262.9 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.025/1.025, allocations: 130.7 MB / 450.4 MB, free: 6.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="cs",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.06449/0.06449, allocations: 20.61 MB / 0.6362 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.2342, allocations: 81.91 MB / 0.7162 GB, free: 3.141 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.4769/0.7111, allocations: 53.83 MB / 0.7688 GB, free: 15.43 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03443/0.7456, allocations: 22.76 MB / 0.791 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007333/0.7529, allocations: 126.7 kB / 0.7911 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007825/0.7607, allocations: 2.7 MB / 0.7937 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.7733, allocations: 3.917 MB / 0.7976 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.7837, allocations: 3.72 MB / 0.8012 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02038/0.8041, allocations: 12.51 MB / 0.8134 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008774/0.8129, allocations: 3.507 MB / 0.8169 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.8241, allocations: 5.061 MB / 0.8218 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009826/0.8339, allocations: 5.157 MB / 0.8268 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003038/0.8369, allocations: 0.8008 MB / 0.8276 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008727/0.8457, allocations: 2.484 MB / 0.83 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004974/0.8506, allocations: 2.659 MB / 0.8326 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007944/0.8586, allocations: 3.324 MB / 0.8359 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02068/0.8793, allocations: 13.33 MB / 0.8489 GB, free: 10.87 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8793, allocations: 0 / 0.8489 GB, free: 10.87 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8793, allocations: 0 / 0.8489 GB, free: 10.87 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.000328/0.8796, allocations: 0 / 0.8489 GB, free: 10.87 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.02198/0.9016, allocations: 8.613 MB / 0.8573 GB, free: 2.195 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.9016, allocations: 12.03 kB / 0.8573 GB, free: 2.184 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001511/0.9018, allocations: 124.3 kB / 0.8574 GB, free: 2.059 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002092/0.9039, allocations: 0.7572 MB / 0.8582 GB, free: 1.289 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003996/0.9079, allocations: 1.033 MB / 0.8592 GB, free: 260 kB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.9221, allocations: 6.286 MB / 0.8653 GB, free: 9.906 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003249/0.9225, allocations: 310.7 kB / 0.8656 GB, free: 9.602 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.924, allocations: 403.9 kB / 0.866 GB, free: 9.207 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/0.9532, allocations: 13.5 MB / 0.8792 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.9534, allocations: 51.5 kB / 0.8792 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007659/0.9541, allocations: 204 kB / 0.8794 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005081/0.9546, allocations: 394.3 kB / 0.8798 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.9811, allocations: 10.19 MB / 0.8898 GB, free: 15.28 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.06243/1.043, allocations: 44.12 MB / 0.9329 GB, free: 1.891 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/1.065, allocations: 7.845 MB / 0.9405 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006469/1.072, allocations: 3.007 MB / 0.9434 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.073, allocations: 278.2 kB / 0.9437 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/1.073, allocations: 93.59 kB / 0.9438 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 8.946e-06/1.073, allocations: 2.688 kB / 0.9438 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.09752/1.171, allocations: 42.32 MB / 0.9851 GB, free: 11.84 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008563/1.171, allocations: 1.137 MB / 0.9862 GB, free: 10.44 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.183, allocations: 5.77 MB / 0.9919 GB, free: 4.664 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001659/1.185, allocations: 96.36 kB / 0.992 GB, free: 4.566 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.002952/1.187, allocations: 2.805 MB / 0.9947 GB, free: 1.742 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.006362/1.194, allocations: 2.807 MB / 0.9975 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007907/1.202, allocations: 1.771 MB / 0.9992 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.202, allocations: 305.1 kB / 0.9995 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009865/1.212, allocations: 4.194 MB / 1.004 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01227/1.224, allocations: 7.155 MB / 1.011 GB, free: 256 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8236/2.048, allocations: 69.42 MB / 1.078 GB, free: 344.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-05/2.048, allocations: 17.47 kB / 1.078 GB, free: 344.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02152/2.069, allocations: 12.34 MB / 1.09 GB, free: 338.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/2.069, allocations: 36 kB / 1.09 GB, free: 338.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01558/2.085, allocations: 9.443 MB / 1.1 GB, free: 330.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04686/2.132, allocations: 4.02 MB / 1.104 GB, free: 326.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008696/2.14, allocations: 2.27 MB / 1.106 GB, free: 324.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009897/2.15, allocations: 11.64 MB / 1.117 GB, free: 312.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/2.157, allocations: 360.9 kB / 1.118 GB, free: 311.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/2.158, allocations: 0.5426 MB / 1.118 GB, free: 311.3 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.01158/2.17, allocations: 5.983 MB / 1.124 GB, free: 305.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008449/2.178, allocations: 7.128 MB / 1.131 GB, free: 296.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4278/2.606, allocations: 69.2 MB / 1.198 GB, free: 226.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001269/2.606, allocations: 23.52 kB / 1.198 GB, free: 226.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02573/2.632, allocations: 12.23 MB / 1.21 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/2.632, allocations: 36 kB / 1.21 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01819/2.65, allocations: 9.342 MB / 1.22 GB, free: 205.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03383/2.684, allocations: 2.872 MB / 1.222 GB, free: 202.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008566/2.693, allocations: 2.281 MB / 1.225 GB, free: 200.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009655/2.702, allocations: 11.54 MB / 1.236 GB, free: 188.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00612/2.709, allocations: 343.6 kB / 1.236 GB, free: 187.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/2.711, allocations: 0.5387 MB / 1.237 GB, free: 187.2 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.003544/2.714, allocations: 0.6897 MB / 1.237 GB, free: 186.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00326/2.717, allocations: 0.7095 MB / 1.238 GB, free: 186 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.01949/2.737, allocations: 10.95 MB / 1.249 GB, free: 175.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.555776369059458] Failed to read output from testmodel.py, exit status != 0: 2.886090148007497 2.89747278 2.015593503 Calling exit ...