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.01842/0.01842, allocations: 1.796 MB / 21.15 MB, free: 3.25 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.001839/0.001839, allocations: 83.02 kB / 24.89 MB, free: 6.828 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.002039/0.002039, allocations: 170.2 kB / 28.74 MB, free: 3.652 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 1.487/1.487, allocations: 177.2 MB / 209.6 MB, free: 2.117 MB / 186.7 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.102/1.102, allocations: 102.5 MB / 369.1 MB, free: 0.875 MB / 330.8 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 1.0.0 (/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_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_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 469.1 MB, free: 13.01 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.864e-05, allocations: 2.312 kB / 469.1 MB, free: 13.01 MB / 442.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.4001/0.4001, allocations: 70.6 MB / 0.5271 GB, free: 70.63 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0308/0.4309, allocations: 23.27 MB / 0.5498 GB, free: 55.7 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005272/0.4362, allocations: 128 kB / 0.5499 GB, free: 55.64 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007082/0.4433, allocations: 2.696 MB / 0.5526 GB, free: 54.42 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.4547, allocations: 4.005 MB / 0.5565 GB, free: 52.05 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009164/0.4639, allocations: 3.763 MB / 0.5601 GB, free: 50.03 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.4802, allocations: 12.84 MB / 0.5727 GB, free: 43.73 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006272/0.4865, allocations: 3.935 MB / 0.5765 GB, free: 40.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0154/0.5019, allocations: 6.851 MB / 0.5832 GB, free: 36.67 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008427/0.5103, allocations: 4.469 MB / 0.5876 GB, free: 32.75 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002397/0.5127, allocations: 0.8008 MB / 0.5884 GB, free: 31.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007824/0.5206, allocations: 2.467 MB / 0.5908 GB, free: 29.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003306/0.5239, allocations: 2.741 MB / 0.5934 GB, free: 26.73 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.006011/0.5299, allocations: 2.732 MB / 0.5961 GB, free: 23.99 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.5458, allocations: 13.37 MB / 0.6092 GB, free: 10.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5458, allocations: 2.656 kB / 0.6092 GB, free: 10.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5458, allocations: 0 / 0.6092 GB, free: 10.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003763/0.5462, allocations: 0 / 0.6092 GB, free: 10.58 MB / 490.8 MB 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.0199/0.5661, allocations: 9.708 MB / 0.6187 GB, free: 0.8086 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5661, allocations: 8.031 kB / 0.6187 GB, free: 0.8008 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/0.5702, allocations: 1.357 MB / 0.62 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01551/0.5858, allocations: 5.889 MB / 0.6257 GB, free: 9.488 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/0.5862, allocations: 307.1 kB / 0.626 GB, free: 9.188 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.5879, allocations: 436 kB / 0.6264 GB, free: 8.762 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/0.6214, allocations: 13.81 MB / 0.6399 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/0.6216, allocations: 43.56 kB / 0.64 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008972/0.6225, allocations: 204 kB / 0.6402 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005223/0.623, allocations: 394.3 kB / 0.6405 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/0.6483, allocations: 8.308 MB / 0.6487 GB, free: 4 kB / 0.5105 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.08646/0.7348, allocations: 67.02 MB / 0.7141 GB, free: 10.55 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/0.7563, allocations: 7.09 MB / 0.721 GB, free: 3.246 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005566/0.7619, allocations: 2.376 MB / 0.7234 GB, free: 0.7734 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.763, allocations: 300.9 kB / 0.7236 GB, free: 492 kB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.7631, allocations: 104.4 kB / 0.7237 GB, free: 376 kB / 0.5887 GB Notification: Performance of pre-optimization done (n=816): time 7.514e-06/0.7631, allocations: 0 / 0.7237 GB, free: 376 kB / 0.5887 GB Notification: Performance of matching and sorting (n=817): time 0.3032/1.066, allocations: 40.2 MB / 0.763 GB, free: 171.8 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004125/1.067, allocations: 1.141 MB / 0.7641 GB, free: 170.4 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/1.078, allocations: 7.003 MB / 0.7709 GB, free: 169.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/1.08, allocations: 89.8 kB / 0.771 GB, free: 169 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00257/1.082, allocations: 3.359 MB / 0.7743 GB, free: 166.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003591/1.086, allocations: 3.09 MB / 0.7773 GB, free: 164.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003963/1.09, allocations: 2.189 MB / 0.7795 GB, free: 163.8 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/1.09, allocations: 484.8 kB / 0.7799 GB, free: 163.3 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00632/1.096, allocations: 3.545 MB / 0.7834 GB, free: 162.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008959/1.105, allocations: 7.928 MB / 0.7911 GB, free: 155.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/1.127, allocations: 15 MB / 0.8058 GB, free: 146.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.661e-05/1.127, allocations: 23.91 kB / 0.8058 GB, free: 146.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02299/1.15, allocations: 11.36 MB / 0.8169 GB, free: 139.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/1.15, allocations: 37.72 kB / 0.8169 GB, free: 139.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01552/1.166, allocations: 8.051 MB / 0.8248 GB, free: 132.1 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04662/1.212, allocations: 4.098 MB / 0.8288 GB, free: 129.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008302/1.221, allocations: 2.256 MB / 0.831 GB, free: 127.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009098/1.23, allocations: 14.15 MB / 0.8448 GB, free: 112.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005878/1.236, allocations: 346.2 kB / 0.8452 GB, free: 111.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.237, allocations: 0.5413 MB / 0.8457 GB, free: 111.4 MB / 0.6043 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.008654/1.246, allocations: 4.778 MB / 0.8504 GB, free: 106.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007346/1.253, allocations: 7.883 MB / 0.8581 GB, free: 97.09 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01889/1.272, allocations: 14.91 MB / 0.8726 GB, free: 80.85 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.279e-05/1.272, allocations: 20 kB / 0.8726 GB, free: 80.83 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02059/1.293, allocations: 11.25 MB / 0.8836 GB, free: 69.57 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/1.293, allocations: 36 kB / 0.8837 GB, free: 69.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01462/1.307, allocations: 7.93 MB / 0.8914 GB, free: 61.56 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03329/1.341, allocations: 2.91 MB / 0.8942 GB, free: 58.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008582/1.349, allocations: 2.259 MB / 0.8964 GB, free: 56.51 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/1.358, allocations: 14.06 MB / 0.9102 GB, free: 41.76 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005977/1.364, allocations: 330.3 kB / 0.9105 GB, free: 41.45 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.366, allocations: 0.5413 MB / 0.911 GB, free: 40.91 MB / 0.6043 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.002276/1.368, allocations: 0.7662 MB / 0.9118 GB, free: 40.18 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/1.371, allocations: 0.8063 MB / 0.9126 GB, free: 39.38 MB / 0.6043 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.01874/1.39, allocations: 11.04 MB / 0.9233 GB, free: 28.95 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.173117420985363]