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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.0101/0.0101, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09233/0.09233, allocations: 18.24 MB / 42.2 MB, free: 5.195 MB / 33.03 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.0009188/0.0009188, allocations: 84.19 kB / 53.06 MB, free: 6.523 MB / 44.04 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.001117/0.001117, allocations: 161.5 kB / 64.03 MB, free: 10.22 MB / 58.72 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.9263/0.9263, allocations: 177.2 MB / 252.1 MB, free: 11.75 MB / 218.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.4871/0.4871, allocations: 102.5 MB / 418.6 MB, free: 5.184 MB / 362.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6029 GB, free: 284 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.493e-05, allocations: 2.281 kB / 0.6029 GB, free: 280 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestDrum): time 0.01491/0.01493, allocations: 20.84 MB / 0.6232 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.04055, allocations: 22.49 MB / 0.6452 GB, free: 4.789 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004273/0.04483, allocations: 123.1 kB / 0.6453 GB, free: 4.668 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/0.04976, allocations: 2.71 MB / 0.648 GB, free: 1.945 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006781/0.05654, allocations: 4.016 MB / 0.6519 GB, free: 13.9 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.006943/0.06349, allocations: 3.754 MB / 0.6556 GB, free: 10.15 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2647/0.3282, allocations: 12.83 MB / 0.6681 GB, free: 19.71 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004668/0.3329, allocations: 3.749 MB / 0.6717 GB, free: 19.46 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/0.3397, allocations: 6.842 MB / 0.6784 GB, free: 19.46 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005056/0.3448, allocations: 4.455 MB / 0.6828 GB, free: 19.23 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0009185/0.3457, allocations: 0.8027 MB / 0.6836 GB, free: 19.23 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.3498, allocations: 2.457 MB / 0.686 GB, free: 19.14 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.3517, allocations: 2.733 MB / 0.6886 GB, free: 18.73 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002397/0.3541, allocations: 2.735 MB / 0.6913 GB, free: 18.38 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.3646, allocations: 13.32 MB / 0.7043 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3646, allocations: 2.5 kB / 0.7043 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3646, allocations: 0 / 0.7043 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001386/0.3647, allocations: 0 / 0.7043 GB, free: 15.95 MB / 0.5418 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.01148/0.3762, allocations: 8.521 MB / 0.7126 GB, free: 10.06 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3763, allocations: 9.406 kB / 0.7126 GB, free: 10.06 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007036/0.377, allocations: 0.7527 MB / 0.7134 GB, free: 9.516 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.3787, allocations: 1.035 MB / 0.7144 GB, free: 8.934 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006418/0.3851, allocations: 6.276 MB / 0.7205 GB, free: 4.887 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3853, allocations: 307.4 kB / 0.7208 GB, free: 4.75 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/0.3857, allocations: 406.8 kB / 0.7212 GB, free: 4.617 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.3991, allocations: 13.5 MB / 0.7344 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.665e-05/0.3992, allocations: 47.16 kB / 0.7344 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.3996, allocations: 209.9 kB / 0.7346 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/0.3998, allocations: 392.4 kB / 0.735 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.4133, allocations: 10.15 MB / 0.7449 GB, free: 2.871 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.03211/0.4454, allocations: 43.99 MB / 0.7879 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.457, allocations: 7.848 MB / 0.7955 GB, free: 14.12 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/0.4603, allocations: 3.005 MB / 0.7985 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/0.4609, allocations: 270.2 kB / 0.7987 GB, free: 10.79 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.422e-05/0.4609, allocations: 108.5 kB / 0.7988 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=816): time 7.995e-06/0.461, allocations: 0 / 0.7988 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of matching and sorting (n=817): time 0.05136/0.5123, allocations: 42.32 MB / 0.8402 GB, free: 104 kB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003831/0.5127, allocations: 1.139 MB / 0.8413 GB, free: 14.7 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006966/0.5197, allocations: 5.883 MB / 0.847 GB, free: 8.809 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0004615/0.5201, allocations: 89.7 kB / 0.8471 GB, free: 8.715 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.5215, allocations: 2.798 MB / 0.8498 GB, free: 5.922 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.00178/0.5233, allocations: 2.766 MB / 0.8525 GB, free: 3.199 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00214/0.5254, allocations: 1.755 MB / 0.8543 GB, free: 1.43 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.5255, allocations: 301.1 kB / 0.8545 GB, free: 1.133 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004427/0.5299, allocations: 4.2 MB / 0.8586 GB, free: 12.91 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006128/0.536, allocations: 7.158 MB / 0.8656 GB, free: 4.586 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2432/0.7792, allocations: 69.45 MB / 0.9335 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.123e-05/0.7793, allocations: 20 kB / 0.9335 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.0184/0.7976, allocations: 12.35 MB / 0.9455 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.7977, allocations: 36 kB / 0.9456 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2735/1.071, allocations: 9.449 MB / 0.9548 GB, free: 266.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02315/1.094, allocations: 4.018 MB / 0.9587 GB, free: 266.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00663/1.101, allocations: 2.277 MB / 0.9609 GB, free: 266.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/1.108, allocations: 11.63 MB / 0.9723 GB, free: 256.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/1.113, allocations: 348.4 kB / 0.9726 GB, free: 256.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.115, allocations: 0.5426 MB / 0.9732 GB, free: 256.7 MB / 0.7605 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.009139/1.124, allocations: 5.983 MB / 0.979 GB, free: 254 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005835/1.129, allocations: 7.126 MB / 0.986 GB, free: 248.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2255/1.355, allocations: 69.2 MB / 1.054 GB, free: 189.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.099e-05/1.355, allocations: 24 kB / 1.054 GB, free: 189.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.0135/1.369, allocations: 12.24 MB / 1.066 GB, free: 177.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/1.369, allocations: 34.05 kB / 1.066 GB, free: 177.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01192/1.381, allocations: 9.338 MB / 1.075 GB, free: 168.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02093/1.401, allocations: 2.874 MB / 1.077 GB, free: 165.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006978/1.408, allocations: 2.289 MB / 1.08 GB, free: 163.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007197/1.416, allocations: 11.53 MB / 1.091 GB, free: 150.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005623/1.421, allocations: 333.2 kB / 1.091 GB, free: 150.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009885/1.422, allocations: 0.5426 MB / 1.092 GB, free: 150.1 MB / 0.7605 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.002607/1.425, allocations: 0.6873 MB / 1.092 GB, free: 149.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/1.427, allocations: 0.704 MB / 1.093 GB, free: 149.1 MB / 0.7605 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 1.9.0-ClaRa/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.01199/1.439, allocations: 11.01 MB / 1.104 GB, free: 138.6 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.154618723317981]