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.01058/0.01058, allocations: 1.764 MB / 20.61 MB, free: 3.863 MB / 13.93 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.08579/0.08579, allocations: 25.6 MB / 49.71 MB, free: 2.922 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.0008787/0.0008787, allocations: 118.1 kB / 60.65 MB, free: 3.023 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.00109/0.00109, allocations: 211.5 kB / 71.72 MB, free: 6.492 MB / 44.04 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.9764/0.9764, allocations: 230.7 MB / 313.3 MB, free: 11.78 MB / 234.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.8404/0.8404, allocations: 130.7 MB / 0.4963 GB, free: 2.207 MB / 362.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 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: 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: 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: 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: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 154 kB / 0.69 GB, free: 47.18 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1416, allocations: 89.26 MB / 0.7772 GB, free: 3.039 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestDrum): time 0.01643/0.158, allocations: 20.87 MB / 0.7976 GB, free: 14.08 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02823/0.1862, allocations: 22.78 MB / 0.8198 GB, free: 7.234 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007241/0.1935, allocations: 123.1 kB / 0.8199 GB, free: 7.113 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.006027/0.1995, allocations: 2.679 MB / 0.8226 GB, free: 4.422 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.008607/0.2081, allocations: 3.904 MB / 0.8264 GB, free: 0.5 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007224/0.2153, allocations: 3.718 MB / 0.83 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.2286, allocations: 12.5 MB / 0.8422 GB, free: 260 kB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005254/0.2338, allocations: 3.732 MB / 0.8458 GB, free: 12.45 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008119/0.242, allocations: 5.065 MB / 0.8508 GB, free: 7.367 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007638/0.2496, allocations: 4.987 MB / 0.8557 GB, free: 2.359 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.003026/0.2526, allocations: 0.8046 MB / 0.8565 GB, free: 1.555 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007373/0.26, allocations: 2.444 MB / 0.8588 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003155/0.2632, allocations: 2.655 MB / 0.8614 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005217/0.2684, allocations: 3.312 MB / 0.8647 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.2827, allocations: 13.33 MB / 0.8777 GB, free: 11.74 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2827, allocations: 3.938 kB / 0.8777 GB, free: 11.74 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2827, allocations: 0 / 0.8777 GB, free: 11.74 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0003117/0.283, allocations: 0 / 0.8777 GB, free: 11.74 MB / 0.6512 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.01354/0.2966, allocations: 8.601 MB / 0.8861 GB, free: 3.051 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2966, allocations: 16.02 kB / 0.8861 GB, free: 3.035 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009144/0.2975, allocations: 0.7533 MB / 0.8868 GB, free: 2.27 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.2995, allocations: 1.034 MB / 0.8878 GB, free: 1.23 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.3098, allocations: 6.291 MB / 0.894 GB, free: 10.85 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.31, allocations: 312.1 kB / 0.8943 GB, free: 10.54 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006962/0.3107, allocations: 395.9 kB / 0.8947 GB, free: 10.15 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3313/0.642, allocations: 13.5 MB / 0.9078 GB, free: 60.95 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.6421, allocations: 51.62 kB / 0.9079 GB, free: 60.95 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005432/0.6426, allocations: 204 kB / 0.9081 GB, free: 60.95 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000428/0.6431, allocations: 395.5 kB / 0.9085 GB, free: 60.95 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/0.6643, allocations: 10.14 MB / 0.9184 GB, free: 60.91 MB / 0.6668 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.04589/0.7102, allocations: 44.11 MB / 0.9614 GB, free: 32.01 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.7228, allocations: 7.859 MB / 0.9691 GB, free: 28.95 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003989/0.7268, allocations: 3.01 MB / 0.9721 GB, free: 27.42 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/0.7274, allocations: 268.3 kB / 0.9723 GB, free: 27.33 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.7274, allocations: 101.8 kB / 0.9724 GB, free: 27.25 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=816): time 6.793e-06/0.7274, allocations: 0 / 0.9724 GB, free: 27.25 MB / 0.6668 GB Notification: Performance of matching and sorting (n=817): time 0.05258/0.78, allocations: 42.33 MB / 1.014 GB, free: 7.141 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003389/0.7804, allocations: 1.136 MB / 1.015 GB, free: 5.742 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007237/0.7876, allocations: 5.888 MB / 1.021 GB, free: 15.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001525/0.7891, allocations: 89.7 kB / 1.021 GB, free: 15.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.7908, allocations: 2.809 MB / 1.023 GB, free: 13.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003403/0.7942, allocations: 2.808 MB / 1.026 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002576/0.7967, allocations: 1.771 MB / 1.028 GB, free: 9.004 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.7968, allocations: 309 kB / 1.028 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005099/0.8019, allocations: 4.195 MB / 1.032 GB, free: 4.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007362/0.8093, allocations: 7.152 MB / 1.039 GB, free: 12.16 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2169/1.026, allocations: 69.42 MB / 1.107 GB, free: 6.004 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.36e-05/1.026, allocations: 20 kB / 1.107 GB, free: 5.984 MB / 0.7762 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01975/1.046, allocations: 12.34 MB / 1.119 GB, free: 10.02 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/1.046, allocations: 36 kB / 1.119 GB, free: 9.98 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01416/1.06, allocations: 9.436 MB / 1.128 GB, free: 0.5234 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02202/1.082, allocations: 4.028 MB / 1.132 GB, free: 12.51 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006065/1.088, allocations: 2.28 MB / 1.135 GB, free: 10.36 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008184/1.096, allocations: 11.63 MB / 1.146 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/1.101, allocations: 347.3 kB / 1.146 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.103, allocations: 0.5465 MB / 1.147 GB, free: 13.22 MB / 0.823 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.009437/1.112, allocations: 5.989 MB / 1.153 GB, free: 7.223 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007509/1.12, allocations: 7.125 MB / 1.16 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2306/1.35, allocations: 69.21 MB / 1.227 GB, free: 8.996 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.467e-05/1.35, allocations: 20 kB / 1.227 GB, free: 8.977 MB / 0.9012 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.3563/1.707, allocations: 12.23 MB / 1.239 GB, free: 328.3 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/1.707, allocations: 35.53 kB / 1.239 GB, free: 328.3 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01685/1.723, allocations: 9.341 MB / 1.248 GB, free: 326.3 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01706/1.74, allocations: 2.874 MB / 1.251 GB, free: 326.1 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005874/1.746, allocations: 2.287 MB / 1.253 GB, free: 326.1 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/1.753, allocations: 11.52 MB / 1.265 GB, free: 316.3 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/1.757, allocations: 338.1 kB / 1.265 GB, free: 316.2 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006746/1.757, allocations: 0.5454 MB / 1.265 GB, free: 316.1 MB / 0.9012 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.001694/1.759, allocations: 0.6826 MB / 1.266 GB, free: 315.7 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.76, allocations: 0.7069 MB / 1.267 GB, free: 315.7 MB / 0.9012 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.01215/1.772, allocations: 11.02 MB / 1.278 GB, free: 311.8 MB / 0.9012 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.853750687092543]