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.01025/0.01025, allocations: 1.771 MB / 18.82 MB, free: 4.355 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.001232/0.001232, allocations: 99.72 kB / 22.07 MB, free: 1.109 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.001604/0.001604, allocations: 215.9 kB / 25.46 MB, free: 3.344 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.071/1.071, allocations: 130.6 MB / 446.3 MB, free: 14.52 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.3763/0.3763, allocations: 46.14 MB / 0.6556 GB, free: 30.79 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.5568, allocations: 89.05 MB / 0.7426 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestDrum): time 0.02658/0.5834, allocations: 23.88 MB / 0.7659 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03935/0.6227, allocations: 23.5 MB / 0.7889 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006571/0.6293, allocations: 123.1 kB / 0.789 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007992/0.6373, allocations: 2.761 MB / 0.7917 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.6503, allocations: 3.821 MB / 0.7954 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/0.6609, allocations: 3.625 MB / 0.7989 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01987/0.6808, allocations: 12.53 MB / 0.8112 GB, free: 11.89 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00717/0.6879, allocations: 3.795 MB / 0.8149 GB, free: 8.016 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.6982, allocations: 5.038 MB / 0.8198 GB, free: 2.961 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.7085, allocations: 5.147 MB / 0.8248 GB, free: 13.79 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.002946/0.7115, allocations: 0.8008 MB / 0.8256 GB, free: 12.99 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008339/0.7198, allocations: 3.018 MB / 0.8286 GB, free: 9.973 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004278/0.7241, allocations: 2.651 MB / 0.8311 GB, free: 7.312 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.009398/0.7335, allocations: 4.28 MB / 0.8353 GB, free: 3.012 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02534/0.7588, allocations: 13.39 MB / 0.8484 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.7588, allocations: 0 / 0.8484 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7588, allocations: 0 / 0.8484 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000424/0.7592, allocations: 0 / 0.8484 GB, free: 5.574 MB / 0.6544 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.02478/0.784, allocations: 8.687 MB / 0.8569 GB, free: 12.78 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7841, allocations: 8.031 kB / 0.8569 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.788, allocations: 1.03 MB / 0.8579 GB, free: 11.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.8019, allocations: 6.463 MB / 0.8642 GB, free: 5.203 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.8022, allocations: 304.1 kB / 0.8645 GB, free: 4.902 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.8034, allocations: 399.9 kB / 0.8649 GB, free: 4.512 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4268/1.23, allocations: 11.9 MB / 0.8765 GB, free: 107.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/1.23, allocations: 53.69 kB / 0.8766 GB, free: 107.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005677/1.231, allocations: 207.6 kB / 0.8768 GB, free: 107.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004097/1.231, allocations: 389.3 kB / 0.8771 GB, free: 107.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/1.258, allocations: 10.19 MB / 0.8871 GB, free: 104.2 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.05052/1.309, allocations: 47.48 MB / 0.9334 GB, free: 64.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02417/1.333, allocations: 8.104 MB / 0.9414 GB, free: 59.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007545/1.34, allocations: 3.01 MB / 0.9443 GB, free: 57.91 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.342, allocations: 0.6768 MB / 0.945 GB, free: 57.35 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/1.342, allocations: 102.6 kB / 0.9451 GB, free: 57.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=816): time 8.125e-06/1.342, allocations: 1.219 kB / 0.9451 GB, free: 57.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=817): time 0.06991/1.412, allocations: 42.69 MB / 0.9868 GB, free: 23.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000253/1.412, allocations: 1.141 MB / 0.9879 GB, free: 22.49 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007448/1.419, allocations: 5.772 MB / 0.9935 GB, free: 16.76 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001582/1.421, allocations: 88.33 kB / 0.9936 GB, free: 16.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.422, allocations: 2.809 MB / 0.9963 GB, free: 14.12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003107/1.426, allocations: 2.794 MB / 0.9991 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002673/1.428, allocations: 1.775 MB / 1.001 GB, free: 9.867 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.352e-05/1.428, allocations: 305.1 kB / 1.001 GB, free: 9.566 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005618/1.434, allocations: 4.191 MB / 1.005 GB, free: 5.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007652/1.442, allocations: 6.629 MB / 1.012 GB, free: 13.75 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4612/1.903, allocations: 69.42 MB / 1.079 GB, free: 8.195 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.903e-05/1.903, allocations: 20 kB / 1.079 GB, free: 8.176 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02696/1.93, allocations: 12.34 MB / 1.092 GB, free: 11.91 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 6.625e-05/1.93, allocations: 37.56 kB / 1.092 GB, free: 11.87 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01854/1.948, allocations: 9.436 MB / 1.101 GB, free: 2.379 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04481/1.993, allocations: 4.021 MB / 1.105 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009235/2.002, allocations: 2.283 MB / 1.107 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/2.016, allocations: 12.31 MB / 1.119 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006351/2.023, allocations: 351.3 kB / 1.119 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002682/2.025, allocations: 0.5426 MB / 1.12 GB, free: 14.06 MB / 0.795 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.01425/2.04, allocations: 5.979 MB / 1.126 GB, free: 8.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01016/2.05, allocations: 6.598 MB / 1.132 GB, free: 408 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.8429/2.893, allocations: 69.19 MB / 1.2 GB, free: 280.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.782e-05/2.893, allocations: 21.88 kB / 1.2 GB, free: 280.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02198/2.915, allocations: 12.24 MB / 1.212 GB, free: 277.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/2.915, allocations: 39.78 kB / 1.212 GB, free: 277.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01978/2.935, allocations: 9.339 MB / 1.221 GB, free: 273.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04187/2.977, allocations: 2.876 MB / 1.224 GB, free: 273.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/2.987, allocations: 2.279 MB / 1.226 GB, free: 273.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/2.999, allocations: 12.2 MB / 1.238 GB, free: 262.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006981/3.006, allocations: 341.9 kB / 1.238 GB, free: 262.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/3.008, allocations: 0.5401 MB / 1.239 GB, free: 262.7 MB / 0.8575 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.002297/3.01, allocations: 0.6798 MB / 1.239 GB, free: 262.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002486/3.013, allocations: 0.7101 MB / 1.24 GB, free: 262.3 MB / 0.8575 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.01829/3.031, allocations: 10.97 MB / 1.251 GB, free: 258.7 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.535228802997153] Failed to read output from testmodel.py, exit status != 0: 3.0395869740168564 3.047468767 2.286135229 Calling exit ...