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.006065/0.006065, 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.0006893/0.0006893, 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.0007909/0.0007909, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8649/0.8649, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7148/0.7148, 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 2.054e-06/2.054e-06, allocations: 3.422 kB / 0.5362 GB, free: 40 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.681e-05, allocations: 2.281 kB / 0.5362 GB, free: 40 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.1162/0.1162, allocations: 67.49 MB / 0.6021 GB, free: 9.031 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02874/0.145, allocations: 22.5 MB / 0.624 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.1487, allocations: 127.1 kB / 0.6242 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.1529, allocations: 2.702 MB / 0.6268 GB, free: 15.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.159, allocations: 4.012 MB / 0.6307 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005549/0.1646, allocations: 3.753 MB / 0.6344 GB, free: 7.828 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.1753, allocations: 12.84 MB / 0.6469 GB, free: 10.94 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004186/0.1795, allocations: 3.751 MB / 0.6506 GB, free: 7.117 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006761/0.1862, allocations: 6.841 MB / 0.6573 GB, free: 268 kB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004669/0.1909, allocations: 4.464 MB / 0.6616 GB, free: 11.79 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0008677/0.1917, allocations: 0.8008 MB / 0.6624 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004203/0.196, allocations: 2.472 MB / 0.6648 GB, free: 8.508 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.1975, allocations: 2.733 MB / 0.6675 GB, free: 5.766 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.1999, allocations: 2.724 MB / 0.6702 GB, free: 3.035 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.211, allocations: 13.32 MB / 0.6832 GB, free: 5.672 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.211, allocations: 4 kB / 0.6832 GB, free: 5.668 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.425e-06/0.211, allocations: 0 / 0.6832 GB, free: 5.668 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001965/0.2112, allocations: 0 / 0.6832 GB, free: 5.668 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.01035/0.2215, allocations: 8.514 MB / 0.6915 GB, free: 13.07 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2216, allocations: 8.031 kB / 0.6915 GB, free: 13.06 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006747/0.2223, allocations: 0.7495 MB / 0.6922 GB, free: 12.3 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.224, allocations: 1.03 MB / 0.6932 GB, free: 11.26 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/0.2308, allocations: 6.295 MB / 0.6994 GB, free: 4.871 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.231, allocations: 308.4 kB / 0.6997 GB, free: 4.566 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00059/0.2316, allocations: 403.9 kB / 0.7001 GB, free: 4.172 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.2474, allocations: 13.5 MB / 0.7132 GB, free: 5.078 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.047e-05/0.2474, allocations: 47.56 kB / 0.7133 GB, free: 5.031 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.2478, allocations: 204 kB / 0.7135 GB, free: 4.832 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/0.2481, allocations: 394.3 kB / 0.7139 GB, free: 4.445 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.2613, allocations: 10.15 MB / 0.7238 GB, free: 10.28 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.3054/0.5667, allocations: 43.97 MB / 0.7667 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.5796, allocations: 7.858 MB / 0.7744 GB, free: 167.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.5835, allocations: 3.008 MB / 0.7773 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.5841, allocations: 275.6 kB / 0.7776 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.604e-05/0.5842, allocations: 105.7 kB / 0.7777 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=816): time 6.021e-06/0.5842, allocations: 0 / 0.7777 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=817): time 0.04931/0.6335, allocations: 42.31 MB / 0.819 GB, free: 140.7 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/0.6337, allocations: 1.138 MB / 0.8201 GB, free: 139.3 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005719/0.6395, allocations: 5.884 MB / 0.8259 GB, free: 135.7 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008879/0.6403, allocations: 89.7 kB / 0.826 GB, free: 135.6 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.6414, allocations: 2.8 MB / 0.8287 GB, free: 133 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/0.6429, allocations: 2.762 MB / 0.8314 GB, free: 130.7 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001552/0.6445, allocations: 1.755 MB / 0.8331 GB, free: 128.9 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.6445, allocations: 305.1 kB / 0.8334 GB, free: 128.6 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003928/0.6484, allocations: 4.195 MB / 0.8375 GB, free: 124.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00458/0.653, allocations: 7.166 MB / 0.8445 GB, free: 116.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2158/0.8688, allocations: 69.43 MB / 0.9123 GB, free: 46.82 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-05/0.8689, allocations: 20 kB / 0.9123 GB, free: 46.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01502/0.8839, allocations: 12.34 MB / 0.9244 GB, free: 34.41 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.8839, allocations: 42.75 kB / 0.9244 GB, free: 34.37 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009901/0.8938, allocations: 9.452 MB / 0.9336 GB, free: 24.86 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02196/0.9158, allocations: 4.027 MB / 0.9376 GB, free: 20.86 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00492/0.9207, allocations: 2.278 MB / 0.9398 GB, free: 18.57 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/0.9268, allocations: 11.63 MB / 0.9511 GB, free: 6.277 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/0.9312, allocations: 346 kB / 0.9515 GB, free: 5.957 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006426/0.9319, allocations: 0.5465 MB / 0.952 GB, free: 5.41 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.00801/0.9399, allocations: 5.981 MB / 0.9578 GB, free: 15.42 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006625/0.9465, allocations: 7.129 MB / 0.9648 GB, free: 7.086 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.497/1.444, allocations: 69.21 MB / 1.032 GB, free: 240 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001035/1.444, allocations: 20.09 kB / 1.032 GB, free: 240 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01853/1.462, allocations: 12.23 MB / 1.044 GB, free: 237.1 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/1.462, allocations: 38.09 kB / 1.044 GB, free: 237.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01139/1.474, allocations: 9.339 MB / 1.054 GB, free: 233.5 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/1.49, allocations: 2.879 MB / 1.056 GB, free: 233.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006034/1.496, allocations: 2.28 MB / 1.059 GB, free: 233.1 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006906/1.503, allocations: 11.53 MB / 1.07 GB, free: 223.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004774/1.508, allocations: 341.5 kB / 1.07 GB, free: 223.1 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006955/1.508, allocations: 0.5396 MB / 1.071 GB, free: 223 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.002199/1.511, allocations: 0.6771 MB / 1.071 GB, free: 222.5 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/1.512, allocations: 0.7132 MB / 1.072 GB, free: 222.5 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.01215/1.524, allocations: 11 MB / 1.083 GB, free: 216.8 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.32924719620496] Failed to read output from testmodel.py, exit status != 0: 1.6749788653105497 1.6818761899999999 1.469390974 Calling exit ...