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.01533/0.01533, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.0019/0.0019, allocations: 78.64 kB / 24.02 MB, free: 2.609 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.001778/0.001778, allocations: 153.8 kB / 27.7 MB, free: 3.867 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.472/1.472, allocations: 177.2 MB / 208.4 MB, free: 7.691 MB / 190.1 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.133/1.133, allocations: 102.5 MB / 367.7 MB, free: 4.582 MB / 334.1 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.3.1 (/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.393e-06/1.393e-06, allocations: 0 / 0.5364 GB, free: 7.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.112e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.086 MB / 446.1 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.1793/0.1793, allocations: 67.53 MB / 0.6024 GB, free: 6.094 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04039/0.2197, allocations: 22.5 MB / 0.6243 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004739/0.2245, allocations: 123.1 kB / 0.6245 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007911/0.2324, allocations: 2.698 MB / 0.6271 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01217/0.2445, allocations: 4.02 MB / 0.631 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009978/0.2545, allocations: 3.757 MB / 0.6347 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01848/0.273, allocations: 12.84 MB / 0.6472 GB, free: 8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007129/0.2801, allocations: 3.755 MB / 0.6509 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01639/0.2965, allocations: 6.844 MB / 0.6576 GB, free: 13.31 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009477/0.306, allocations: 4.449 MB / 0.6619 GB, free: 8.852 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.002677/0.3087, allocations: 0.8047 MB / 0.6627 GB, free: 8.047 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007686/0.3164, allocations: 2.468 MB / 0.6651 GB, free: 5.574 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.004452/0.3208, allocations: 2.726 MB / 0.6678 GB, free: 2.84 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.006657/0.3275, allocations: 2.732 MB / 0.6704 GB, free: 104 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.02183/0.3493, allocations: 13.32 MB / 0.6835 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3493, allocations: 0 / 0.6835 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3493, allocations: 0 / 0.6835 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004139/0.3497, allocations: 0 / 0.6835 GB, free: 2.734 MB / 0.5763 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.302/0.6517, allocations: 8.513 MB / 0.6918 GB, free: 112.7 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.6517, allocations: 9.25 kB / 0.6918 GB, free: 112.7 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/0.6567, allocations: 1.033 MB / 0.6928 GB, free: 112.2 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/0.6737, allocations: 6.279 MB / 0.6989 GB, free: 109.3 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000494/0.6742, allocations: 313.2 kB / 0.6992 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002305/0.6765, allocations: 397.1 kB / 0.6996 GB, free: 109 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/0.7057, allocations: 13.5 MB / 0.7128 GB, free: 98.59 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.7058, allocations: 49.38 kB / 0.7128 GB, free: 98.56 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006806/0.7065, allocations: 206.1 kB / 0.713 GB, free: 98.43 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003446/0.7068, allocations: 392.5 kB / 0.7134 GB, free: 98.33 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/0.7305, allocations: 10.15 MB / 0.7233 GB, free: 89.46 MB / 0.5763 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.05424/0.7848, allocations: 43.27 MB / 0.7656 GB, free: 45.36 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/0.8048, allocations: 7.862 MB / 0.7732 GB, free: 37.36 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005905/0.8107, allocations: 3.004 MB / 0.7762 GB, free: 34.28 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.8119, allocations: 270.3 kB / 0.7764 GB, free: 34.02 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.933e-05/0.812, allocations: 101.5 kB / 0.7765 GB, free: 33.91 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=816): time 1.069e-05/0.812, allocations: 2.625 kB / 0.7765 GB, free: 33.91 MB / 0.5763 GB Notification: Performance of matching and sorting (n=817): time 0.09187/0.9039, allocations: 42.3 MB / 0.8178 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007097/0.9046, allocations: 1.144 MB / 0.819 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/0.9155, allocations: 5.66 MB / 0.8245 GB, free: 256 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001817/0.9173, allocations: 92.36 kB / 0.8246 GB, free: 160 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002879/0.9202, allocations: 2.819 MB / 0.8273 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004598/0.9248, allocations: 2.76 MB / 0.83 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004426/0.9292, allocations: 1.751 MB / 0.8317 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9294, allocations: 313 kB / 0.832 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008541/0.9379, allocations: 4.192 MB / 0.8361 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01302/0.9509, allocations: 7.164 MB / 0.8431 GB, free: 11.97 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5056/1.457, allocations: 69.43 MB / 0.9109 GB, free: 6.418 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/1.457, allocations: 28 kB / 0.911 GB, free: 6.391 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.03522/1.492, allocations: 12.33 MB / 0.923 GB, free: 9.996 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/1.492, allocations: 36 kB / 0.923 GB, free: 9.961 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02582/1.518, allocations: 9.458 MB / 0.9323 GB, free: 460 kB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04925/1.567, allocations: 4.022 MB / 0.9362 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/1.577, allocations: 2.281 MB / 0.9384 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.593, allocations: 11.5 MB / 0.9497 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/1.601, allocations: 351.3 kB / 0.95 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002488/1.603, allocations: 0.5387 MB / 0.9505 GB, free: 13.18 MB / 0.7325 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.01552/1.619, allocations: 5.982 MB / 0.9564 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3302/1.949, allocations: 7.119 MB / 0.9633 GB, free: 250.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4678/2.417, allocations: 69.21 MB / 1.031 GB, free: 203.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001245/2.417, allocations: 24 kB / 1.031 GB, free: 203.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.03116/2.448, allocations: 12.21 MB / 1.043 GB, free: 191.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/2.448, allocations: 36 kB / 1.043 GB, free: 191.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02259/2.471, allocations: 9.346 MB / 1.052 GB, free: 182.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03408/2.505, allocations: 2.875 MB / 1.055 GB, free: 179.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009219/2.514, allocations: 2.276 MB / 1.057 GB, free: 177.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/2.525, allocations: 11.39 MB / 1.068 GB, free: 165.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00733/2.532, allocations: 342.8 kB / 1.068 GB, free: 165.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002276/2.534, allocations: 0.5446 MB / 1.069 GB, free: 164.5 MB / 0.7325 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.004602/2.539, allocations: 0.6838 MB / 1.07 GB, free: 163.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004187/2.543, allocations: 0.6878 MB / 1.07 GB, free: 163.6 MB / 0.7325 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.02377/2.567, allocations: 10.99 MB / 1.081 GB, free: 153.2 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.48477029427886] Failed to read output from testmodel.py, exit status != 0: 2.7382457591593266 2.7486319519999998 2.396754276 Calling exit ...