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.01182/0.01182, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.005473/0.005473, allocations: 80.22 kB / 24.59 MB, free: 7.203 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.0009524/0.0009524, allocations: 166.4 kB / 28.4 MB, free: 4.316 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.8972/0.8972, allocations: 177.1 MB / 209.3 MB, free: 2.535 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6841/0.6841, allocations: 102.4 MB / 368.7 MB, free: 1.008 MB / 330.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.5378 GB, free: 39.16 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.19e-05, allocations: 5.594 kB / 0.5378 GB, free: 39.15 MB / 490.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.1326/0.1326, allocations: 76.18 MB / 0.6122 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.1598, allocations: 22.51 MB / 0.6342 GB, free: 8.41 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004036/0.1639, allocations: 127.1 kB / 0.6343 GB, free: 8.285 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005306/0.1692, allocations: 2.698 MB / 0.6369 GB, free: 5.574 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.008011/0.1772, allocations: 4 MB / 0.6409 GB, free: 1.551 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006683/0.1839, allocations: 3.757 MB / 0.6445 GB, free: 13.79 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01206/0.1959, allocations: 12.84 MB / 0.6571 GB, free: 0.8984 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005015/0.2009, allocations: 3.759 MB / 0.6607 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.2116, allocations: 6.841 MB / 0.6674 GB, free: 6.211 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006607/0.2182, allocations: 4.458 MB / 0.6718 GB, free: 1.742 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002093/0.2203, allocations: 0.8008 MB / 0.6725 GB, free: 0.9414 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/0.2259, allocations: 2.464 MB / 0.675 GB, free: 14.47 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.00306/0.229, allocations: 2.726 MB / 0.6776 GB, free: 11.74 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005114/0.2341, allocations: 2.735 MB / 0.6803 GB, free: 8.996 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.2482, allocations: 13.32 MB / 0.6933 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2482, allocations: 0 / 0.6933 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2482, allocations: 0 / 0.6933 GB, free: 11.64 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003261/0.2485, allocations: 0 / 0.6933 GB, free: 11.64 MB / 0.5887 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.01417/0.2627, allocations: 8.525 MB / 0.7016 GB, free: 3.027 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2627, allocations: 8.031 kB / 0.7016 GB, free: 3.02 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/0.2638, allocations: 0.7534 MB / 0.7024 GB, free: 2.254 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.2659, allocations: 1.034 MB / 0.7034 GB, free: 1.215 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009001/0.2749, allocations: 6.278 MB / 0.7095 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.2751, allocations: 304.4 kB / 0.7098 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008345/0.2759, allocations: 411.8 kB / 0.7102 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.2941, allocations: 13.5 MB / 0.7234 GB, free: 11.04 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.13e-05/0.2942, allocations: 47.55 kB / 0.7234 GB, free: 11 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.2946, allocations: 204 kB / 0.7236 GB, free: 10.8 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/0.2949, allocations: 390.3 kB / 0.724 GB, free: 10.41 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.3121, allocations: 10.15 MB / 0.7339 GB, free: 256 kB / 0.6199 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.2778/0.5899, allocations: 43.97 MB / 0.7768 GB, free: 142.6 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.6024, allocations: 7.853 MB / 0.7845 GB, free: 140.4 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/0.6062, allocations: 3.017 MB / 0.7874 GB, free: 139 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.6068, allocations: 278.8 kB / 0.7877 GB, free: 138.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.658e-05/0.6069, allocations: 101.3 kB / 0.7878 GB, free: 138.9 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=816): time 6.352e-06/0.6069, allocations: 2.719 kB / 0.7878 GB, free: 138.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=817): time 0.05379/0.6607, allocations: 42.31 MB / 0.8291 GB, free: 113 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.6609, allocations: 1.138 MB / 0.8302 GB, free: 111.7 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005308/0.6662, allocations: 5.896 MB / 0.836 GB, free: 108.6 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/0.6673, allocations: 84.27 kB / 0.8361 GB, free: 108.5 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009945/0.6683, allocations: 2.799 MB / 0.8388 GB, free: 106.3 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/0.6703, allocations: 2.765 MB / 0.8415 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001932/0.6722, allocations: 1.751 MB / 0.8432 GB, free: 103.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.628e-05/0.6723, allocations: 309.9 kB / 0.8435 GB, free: 103 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004252/0.6765, allocations: 4.189 MB / 0.8476 GB, free: 99.71 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/0.6814, allocations: 7.166 MB / 0.8546 GB, free: 91.37 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2178/0.8992, allocations: 69.44 MB / 0.9224 GB, free: 22.35 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-05/0.8993, allocations: 22.25 kB / 0.9224 GB, free: 22.33 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01577/0.915, allocations: 12.35 MB / 0.9345 GB, free: 9.926 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.9151, allocations: 41.03 kB / 0.9345 GB, free: 9.887 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01226/0.9273, allocations: 9.454 MB / 0.9438 GB, free: 388 kB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/0.9504, allocations: 4.02 MB / 0.9477 GB, free: 12.38 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006083/0.9565, allocations: 2.278 MB / 0.9499 GB, free: 10.09 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008429/0.9649, allocations: 11.63 MB / 0.9613 GB, free: 13.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/0.9695, allocations: 350.7 kB / 0.9616 GB, free: 13.48 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/0.9707, allocations: 0.5426 MB / 0.9621 GB, free: 12.93 MB / 0.6824 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.008486/0.9792, allocations: 5.98 MB / 0.968 GB, free: 6.941 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006773/0.9859, allocations: 7.126 MB / 0.9749 GB, free: 14.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.231/1.217, allocations: 69.21 MB / 1.043 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.625e-05/1.217, allocations: 20 kB / 1.043 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.2302/1.447, allocations: 12.23 MB / 1.054 GB, free: 265.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/1.447, allocations: 35.59 kB / 1.055 GB, free: 265.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01335/1.461, allocations: 9.335 MB / 1.064 GB, free: 263.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01611/1.477, allocations: 2.874 MB / 1.066 GB, free: 262.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/1.482, allocations: 2.281 MB / 1.069 GB, free: 262.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/1.489, allocations: 11.52 MB / 1.08 GB, free: 253.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/1.493, allocations: 341.6 kB / 1.08 GB, free: 253 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009713/1.494, allocations: 0.5417 MB / 1.081 GB, free: 252.9 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.001691/1.496, allocations: 0.6806 MB / 1.081 GB, free: 252.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/1.497, allocations: 0.7044 MB / 1.082 GB, free: 252.4 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 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.01184/1.509, allocations: 11.01 MB / 1.093 GB, free: 247.7 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.230557458475232]