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.01116/0.01116, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001023/0.001023, allocations: 86.52 kB / 25.15 MB, free: 7.465 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.001124/0.001124, allocations: 164.3 kB / 29.05 MB, free: 3.672 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.9323/0.9323, allocations: 177.2 MB / 210 MB, free: 3.547 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6422/0.6422, allocations: 102.5 MB / 369.5 MB, free: 364 kB / 330.7 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.[0-9,]+.|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.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.835e-05, allocations: 2.312 kB / 469.9 MB, free: 18.98 MB / 410.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.1223/0.1223, allocations: 73.05 MB / 0.5303 GB, free: 14.85 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0293/0.1516, allocations: 23.39 MB / 0.5531 GB, free: 7.398 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004398/0.156, allocations: 127.1 kB / 0.5532 GB, free: 7.273 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005212/0.1612, allocations: 2.71 MB / 0.5559 GB, free: 4.551 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.169, allocations: 4.008 MB / 0.5598 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006951/0.176, allocations: 3.761 MB / 0.5635 GB, free: 12.75 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.1894, allocations: 12.83 MB / 0.576 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005514/0.195, allocations: 3.937 MB / 0.5798 GB, free: 11.87 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008851/0.2038, allocations: 6.852 MB / 0.5865 GB, free: 5.004 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005944/0.2097, allocations: 4.464 MB / 0.5909 GB, free: 0.5273 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.211, allocations: 0.8008 MB / 0.5917 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.2153, allocations: 2.46 MB / 0.5941 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.2173, allocations: 2.745 MB / 0.5968 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002995/0.2203, allocations: 2.732 MB / 0.5994 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.2309, allocations: 8.588 MB / 0.6078 GB, free: 15.15 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2309, allocations: 4 kB / 0.6078 GB, free: 15.15 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2309, allocations: 4 kB / 0.6078 GB, free: 15.14 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001918/0.2311, allocations: 0 / 0.6078 GB, free: 15.14 MB / 0.5262 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.01279/0.2439, allocations: 8.965 MB / 0.6166 GB, free: 6.086 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.244, allocations: 8.031 kB / 0.6166 GB, free: 6.078 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.2462, allocations: 1.358 MB / 0.6179 GB, free: 4.715 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007472/0.2536, allocations: 5.831 MB / 0.6236 GB, free: 14.79 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.2538, allocations: 308.4 kB / 0.6239 GB, free: 14.48 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004581/0.2543, allocations: 432 kB / 0.6243 GB, free: 14.06 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.2676, allocations: 10.88 MB / 0.6349 GB, free: 1.172 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.059e-05/0.2676, allocations: 51.5 kB / 0.635 GB, free: 1.121 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.268, allocations: 200 kB / 0.6352 GB, free: 0.9258 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000454/0.2684, allocations: 394.3 kB / 0.6355 GB, free: 0.5391 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009789/0.2782, allocations: 5.3 MB / 0.6407 GB, free: 11.22 MB / 0.5574 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.2617/0.54, allocations: 53.92 MB / 0.6934 GB, free: 47.59 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009597/0.5496, allocations: 5.089 MB / 0.6983 GB, free: 46.83 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.5515, allocations: 1.422 MB / 0.6997 GB, free: 46.56 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.552, allocations: 295.7 kB / 0.7 GB, free: 46.54 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.416e-05/0.5521, allocations: 104.7 kB / 0.7001 GB, free: 46.5 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=816): time 9.778e-06/0.5521, allocations: 2.656 kB / 0.7001 GB, free: 46.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=817): time 0.0456/0.5977, allocations: 32.88 MB / 0.7322 GB, free: 31.43 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/0.5979, allocations: 1.142 MB / 0.7333 GB, free: 30.09 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00716/0.6051, allocations: 5.046 MB / 0.7383 GB, free: 29.45 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0008847/0.606, allocations: 86.95 kB / 0.7383 GB, free: 29.42 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.6079, allocations: 3.053 MB / 0.7413 GB, free: 28.41 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00237/0.6103, allocations: 2.87 MB / 0.7441 GB, free: 26.76 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002925/0.6132, allocations: 1.888 MB / 0.746 GB, free: 26.59 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.6133, allocations: 484.6 kB / 0.7464 GB, free: 26.12 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/0.6167, allocations: 1.634 MB / 0.748 GB, free: 26.04 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005008/0.6217, allocations: 5.689 MB / 0.7536 GB, free: 21.22 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/0.6345, allocations: 8.858 MB / 0.7622 GB, free: 17.12 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-05/0.6346, allocations: 23.22 kB / 0.7623 GB, free: 17.12 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01465/0.6492, allocations: 7.447 MB / 0.7695 GB, free: 15.49 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.6493, allocations: 36.03 kB / 0.7696 GB, free: 15.49 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007202/0.6565, allocations: 4.755 MB / 0.7742 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02178/0.6783, allocations: 3.97 MB / 0.7781 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004835/0.6831, allocations: 2.257 MB / 0.7803 GB, free: 8.059 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006057/0.6892, allocations: 13.09 MB / 0.7931 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/0.693, allocations: 343.3 kB / 0.7934 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006251/0.6936, allocations: 0.5452 MB / 0.7939 GB, free: 9.473 MB / 0.573 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.004376/0.698, allocations: 1.826 MB / 0.7957 GB, free: 7.645 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004633/0.7026, allocations: 5.667 MB / 0.8012 GB, free: 424 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01056/0.7132, allocations: 8.823 MB / 0.8099 GB, free: 6.559 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.651e-05/0.7132, allocations: 20 kB / 0.8099 GB, free: 6.539 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01187/0.7251, allocations: 7.377 MB / 0.8171 GB, free: 15.61 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.7251, allocations: 36 kB / 0.8171 GB, free: 15.58 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007541/0.7327, allocations: 4.695 MB / 0.8217 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01624/0.7489, allocations: 2.803 MB / 0.8244 GB, free: 8.203 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/0.7534, allocations: 2.253 MB / 0.8266 GB, free: 6.082 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/0.7602, allocations: 13.03 MB / 0.8394 GB, free: 8.43 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/0.7637, allocations: 334.1 kB / 0.8397 GB, free: 8.105 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000657/0.7643, allocations: 0.5452 MB / 0.8402 GB, free: 7.562 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.001824/0.7662, allocations: 0.7668 MB / 0.841 GB, free: 6.922 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/0.7678, allocations: 0.8032 MB / 0.8418 GB, free: 6.117 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.01058/0.7783, allocations: 9.474 MB / 0.851 GB, free: 13.39 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7733611059375107]