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.01264/0.01264, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001477/0.001477, allocations: 102.8 kB / 24.18 MB, free: 2.184 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.00186/0.00186, allocations: 217.9 kB / 27.9 MB, free: 3.504 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.447/1.447, allocations: 230.6 MB / 262.1 MB, free: 5.855 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.036/1.036, allocations: 130.7 MB / 449.6 MB, free: 6.59 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.06616/0.06616, allocations: 20.98 MB / 0.6363 GB, free: 4.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.2397, allocations: 81.9 MB / 0.7163 GB, free: 2.262 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.4725/0.7122, allocations: 53.86 MB / 0.7689 GB, free: 15.24 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03464/0.7468, allocations: 22.77 MB / 0.7911 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00636/0.7532, allocations: 125.5 kB / 0.7913 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007218/0.7604, allocations: 2.687 MB / 0.7939 GB, free: 13.76 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.772, allocations: 3.895 MB / 0.7977 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009537/0.7815, allocations: 3.718 MB / 0.8013 GB, free: 7.855 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01777/0.7993, allocations: 12.51 MB / 0.8135 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006052/0.8053, allocations: 3.728 MB / 0.8172 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009419/0.8147, allocations: 5.065 MB / 0.8221 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009487/0.8242, allocations: 4.985 MB / 0.827 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.8264, allocations: 0.8086 MB / 0.8278 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006775/0.8332, allocations: 2.442 MB / 0.8302 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002977/0.8362, allocations: 2.652 MB / 0.8327 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006106/0.8423, allocations: 3.312 MB / 0.836 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.8623, allocations: 13.33 MB / 0.849 GB, free: 10.19 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8623, allocations: 0 / 0.849 GB, free: 10.19 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8623, allocations: 0 / 0.849 GB, free: 10.19 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003251/0.8626, allocations: 0 / 0.849 GB, free: 10.19 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.01877/0.8814, allocations: 8.615 MB / 0.8574 GB, free: 1.516 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8814, allocations: 8.031 kB / 0.8574 GB, free: 1.508 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.8845, allocations: 1.037 MB / 0.8584 GB, free: 480 kB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.8966, allocations: 6.287 MB / 0.8646 GB, free: 10.11 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.8969, allocations: 312.1 kB / 0.8649 GB, free: 9.805 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008538/0.8978, allocations: 401.2 kB / 0.8653 GB, free: 9.418 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/0.9245, allocations: 13.5 MB / 0.8784 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.9246, allocations: 51.5 kB / 0.8785 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005669/0.9252, allocations: 200 kB / 0.8787 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000459/0.9257, allocations: 394.3 kB / 0.879 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/0.9495, allocations: 10.14 MB / 0.889 GB, free: 15.55 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.05658/1.006, allocations: 43.41 MB / 0.9313 GB, free: 2.891 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0214/1.027, allocations: 7.851 MB / 0.939 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006441/1.034, allocations: 3.018 MB / 0.942 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.035, allocations: 277.5 kB / 0.9422 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/1.035, allocations: 93.59 kB / 0.9423 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 1.086e-05/1.035, allocations: 0 / 0.9423 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.09529/1.13, allocations: 42.3 MB / 0.9836 GB, free: 12.86 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006364/1.131, allocations: 1.137 MB / 0.9847 GB, free: 11.46 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009047/1.14, allocations: 5.661 MB / 0.9903 GB, free: 5.781 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001485/1.142, allocations: 89.7 kB / 0.9903 GB, free: 5.688 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.144, allocations: 2.826 MB / 0.9931 GB, free: 2.844 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.003889/1.148, allocations: 2.799 MB / 0.9958 GB, free: 20 kB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003082/1.151, allocations: 1.771 MB / 0.9976 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.151, allocations: 301.1 kB / 0.9979 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00714/1.158, allocations: 4.192 MB / 1.002 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/1.168, allocations: 7.169 MB / 1.009 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7973/1.966, allocations: 69.41 MB / 1.077 GB, free: 343.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-05/1.966, allocations: 19.25 kB / 1.077 GB, free: 343.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02253/1.988, allocations: 12.32 MB / 1.089 GB, free: 338.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/1.988, allocations: 33.5 kB / 1.089 GB, free: 338.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01542/2.004, allocations: 9.446 MB / 1.098 GB, free: 331.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04242/2.046, allocations: 4.019 MB / 1.102 GB, free: 327.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008346/2.055, allocations: 2.279 MB / 1.104 GB, free: 325.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009771/2.064, allocations: 11.51 MB / 1.115 GB, free: 313.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005928/2.07, allocations: 349.2 kB / 1.116 GB, free: 312.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/2.072, allocations: 0.5426 MB / 1.116 GB, free: 312.3 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.01013/2.082, allocations: 5.983 MB / 1.122 GB, free: 306.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008117/2.09, allocations: 7.122 MB / 1.129 GB, free: 298 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4233/2.513, allocations: 69.21 MB / 1.197 GB, free: 227.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.019e-05/2.514, allocations: 20 kB / 1.197 GB, free: 227.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02458/2.538, allocations: 12.22 MB / 1.209 GB, free: 215.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/2.538, allocations: 36 kB / 1.209 GB, free: 215.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01769/2.556, allocations: 9.328 MB / 1.218 GB, free: 206.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0302/2.586, allocations: 2.877 MB / 1.221 GB, free: 203.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008163/2.594, allocations: 2.284 MB / 1.223 GB, free: 201.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009357/2.604, allocations: 11.42 MB / 1.234 GB, free: 189.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/2.609, allocations: 333.9 kB / 1.234 GB, free: 189.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/2.611, allocations: 0.5426 MB / 1.235 GB, free: 188.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.003081/2.614, allocations: 0.6816 MB / 1.235 GB, free: 187.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003056/2.617, allocations: 0.6897 MB / 1.236 GB, free: 187.5 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.01875/2.636, allocations: 11 MB / 1.247 GB, free: 176.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.403279835358262] Failed to read output from testmodel.py, exit status != 0: 2.7852822355926037 2.795726424 1.931007891 Calling exit ...