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.01052/0.01052, allocations: 1.757 MB / 21.34 MB, free: 0.5898 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.001575/0.001575, allocations: 105.6 kB / 24.94 MB, free: 2.16 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.001774/0.001774, allocations: 207.8 kB / 28.67 MB, free: 3.438 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.586/1.586, allocations: 230.6 MB / 262.9 MB, free: 6 MB / 206.1 MB " [Timeout remaining time 178] 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 1.159/1.159, allocations: 130.7 MB / 450.4 MB, free: 6.566 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.1.|drum.wall.U.2.|drum.wall.U.3.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.1.|drum.wall.U.2.|drum.wall.U.3.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [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.03635/0.03635, allocations: 20.8 MB / 0.6369 GB, free: 4.617 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2505, allocations: 81.9 MB / 0.7169 GB, free: 2.637 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.653/0.9035, allocations: 56.87 MB / 0.7725 GB, free: 12.38 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04522/0.9487, allocations: 23.77 MB / 0.7957 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009657/0.9584, allocations: 122.3 kB / 0.7958 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.9685, allocations: 2.841 MB / 0.7986 GB, free: 9.75 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.9847, allocations: 3.894 MB / 0.8024 GB, free: 6.672 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01239/0.997, allocations: 3.723 MB / 0.806 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02758/1.025, allocations: 12.54 MB / 0.8182 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009685/1.034, allocations: 3.499 MB / 0.8217 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/1.051, allocations: 5.046 MB / 0.8266 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/1.067, allocations: 5.158 MB / 0.8316 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005801/1.073, allocations: 0.8047 MB / 0.8324 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/1.086, allocations: 3.215 MB / 0.8356 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.007779/1.093, allocations: 2.663 MB / 0.8382 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0152/1.109, allocations: 4.276 MB / 0.8423 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03453/1.143, allocations: 13.44 MB / 0.8555 GB, free: 4.754 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.143, allocations: 0 / 0.8555 GB, free: 4.754 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.823e-06/1.143, allocations: 0 / 0.8555 GB, free: 4.754 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005283/1.144, allocations: 0 / 0.8555 GB, free: 4.754 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.03439/1.178, allocations: 8.616 MB / 0.8639 GB, free: 12.08 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.178, allocations: 12.03 kB / 0.8639 GB, free: 12.07 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/1.184, allocations: 1.033 MB / 0.8649 GB, free: 11.03 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02197/1.206, allocations: 6.287 MB / 0.871 GB, free: 4.684 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006862/1.207, allocations: 304.1 kB / 0.8713 GB, free: 4.383 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/1.21, allocations: 405.9 kB / 0.8717 GB, free: 3.992 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/1.246, allocations: 11.9 MB / 0.8833 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/1.246, allocations: 47.56 kB / 0.8834 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00206/1.248, allocations: 207.9 kB / 0.8836 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006917/1.249, allocations: 398.3 kB / 0.884 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02923/1.278, allocations: 10.18 MB / 0.8939 GB, free: 12.16 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.07966/1.358, allocations: 46.82 MB / 0.9396 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02387/1.382, allocations: 7.871 MB / 0.9473 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007807/1.389, allocations: 3.022 MB / 0.9503 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/1.391, allocations: 308.7 kB / 0.9506 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/1.391, allocations: 103 kB / 0.9507 GB, free: 476 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 8.727e-06/1.391, allocations: 2.656 kB / 0.9507 GB, free: 476 kB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.1049/1.496, allocations: 42.31 MB / 0.992 GB, free: 5.871 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008093/1.497, allocations: 1.139 MB / 0.9931 GB, free: 4.469 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.508, allocations: 5.771 MB / 0.9987 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001764/1.509, allocations: 89.7 kB / 0.9988 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003003/1.512, allocations: 2.805 MB / 1.002 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004802/1.517, allocations: 2.814 MB / 1.004 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003556/1.521, allocations: 1.767 MB / 1.006 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.521, allocations: 311.8 kB / 1.006 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00796/1.529, allocations: 4.188 MB / 1.01 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/1.541, allocations: 6.635 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8958/2.437, allocations: 69.39 MB / 1.085 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/2.437, allocations: 21.19 kB / 1.085 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02556/2.462, allocations: 12.33 MB / 1.097 GB, free: 334.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/2.462, allocations: 38.38 kB / 1.097 GB, free: 334.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01554/2.478, allocations: 9.445 MB / 1.106 GB, free: 325.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04519/2.523, allocations: 4.025 MB / 1.11 GB, free: 321.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008889/2.532, allocations: 2.274 MB / 1.112 GB, free: 319 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/2.542, allocations: 11.7 MB / 1.124 GB, free: 306.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007254/2.549, allocations: 355.8 kB / 1.124 GB, free: 306.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/2.552, allocations: 0.5465 MB / 1.124 GB, free: 305.9 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.01123/2.563, allocations: 5.973 MB / 1.13 GB, free: 299.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007998/2.571, allocations: 6.597 MB / 1.137 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4204/2.991, allocations: 69.19 MB / 1.204 GB, free: 222.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.93e-05/2.991, allocations: 23.83 kB / 1.204 GB, free: 222 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02794/3.019, allocations: 12.24 MB / 1.216 GB, free: 210.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.249e-05/3.019, allocations: 36 kB / 1.216 GB, free: 210.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01975/3.039, allocations: 9.33 MB / 1.225 GB, free: 200.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03303/3.072, allocations: 2.878 MB / 1.228 GB, free: 197.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008772/3.081, allocations: 2.28 MB / 1.23 GB, free: 195.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/3.091, allocations: 11.6 MB / 1.242 GB, free: 183.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006981/3.098, allocations: 340.1 kB / 1.242 GB, free: 183 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/3.1, allocations: 0.5426 MB / 1.243 GB, free: 182.5 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.003518/3.104, allocations: 0.6871 MB / 1.243 GB, free: 181.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002762/3.107, allocations: 0.7057 MB / 1.244 GB, free: 181.3 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.01714/3.124, allocations: 10.96 MB / 1.255 GB, free: 170.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.436974253039807] Failed to read output from testmodel.py, exit status != 0: 3.309106827015057 3.319609713 2.173272072 Calling exit ...