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.01227/0.01227, allocations: 1.454 MB / 20.8 MB, free: 3.613 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.006987/0.006987, allocations: 79.22 kB / 24.44 MB, free: 7.543 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.001742/0.001742, allocations: 154.8 kB / 28.19 MB, free: 4.668 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.504/1.504, allocations: 177.2 MB / 209 MB, free: 2.789 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.068/1.068, allocations: 102.5 MB / 368.4 MB, free: 1.289 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 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_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 2.004e-06/2.004e-06, allocations: 0 / 468.3 MB, free: 13.54 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.602e-05, allocations: 2.312 kB / 468.3 MB, free: 13.53 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.4185/0.4185, allocations: 67.7 MB / 0.5234 GB, free: 72.25 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03069/0.4492, allocations: 22.54 MB / 0.5454 GB, free: 58.74 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005144/0.4544, allocations: 128.1 kB / 0.5456 GB, free: 58.68 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006535/0.4609, allocations: 2.703 MB / 0.5482 GB, free: 57.46 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.472, allocations: 3.994 MB / 0.5521 GB, free: 55.1 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009014/0.481, allocations: 3.764 MB / 0.5558 GB, free: 53.08 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.4977, allocations: 12.84 MB / 0.5683 GB, free: 46.79 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007337/0.5051, allocations: 3.928 MB / 0.5721 GB, free: 44.12 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01491/0.52, allocations: 6.876 MB / 0.5789 GB, free: 39.87 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008434/0.5284, allocations: 4.51 MB / 0.5833 GB, free: 36.52 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002645/0.5311, allocations: 0.8164 MB / 0.5841 GB, free: 35.7 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0683/0.5994, allocations: 13.2 MB / 0.5969 GB, free: 24.39 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003913/0.6033, allocations: 2.745 MB / 0.5996 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007305/0.6106, allocations: 2.755 MB / 0.6023 GB, free: 18.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.6282, allocations: 13.42 MB / 0.6154 GB, free: 5.418 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6282, allocations: 0 / 0.6154 GB, free: 5.418 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6282, allocations: 0 / 0.6154 GB, free: 5.418 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004252/0.6287, allocations: 2.656 kB / 0.6154 GB, free: 5.418 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.02275/0.6514, allocations: 8.521 MB / 0.6238 GB, free: 12.84 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6515, allocations: 19.95 kB / 0.6238 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006242/0.6577, allocations: 1.349 MB / 0.6251 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.6746, allocations: 6.575 MB / 0.6315 GB, free: 4.824 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005324/0.6752, allocations: 303.1 kB / 0.6318 GB, free: 4.527 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.6773, allocations: 435.3 kB / 0.6322 GB, free: 4.105 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03526/0.7126, allocations: 13.58 MB / 0.6455 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.7128, allocations: 47.56 kB / 0.6455 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001761/0.7146, allocations: 204 kB / 0.6457 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006533/0.7153, allocations: 390.3 kB / 0.6461 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03078/0.746, allocations: 10.25 MB / 0.6561 GB, free: 10.06 MB / 0.5262 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.07115/0.8172, allocations: 43.65 MB / 0.6987 GB, free: 13.16 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02465/0.8418, allocations: 7.897 MB / 0.7064 GB, free: 5.125 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007582/0.8494, allocations: 3.052 MB / 0.7094 GB, free: 2.004 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.8507, allocations: 300.9 kB / 0.7097 GB, free: 1.711 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.8509, allocations: 101.6 kB / 0.7098 GB, free: 1.602 MB / 0.573 GB Notification: Performance of pre-optimization done (n=816): time 1.144e-05/0.8509, allocations: 0 / 0.7098 GB, free: 1.602 MB / 0.573 GB Notification: Performance of matching and sorting (n=817): time 0.3235/1.174, allocations: 43.16 MB / 0.7519 GB, free: 187.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002724/1.175, allocations: 1.14 MB / 0.7531 GB, free: 185.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009197/1.184, allocations: 5.657 MB / 0.7586 GB, free: 183.9 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001962/1.186, allocations: 88.45 kB / 0.7587 GB, free: 183.8 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.188, allocations: 2.817 MB / 0.7614 GB, free: 181.9 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004629/1.193, allocations: 2.76 MB / 0.7641 GB, free: 180 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005527/1.198, allocations: 1.76 MB / 0.7658 GB, free: 179.4 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/1.199, allocations: 305.1 kB / 0.7661 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008882/1.207, allocations: 4.235 MB / 0.7703 GB, free: 177.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/1.22, allocations: 7.198 MB / 0.7773 GB, free: 171.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4514/1.671, allocations: 69.72 MB / 0.8454 GB, free: 118.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/1.672, allocations: 20 kB / 0.8454 GB, free: 118.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.0319/1.703, allocations: 12.67 MB / 0.8578 GB, free: 106.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/1.704, allocations: 36 kB / 0.8578 GB, free: 106.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0208/1.724, allocations: 9.536 MB / 0.8671 GB, free: 96.51 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04873/1.773, allocations: 4.225 MB / 0.8712 GB, free: 92.29 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009234/1.782, allocations: 2.285 MB / 0.8735 GB, free: 90 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.793, allocations: 11.58 MB / 0.8848 GB, free: 77.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007736/1.801, allocations: 351.8 kB / 0.8851 GB, free: 77.51 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/1.804, allocations: 0.5504 MB / 0.8857 GB, free: 76.96 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.01291/1.817, allocations: 6.015 MB / 0.8915 GB, free: 70.93 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009774/1.826, allocations: 7.166 MB / 0.8985 GB, free: 62.56 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6928/2.519, allocations: 69.46 MB / 0.9664 GB, free: 194.8 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.795e-05/2.519, allocations: 22 kB / 0.9664 GB, free: 194.8 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02491/2.544, allocations: 12.58 MB / 0.9787 GB, free: 191.7 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/2.544, allocations: 40.14 kB / 0.9787 GB, free: 191.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0208/2.565, allocations: 9.455 MB / 0.9879 GB, free: 188 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04771/2.613, allocations: 4.109 MB / 0.992 GB, free: 187.8 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009638/2.622, allocations: 2.275 MB / 0.9942 GB, free: 187.6 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/2.634, allocations: 11.56 MB / 1.005 GB, free: 177.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006863/2.641, allocations: 335.3 kB / 1.006 GB, free: 177.8 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/2.643, allocations: 0.544 MB / 1.006 GB, free: 177.7 MB / 0.6199 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.003971/2.647, allocations: 0.6885 MB / 1.007 GB, free: 177.2 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0049/2.652, allocations: 0.8016 MB / 1.008 GB, free: 177.1 MB / 0.6199 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.02454/2.677, allocations: 11.02 MB / 1.019 GB, free: 173.7 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.293804993038066]