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.01541/0.01541, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 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.001809/0.001809, allocations: 98.7 kB / 24.97 MB, free: 2.035 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.002008/0.002008, allocations: 210.4 kB / 28.68 MB, free: 3.324 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.434/1.434, allocations: 230.6 MB / 262.9 MB, free: 5.812 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.079/1.079, allocations: 130.7 MB / 450.4 MB, free: 6.395 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.06336/0.06336, allocations: 20.61 MB / 0.6367 GB, free: 4.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.2341, allocations: 81.9 MB / 0.7167 GB, free: 2.59 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.4926/0.7268, allocations: 53.82 MB / 0.7692 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0365/0.7633, allocations: 22.76 MB / 0.7915 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008876/0.7721, allocations: 124.8 kB / 0.7916 GB, free: 15.46 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009485/0.7816, allocations: 2.712 MB / 0.7942 GB, free: 13.86 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01682/0.7985, allocations: 3.912 MB / 0.798 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01376/0.8122, allocations: 3.716 MB / 0.8017 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02405/0.8363, allocations: 12.51 MB / 0.8139 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008107/0.8444, allocations: 3.507 MB / 0.8173 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.8556, allocations: 5.06 MB / 0.8223 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.8662, allocations: 5.166 MB / 0.8273 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003499/0.8697, allocations: 0.8046 MB / 0.8281 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00889/0.8786, allocations: 2.479 MB / 0.8305 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005199/0.8838, allocations: 2.663 MB / 0.8331 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009/0.8928, allocations: 3.312 MB / 0.8363 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02575/0.9185, allocations: 13.34 MB / 0.8494 GB, free: 10.48 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9185, allocations: 2.656 kB / 0.8494 GB, free: 10.48 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9185, allocations: 0 / 0.8494 GB, free: 10.48 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005097/0.919, allocations: 0 / 0.8494 GB, free: 10.48 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.02606/0.9451, allocations: 8.611 MB / 0.8578 GB, free: 1.805 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.9452, allocations: 14.69 kB / 0.8578 GB, free: 1.793 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005206/0.9504, allocations: 1.036 MB / 0.8588 GB, free: 0.7539 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.9659, allocations: 6.288 MB / 0.865 GB, free: 10.41 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.9664, allocations: 308.1 kB / 0.8652 GB, free: 10.1 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/0.9684, allocations: 402.6 kB / 0.8656 GB, free: 9.711 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/1.002, allocations: 13.5 MB / 0.8788 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002511/1.002, allocations: 51.5 kB / 0.8789 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001714/1.004, allocations: 204 kB / 0.8791 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006434/1.004, allocations: 393 kB / 0.8794 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0289/1.033, allocations: 10.19 MB / 0.8894 GB, free: 15.79 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.07078/1.104, allocations: 43.41 MB / 0.9318 GB, free: 3.129 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02312/1.127, allocations: 7.864 MB / 0.9395 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006914/1.134, allocations: 3.005 MB / 0.9424 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.135, allocations: 272.9 kB / 0.9426 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/1.136, allocations: 105.6 kB / 0.9427 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 1.117e-05/1.136, allocations: 0 / 0.9427 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.1072/1.243, allocations: 42.3 MB / 0.9841 GB, free: 13.09 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007331/1.244, allocations: 1.139 MB / 0.9852 GB, free: 11.69 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.254, allocations: 5.538 MB / 0.9906 GB, free: 6.133 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001516/1.255, allocations: 89.7 kB / 0.9907 GB, free: 6.039 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.258, allocations: 2.827 MB / 0.9934 GB, free: 3.191 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.00455/1.263, allocations: 2.807 MB / 0.9962 GB, free: 368 kB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004995/1.268, allocations: 1.771 MB / 0.9979 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.268, allocations: 301.1 kB / 0.9982 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008547/1.276, allocations: 4.194 MB / 1.002 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/1.289, allocations: 7.155 MB / 1.009 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8193/2.108, allocations: 69.42 MB / 1.077 GB, free: 344.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.005e-05/2.108, allocations: 22.44 kB / 1.077 GB, free: 344.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02524/2.134, allocations: 12.32 MB / 1.089 GB, free: 338.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/2.134, allocations: 39.5 kB / 1.089 GB, free: 338.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01599/2.15, allocations: 9.44 MB / 1.098 GB, free: 331.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04563/2.195, allocations: 4.021 MB / 1.102 GB, free: 328 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008353/2.204, allocations: 2.281 MB / 1.105 GB, free: 325.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009413/2.213, allocations: 11.51 MB / 1.116 GB, free: 313.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005846/2.219, allocations: 348.2 kB / 1.116 GB, free: 313.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/2.22, allocations: 0.5426 MB / 1.117 GB, free: 312.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.009328/2.23, allocations: 5.983 MB / 1.122 GB, free: 306.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007094/2.237, allocations: 7.12 MB / 1.129 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4061/2.643, allocations: 69.21 MB / 1.197 GB, free: 228.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.992e-05/2.643, allocations: 20 kB / 1.197 GB, free: 228.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02548/2.668, allocations: 12.21 MB / 1.209 GB, free: 216.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/2.668, allocations: 36.94 kB / 1.209 GB, free: 216.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01811/2.687, allocations: 9.344 MB / 1.218 GB, free: 207 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03247/2.719, allocations: 2.882 MB / 1.221 GB, free: 204.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00872/2.728, allocations: 2.274 MB / 1.223 GB, free: 201.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009913/2.738, allocations: 11.41 MB / 1.234 GB, free: 189.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/2.744, allocations: 345.1 kB / 1.235 GB, free: 189.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002122/2.746, allocations: 0.5426 MB / 1.235 GB, free: 189.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.003748/2.75, allocations: 0.6805 MB / 1.236 GB, free: 188.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003381/2.754, allocations: 0.69 MB / 1.236 GB, free: 187.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.02405/2.778, allocations: 10.95 MB / 1.247 GB, free: 177.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.6340698529966176] Failed to read output from testmodel.py, exit status != 0: 2.9290775610134006 2.938336721 2.017217017 Calling exit ...