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.00618/0.00618, allocations: 1.435 MB / 21.29 MB, free: 3.266 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.000705/0.000705, allocations: 92.31 kB / 24.91 MB, free: 7.262 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.0007442/0.0007442, allocations: 168.9 kB / 28.62 MB, free: 4.457 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.8557/0.8557, allocations: 177.1 MB / 209.4 MB, free: 2.973 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.7611/0.7611, allocations: 102.5 MB / 368.7 MB, free: 1.449 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 0.5.2 (/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 2.525e-06/2.525e-06, allocations: 0 / 0.5374 GB, free: 39.85 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.246e-05/4.499e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.85 MB / 490.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.1289/0.1289, allocations: 67.49 MB / 0.6033 GB, free: 8.508 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03052/0.1595, allocations: 22.51 MB / 0.6253 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005051/0.1645, allocations: 127.1 kB / 0.6254 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005996/0.1705, allocations: 2.698 MB / 0.628 GB, free: 15.1 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009619/0.1801, allocations: 4.012 MB / 0.6319 GB, free: 11.06 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007803/0.1879, allocations: 3.753 MB / 0.6356 GB, free: 7.301 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01446/0.2024, allocations: 12.84 MB / 0.6481 GB, free: 10.41 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006143/0.2085, allocations: 3.755 MB / 0.6518 GB, free: 6.586 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/0.2224, allocations: 6.841 MB / 0.6585 GB, free: 15.73 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007961/0.2303, allocations: 4.45 MB / 0.6628 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002427/0.2328, allocations: 0.8046 MB / 0.6636 GB, free: 10.46 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006136/0.2389, allocations: 2.472 MB / 0.666 GB, free: 7.988 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.2418, allocations: 2.726 MB / 0.6687 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.00502/0.2468, allocations: 2.728 MB / 0.6714 GB, free: 2.52 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.2636, allocations: 13.32 MB / 0.6844 GB, free: 5.16 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2636, allocations: 8 kB / 0.6844 GB, free: 5.152 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2636, allocations: 0 / 0.6844 GB, free: 5.152 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004276/0.2641, allocations: 0 / 0.6844 GB, free: 5.152 MB / 0.573 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.01648/0.2806, allocations: 8.518 MB / 0.6927 GB, free: 12.55 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.2806, allocations: 11.97 kB / 0.6927 GB, free: 12.54 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.2831, allocations: 1.034 MB / 0.6937 GB, free: 11.5 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.2939, allocations: 6.282 MB / 0.6998 GB, free: 5.117 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.2941, allocations: 304.4 kB / 0.7001 GB, free: 4.816 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.2953, allocations: 408 kB / 0.7005 GB, free: 4.418 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/0.316, allocations: 13.5 MB / 0.7137 GB, free: 5.324 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.503e-05/0.316, allocations: 43.56 kB / 0.7138 GB, free: 5.281 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007473/0.3168, allocations: 204 kB / 0.714 GB, free: 5.082 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000318/0.3171, allocations: 402.2 kB / 0.7143 GB, free: 4.688 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.3345, allocations: 10.14 MB / 0.7242 GB, free: 10.52 MB / 0.6199 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.3473/0.6818, allocations: 43.28 MB / 0.7665 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01382/0.6956, allocations: 7.851 MB / 0.7742 GB, free: 167.8 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004596/0.7002, allocations: 3.011 MB / 0.7771 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007255/0.7009, allocations: 273.2 kB / 0.7774 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/0.701, allocations: 102 kB / 0.7775 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=816): time 9.638e-06/0.701, allocations: 3.094 kB / 0.7775 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=817): time 0.05496/0.756, allocations: 42.3 MB / 0.8188 GB, free: 141 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.7562, allocations: 1.138 MB / 0.8199 GB, free: 139.7 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006153/0.7623, allocations: 5.655 MB / 0.8254 GB, free: 136.7 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001642/0.764, allocations: 95.64 kB / 0.8255 GB, free: 136.6 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.7651, allocations: 2.811 MB / 0.8282 GB, free: 134.2 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002969/0.7681, allocations: 2.762 MB / 0.8309 GB, free: 131.9 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/0.77, allocations: 1.755 MB / 0.8327 GB, free: 130.1 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.77, allocations: 305.1 kB / 0.8329 GB, free: 129.8 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/0.7742, allocations: 4.196 MB / 0.837 GB, free: 125.6 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/0.7793, allocations: 7.166 MB / 0.844 GB, free: 117.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2186/0.9979, allocations: 69.43 MB / 0.9119 GB, free: 48.02 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.86e-05/0.9979, allocations: 20 kB / 0.9119 GB, free: 48 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01876/1.017, allocations: 12.33 MB / 0.9239 GB, free: 35.61 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/1.017, allocations: 39.98 kB / 0.9239 GB, free: 35.57 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0107/1.027, allocations: 9.456 MB / 0.9332 GB, free: 26.06 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02192/1.049, allocations: 4.018 MB / 0.9371 GB, free: 22.06 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006606/1.056, allocations: 2.281 MB / 0.9393 GB, free: 19.78 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008146/1.064, allocations: 11.49 MB / 0.9506 GB, free: 7.691 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.069, allocations: 351.6 kB / 0.9509 GB, free: 7.367 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.071, allocations: 0.5426 MB / 0.9514 GB, free: 6.824 MB / 0.6512 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.008719/1.08, allocations: 5.984 MB / 0.9573 GB, free: 0.832 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007731/1.087, allocations: 7.131 MB / 0.9642 GB, free: 8.496 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2305/1.318, allocations: 69.21 MB / 1.032 GB, free: 2.301 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.439e-05/1.318, allocations: 20 kB / 1.032 GB, free: 2.281 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.2991/1.617, allocations: 12.21 MB / 1.044 GB, free: 239 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/1.617, allocations: 35.88 kB / 1.044 GB, free: 239 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01486/1.632, allocations: 9.342 MB / 1.053 GB, free: 235.4 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/1.649, allocations: 2.879 MB / 1.056 GB, free: 235.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.655, allocations: 2.278 MB / 1.058 GB, free: 235.1 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/1.662, allocations: 11.39 MB / 1.069 GB, free: 225.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/1.667, allocations: 337.1 kB / 1.069 GB, free: 225.3 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/1.669, allocations: 0.5384 MB / 1.07 GB, free: 225.2 MB / 0.7293 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.002871/1.672, allocations: 0.6803 MB / 1.071 GB, free: 224.7 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/1.675, allocations: 0.6944 MB / 1.071 GB, free: 224.7 MB / 0.7293 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.01234/1.687, allocations: 11 MB / 1.082 GB, free: 219.1 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.5670695547014475] Failed to read output from testmodel.py, exit status != 0: 1.83831940125674 1.845147536 1.579916579 Calling exit ...