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.01312/0.01312, allocations: 1.754 MB / 20.61 MB, free: 1.004 MB / 14.72 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.001536/0.001536, allocations: 104.6 kB / 24.18 MB, free: 2.438 MB / 14.72 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.001971/0.001971, allocations: 213.5 kB / 27.9 MB, free: 3.742 MB / 19.63 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 1.439/1.439, allocations: 230.6 MB / 262.1 MB, free: 5.84 MB / 206.1 MB " [Timeout remaining time 178] 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 1.072/1.072, allocations: 130.7 MB / 449.6 MB, free: 6.438 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06598/0.06598, allocations: 20.99 MB / 0.6358 GB, free: 4.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.2311, allocations: 81.91 MB / 0.7158 GB, free: 2.742 MB / 0.5294 GB 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.4852/0.7163, allocations: 53.85 MB / 0.7684 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03351/0.7498, allocations: 22.77 MB / 0.7906 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007284/0.7571, allocations: 122.7 kB / 0.7908 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008181/0.7653, allocations: 2.695 MB / 0.7934 GB, free: 13.83 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.7777, allocations: 3.903 MB / 0.7972 GB, free: 10.76 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.7878, allocations: 3.7 MB / 0.8008 GB, free: 7.93 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0185/0.8063, allocations: 12.5 MB / 0.813 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0064/0.8127, allocations: 3.74 MB / 0.8167 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009796/0.8225, allocations: 5.061 MB / 0.8216 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009404/0.8319, allocations: 4.993 MB / 0.8265 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002962/0.8349, allocations: 0.8008 MB / 0.8273 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007848/0.8428, allocations: 2.436 MB / 0.8297 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004422/0.8472, allocations: 2.655 MB / 0.8323 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007512/0.8547, allocations: 3.315 MB / 0.8355 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02114/0.8758, allocations: 13.33 MB / 0.8485 GB, free: 10.57 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.8758, allocations: 0 / 0.8485 GB, free: 10.57 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8758, allocations: 0 / 0.8485 GB, free: 10.57 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003892/0.8762, allocations: 0 / 0.8485 GB, free: 10.57 MB / 0.6232 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.02324/0.8995, allocations: 8.613 MB / 0.8569 GB, free: 1.898 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.8995, allocations: 8.031 kB / 0.8569 GB, free: 1.891 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00229/0.9018, allocations: 0.7534 MB / 0.8577 GB, free: 1.125 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.9058, allocations: 1.033 MB / 0.8587 GB, free: 92 kB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.9202, allocations: 6.294 MB / 0.8648 GB, free: 9.738 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.9205, allocations: 308.1 kB / 0.8651 GB, free: 9.434 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.9219, allocations: 403.9 kB / 0.8655 GB, free: 9.039 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03103/0.9529, allocations: 13.5 MB / 0.8787 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/0.953, allocations: 56.23 kB / 0.8787 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008528/0.9539, allocations: 200 kB / 0.8789 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004777/0.9544, allocations: 394.3 kB / 0.8793 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/0.9815, allocations: 10.14 MB / 0.8892 GB, free: 15.17 MB / 0.67 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.065/1.046, allocations: 44.12 MB / 0.9323 GB, free: 1.781 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02129/1.068, allocations: 7.853 MB / 0.94 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006389/1.074, allocations: 3.009 MB / 0.9429 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.075, allocations: 276.9 kB / 0.9432 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/1.075, allocations: 97.58 kB / 0.9433 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 8.075e-06/1.075, allocations: 0 / 0.9433 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.09453/1.17, allocations: 42.31 MB / 0.9846 GB, free: 11.74 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006535/1.171, allocations: 1.144 MB / 0.9857 GB, free: 10.33 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.181, allocations: 5.887 MB / 0.9914 GB, free: 4.43 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/1.182, allocations: 89.7 kB / 0.9915 GB, free: 4.336 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.185, allocations: 2.805 MB / 0.9943 GB, free: 1.512 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.003941/1.189, allocations: 2.8 MB / 0.997 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003678/1.193, allocations: 1.773 MB / 0.9987 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.193, allocations: 304.9 kB / 0.999 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008064/1.201, allocations: 4.192 MB / 1.003 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/1.213, allocations: 7.157 MB / 1.01 GB, free: 32 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7437/1.957, allocations: 69.43 MB / 1.078 GB, free: 344.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-05/1.957, allocations: 22.56 kB / 1.078 GB, free: 344.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02301/1.98, allocations: 12.33 MB / 1.09 GB, free: 338.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/1.98, allocations: 38.64 kB / 1.09 GB, free: 338.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01764/1.998, allocations: 9.442 MB / 1.099 GB, free: 330.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04241/2.04, allocations: 4.017 MB / 1.103 GB, free: 326.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00823/2.049, allocations: 2.281 MB / 1.105 GB, free: 324.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009807/2.058, allocations: 11.64 MB / 1.117 GB, free: 311.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/2.064, allocations: 350.4 kB / 1.117 GB, free: 311.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/2.066, allocations: 0.5465 MB / 1.118 GB, free: 311.1 MB / 0.8263 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.01033/2.076, allocations: 5.977 MB / 1.123 GB, free: 305.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007924/2.084, allocations: 7.124 MB / 1.13 GB, free: 296.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4372/2.521, allocations: 69.21 MB / 1.198 GB, free: 226.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.428e-05/2.522, allocations: 24 kB / 1.198 GB, free: 226.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02223/2.544, allocations: 12.23 MB / 1.21 GB, free: 214.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/2.544, allocations: 32 kB / 1.21 GB, free: 214.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01568/2.559, allocations: 9.336 MB / 1.219 GB, free: 205.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03066/2.59, allocations: 2.877 MB / 1.222 GB, free: 202.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00839/2.599, allocations: 2.278 MB / 1.224 GB, free: 200 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009559/2.608, allocations: 11.54 MB / 1.235 GB, free: 187.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/2.614, allocations: 336.7 kB / 1.236 GB, free: 187.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/2.616, allocations: 0.5387 MB / 1.236 GB, free: 187.1 MB / 0.8263 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.003249/2.62, allocations: 0.679 MB / 1.237 GB, free: 186.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003045/2.623, allocations: 0.7099 MB / 1.238 GB, free: 185.9 MB / 0.8263 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.01881/2.641, allocations: 11.02 MB / 1.248 GB, free: 175.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.460989326238632] Failed to read output from testmodel.py, exit status != 0: 2.7841652370989323 2.79437952 1.916042017 Calling exit ...