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.00589/0.00589, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000634/0.000634, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007163/0.0007163, allocations: 163.6 kB / 27.85 MB, free: 5.496 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.8293/0.8293, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.6988/0.6988, allocations: 102.5 MB / 367.9 MB, free: 1.48 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: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5362 GB, free: 39.98 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.423e-05, allocations: 5 kB / 0.5362 GB, free: 39.98 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.1072/0.1072, allocations: 67.49 MB / 0.6021 GB, free: 8.898 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.1309, allocations: 22.5 MB / 0.624 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.133, allocations: 127.1 kB / 0.6242 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003459/0.1365, allocations: 2.698 MB / 0.6268 GB, free: 15.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.1408, allocations: 4.012 MB / 0.6307 GB, free: 11.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.1455, allocations: 3.757 MB / 0.6344 GB, free: 7.695 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.008093/0.1536, allocations: 12.84 MB / 0.6469 GB, free: 10.81 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.1565, allocations: 3.755 MB / 0.6506 GB, free: 6.98 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.1615, allocations: 6.844 MB / 0.6573 GB, free: 124 kB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.1649, allocations: 4.457 MB / 0.6616 GB, free: 11.65 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0006333/0.1656, allocations: 0.8008 MB / 0.6624 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.1687, allocations: 2.468 MB / 0.6648 GB, free: 8.379 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.1701, allocations: 2.73 MB / 0.6675 GB, free: 5.641 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.172, allocations: 2.724 MB / 0.6701 GB, free: 2.91 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.009052/0.181, allocations: 13.33 MB / 0.6832 GB, free: 5.543 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.181, allocations: 0 / 0.6832 GB, free: 5.543 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.343e-06/0.181, allocations: 4 kB / 0.6832 GB, free: 5.539 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001139/0.1812, allocations: 0 / 0.6832 GB, free: 5.539 MB / 0.573 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.008979/0.1901, allocations: 8.506 MB / 0.6915 GB, free: 12.95 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1902, allocations: 15.95 kB / 0.6915 GB, free: 12.93 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006534/0.1908, allocations: 0.7495 MB / 0.6922 GB, free: 12.17 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.1925, allocations: 1.03 MB / 0.6932 GB, free: 11.13 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00673/0.1992, allocations: 6.294 MB / 0.6994 GB, free: 4.742 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.1994, allocations: 308.4 kB / 0.6997 GB, free: 4.438 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004559/0.1998, allocations: 399.9 kB / 0.7 GB, free: 4.047 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.2149, allocations: 13.5 MB / 0.7132 GB, free: 4.953 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-05/0.215, allocations: 47.56 kB / 0.7133 GB, free: 4.906 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/0.2154, allocations: 208 kB / 0.7135 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000251/0.2156, allocations: 394.3 kB / 0.7139 GB, free: 4.316 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.2291, allocations: 10.15 MB / 0.7238 GB, free: 10.15 MB / 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.2802/0.5093, allocations: 43.97 MB / 0.7667 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.5201, allocations: 7.864 MB / 0.7744 GB, free: 167.8 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.523, allocations: 3.01 MB / 0.7773 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/0.5235, allocations: 274.6 kB / 0.7776 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.5236, allocations: 97.22 kB / 0.7777 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=816): time 6.262e-06/0.5236, allocations: 1.938 kB / 0.7777 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=817): time 0.04259/0.5661, allocations: 42.32 MB / 0.819 GB, free: 140.7 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.5663, allocations: 1.144 MB / 0.8201 GB, free: 139.3 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/0.5716, allocations: 5.881 MB / 0.8259 GB, free: 135.6 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007441/0.5723, allocations: 89.7 kB / 0.8259 GB, free: 135.5 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.5734, allocations: 2.801 MB / 0.8287 GB, free: 132.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.5748, allocations: 2.758 MB / 0.8314 GB, free: 130.6 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001741/0.5765, allocations: 1.756 MB / 0.8331 GB, free: 128.8 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.5766, allocations: 305.1 kB / 0.8334 GB, free: 128.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/0.5806, allocations: 4.197 MB / 0.8375 GB, free: 124.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/0.5852, allocations: 7.164 MB / 0.8445 GB, free: 116 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2101/0.7953, allocations: 69.44 MB / 0.9123 GB, free: 46.72 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.7953, allocations: 20 kB / 0.9123 GB, free: 46.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.0134/0.8087, allocations: 12.34 MB / 0.9244 GB, free: 34.3 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.8087, allocations: 36.94 kB / 0.9244 GB, free: 34.27 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009083/0.8178, allocations: 9.453 MB / 0.9336 GB, free: 24.76 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02166/0.8395, allocations: 4.025 MB / 0.9376 GB, free: 20.75 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/0.8438, allocations: 2.278 MB / 0.9398 GB, free: 18.47 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/0.8495, allocations: 11.63 MB / 0.9511 GB, free: 6.18 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.8531, allocations: 350.7 kB / 0.9515 GB, free: 5.855 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005423/0.8536, allocations: 0.5426 MB / 0.952 GB, free: 5.312 MB / 0.6512 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.006333/0.8599, allocations: 5.988 MB / 0.9578 GB, free: 15.32 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005666/0.8656, allocations: 7.125 MB / 0.9648 GB, free: 6.988 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4817/1.347, allocations: 69.2 MB / 1.032 GB, free: 239.9 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.029e-05/1.347, allocations: 19.31 kB / 1.032 GB, free: 239.9 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01652/1.364, allocations: 12.24 MB / 1.044 GB, free: 237 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/1.364, allocations: 35.19 kB / 1.044 GB, free: 237 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01059/1.374, allocations: 9.339 MB / 1.054 GB, free: 233.4 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01594/1.39, allocations: 2.884 MB / 1.056 GB, free: 233.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005882/1.396, allocations: 2.286 MB / 1.059 GB, free: 233 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00649/1.403, allocations: 11.51 MB / 1.07 GB, free: 223.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.407, allocations: 346.7 kB / 1.07 GB, free: 223.1 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005536/1.408, allocations: 0.5404 MB / 1.071 GB, free: 222.9 MB / 0.7293 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.001792/1.409, allocations: 0.6926 MB / 1.071 GB, free: 222.4 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.41, allocations: 0.701 MB / 1.072 GB, free: 222.4 MB / 0.7293 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.01004/1.421, allocations: 11 MB / 1.083 GB, free: 216.7 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 3.996977756731212] Failed to read output from testmodel.py, exit status != 0: 1.5551758306100965 1.561800972 1.379400103 Calling exit ...