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.01037/0.01037, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001277/0.001277, allocations: 107.5 kB / 24.98 MB, free: 2.156 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.001683/0.001683, allocations: 204 kB / 28.71 MB, free: 3.441 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.471/1.471, allocations: 230.6 MB / 262.9 MB, free: 6.012 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.074/1.074, allocations: 130.7 MB / 450.4 MB, free: 6.547 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.03229/0.03229, allocations: 20.6 MB / 0.6368 GB, free: 4.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.2122, allocations: 81.91 MB / 0.7168 GB, free: 2.816 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.5148/0.727, allocations: 56.87 MB / 0.7723 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04113/0.7681, allocations: 23.78 MB / 0.7955 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009212/0.7773, allocations: 130.5 kB / 0.7957 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009291/0.7866, allocations: 2.835 MB / 0.7984 GB, free: 9.816 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0142/0.8008, allocations: 3.902 MB / 0.8022 GB, free: 6.73 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.8119, allocations: 3.711 MB / 0.8059 GB, free: 3.891 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02071/0.8326, allocations: 12.53 MB / 0.8181 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007093/0.8397, allocations: 3.515 MB / 0.8215 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.8514, allocations: 5.038 MB / 0.8264 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/0.8622, allocations: 5.169 MB / 0.8315 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003376/0.8656, allocations: 0.8008 MB / 0.8323 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009642/0.8752, allocations: 3.209 MB / 0.8354 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005044/0.8803, allocations: 2.663 MB / 0.838 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009756/0.89, allocations: 4.28 MB / 0.8422 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02466/0.9147, allocations: 13.44 MB / 0.8553 GB, free: 4.887 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9147, allocations: 0 / 0.8553 GB, free: 4.887 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9147, allocations: 0 / 0.8553 GB, free: 4.887 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004157/0.9151, allocations: 2.688 kB / 0.8553 GB, free: 4.887 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.02477/0.9399, allocations: 8.613 MB / 0.8637 GB, free: 12.21 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.94, allocations: 12.03 kB / 0.8637 GB, free: 12.2 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.9451, allocations: 1.033 MB / 0.8648 GB, free: 11.16 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.9603, allocations: 6.285 MB / 0.8709 GB, free: 4.82 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003847/0.9607, allocations: 308.1 kB / 0.8712 GB, free: 4.516 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.9626, allocations: 399.9 kB / 0.8716 GB, free: 4.125 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/0.9952, allocations: 11.91 MB / 0.8832 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/0.9955, allocations: 47.56 kB / 0.8832 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/0.9974, allocations: 200 kB / 0.8834 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006651/0.9981, allocations: 397 kB / 0.8838 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02906/1.027, allocations: 10.19 MB / 0.8938 GB, free: 12.29 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.07407/1.101, allocations: 46.83 MB / 0.9395 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02386/1.125, allocations: 7.871 MB / 0.9472 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007946/1.133, allocations: 3.025 MB / 0.9501 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.134, allocations: 307.6 kB / 0.9504 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/1.135, allocations: 102.9 kB / 0.9505 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 8.647e-06/1.135, allocations: 0 / 0.9505 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.1041/1.239, allocations: 42.32 MB / 0.9918 GB, free: 6.008 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007787/1.239, allocations: 1.143 MB / 0.993 GB, free: 4.602 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.252, allocations: 5.764 MB / 0.9986 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.002243/1.254, allocations: 89.7 kB / 0.9987 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003885/1.258, allocations: 2.809 MB / 1.001 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.005089/1.263, allocations: 2.798 MB / 1.004 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003976/1.267, allocations: 1.775 MB / 1.006 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.267, allocations: 301.1 kB / 1.006 GB, free: 7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008552/1.276, allocations: 4.194 MB / 1.01 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/1.289, allocations: 6.624 MB / 1.017 GB, free: 11.14 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7641/2.053, allocations: 69.42 MB / 1.085 GB, free: 341.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.826e-05/2.053, allocations: 19.22 kB / 1.085 GB, free: 341.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02038/2.074, allocations: 12.34 MB / 1.097 GB, free: 334.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/2.074, allocations: 38.03 kB / 1.097 GB, free: 334.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01386/2.087, allocations: 9.435 MB / 1.106 GB, free: 325.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.044/2.131, allocations: 4.021 MB / 1.11 GB, free: 321.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008551/2.14, allocations: 2.281 MB / 1.112 GB, free: 319.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009741/2.15, allocations: 11.69 MB / 1.123 GB, free: 306.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00691/2.157, allocations: 355.9 kB / 1.124 GB, free: 306.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/2.158, allocations: 0.5464 MB / 1.124 GB, free: 306 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.009448/2.168, allocations: 5.99 MB / 1.13 GB, free: 300 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007242/2.175, allocations: 6.589 MB / 1.137 GB, free: 292.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4285/2.603, allocations: 69.19 MB / 1.204 GB, free: 222.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.919e-05/2.603, allocations: 20 kB / 1.204 GB, free: 222.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02415/2.628, allocations: 12.24 MB / 1.216 GB, free: 210.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/2.628, allocations: 36 kB / 1.216 GB, free: 210.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01706/2.645, allocations: 9.336 MB / 1.225 GB, free: 200.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03154/2.676, allocations: 2.881 MB / 1.228 GB, free: 197.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008123/2.684, allocations: 2.278 MB / 1.23 GB, free: 195.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009452/2.694, allocations: 11.59 MB / 1.242 GB, free: 183.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005762/2.7, allocations: 340.7 kB / 1.242 GB, free: 183.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/2.701, allocations: 0.5417 MB / 1.242 GB, free: 182.6 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.003046/2.704, allocations: 0.6851 MB / 1.243 GB, free: 181.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002996/2.707, allocations: 0.7095 MB / 1.244 GB, free: 181.4 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.01888/2.726, allocations: 10.96 MB / 1.255 GB, free: 170.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.544583863927983] Failed to read output from testmodel.py, exit status != 0: 2.871108227991499 2.88017193 1.962892156 Calling exit ...