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.01288/0.01288, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001384/0.001384, allocations: 109.2 kB / 24.19 MB, free: 2.684 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.001662/0.001662, allocations: 207.9 kB / 27.92 MB, free: 4.027 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.527/1.527, allocations: 230.6 MB / 262.1 MB, free: 5.996 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.139/1.139, allocations: 130.7 MB / 449.6 MB, free: 6.586 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.03056/0.03056, allocations: 20.79 MB / 0.6362 GB, free: 4.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.234, allocations: 81.91 MB / 0.7162 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.6261/0.8601, allocations: 56.86 MB / 0.7717 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04097/0.9011, allocations: 23.78 MB / 0.7949 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008572/0.9096, allocations: 125.4 kB / 0.7951 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009234/0.9189, allocations: 2.837 MB / 0.7978 GB, free: 9.719 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.9343, allocations: 3.9 MB / 0.8016 GB, free: 6.633 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.9466, allocations: 3.727 MB / 0.8053 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02328/0.9699, allocations: 12.52 MB / 0.8175 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008164/0.978, allocations: 3.511 MB / 0.8209 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.9908, allocations: 5.038 MB / 0.8259 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01149/1.002, allocations: 5.165 MB / 0.8309 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003811/1.006, allocations: 0.8008 MB / 0.8317 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/1.017, allocations: 3.215 MB / 0.8348 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005595/1.023, allocations: 2.665 MB / 0.8374 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01073/1.034, allocations: 4.28 MB / 0.8416 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0267/1.06, allocations: 13.44 MB / 0.8547 GB, free: 4.75 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.06, allocations: 4 kB / 0.8547 GB, free: 4.746 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.516e-06/1.06, allocations: 3.984 kB / 0.8547 GB, free: 4.742 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004326/1.061, allocations: 0 / 0.8547 GB, free: 4.742 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.02527/1.086, allocations: 8.612 MB / 0.8631 GB, free: 12.07 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.086, allocations: 11.97 kB / 0.8631 GB, free: 12.06 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00477/1.091, allocations: 1.037 MB / 0.8642 GB, free: 11.02 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/1.106, allocations: 6.283 MB / 0.8703 GB, free: 4.68 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/1.107, allocations: 310.7 kB / 0.8706 GB, free: 4.375 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/1.109, allocations: 399.9 kB / 0.871 GB, free: 3.984 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03272/1.141, allocations: 11.91 MB / 0.8826 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002162/1.142, allocations: 43.56 kB / 0.8827 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/1.143, allocations: 208 kB / 0.8828 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006442/1.144, allocations: 390.3 kB / 0.8832 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/1.173, allocations: 10.19 MB / 0.8932 GB, free: 12.15 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.07453/1.247, allocations: 46.82 MB / 0.9389 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/1.269, allocations: 7.88 MB / 0.9466 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006345/1.275, allocations: 3.011 MB / 0.9495 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/1.276, allocations: 308.7 kB / 0.9498 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/1.276, allocations: 106.8 kB / 0.9499 GB, free: 468 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=816): time 6.903e-06/1.276, allocations: 0 / 0.9499 GB, free: 468 kB / 0.7169 GB Notification: Performance of matching and sorting (n=817): time 0.09784/1.374, allocations: 42.32 MB / 0.9913 GB, free: 5.863 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006962/1.375, allocations: 1.147 MB / 0.9924 GB, free: 4.453 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.385, allocations: 5.771 MB / 0.998 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001735/1.387, allocations: 85.7 kB / 0.9981 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.39, allocations: 2.809 MB / 1.001 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004375/1.394, allocations: 2.803 MB / 1.004 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003648/1.398, allocations: 1.773 MB / 1.005 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.398, allocations: 301.1 kB / 1.006 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007661/1.406, allocations: 4.196 MB / 1.01 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01118/1.417, allocations: 6.635 MB / 1.016 GB, free: 10.99 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8246/2.241, allocations: 69.4 MB / 1.084 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.621e-05/2.242, allocations: 23.47 kB / 1.084 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02467/2.266, allocations: 12.33 MB / 1.096 GB, free: 334.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/2.266, allocations: 36.97 kB / 1.096 GB, free: 334.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01543/2.282, allocations: 9.442 MB / 1.105 GB, free: 325.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0462/2.328, allocations: 4.016 MB / 1.109 GB, free: 321.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008283/2.336, allocations: 2.278 MB / 1.111 GB, free: 319 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/2.346, allocations: 11.69 MB / 1.123 GB, free: 306.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/2.352, allocations: 354.2 kB / 1.123 GB, free: 306.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/2.354, allocations: 0.5387 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.009455/2.363, allocations: 5.989 MB / 1.13 GB, free: 299.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007063/2.37, allocations: 6.597 MB / 1.136 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4355/2.806, allocations: 69.19 MB / 1.204 GB, free: 222 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.973e-05/2.806, allocations: 20 kB / 1.204 GB, free: 222 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02188/2.828, allocations: 12.24 MB / 1.216 GB, free: 210.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/2.828, allocations: 36 kB / 1.216 GB, free: 210 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01588/2.844, allocations: 9.335 MB / 1.225 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03331/2.877, allocations: 2.872 MB / 1.227 GB, free: 197.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008433/2.886, allocations: 2.289 MB / 1.23 GB, free: 195.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009822/2.895, allocations: 11.61 MB / 1.241 GB, free: 183.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007897/2.903, allocations: 339.3 kB / 1.241 GB, free: 183 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/2.905, allocations: 0.5348 MB / 1.242 GB, free: 182.4 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.002477/2.908, allocations: 0.6886 MB / 1.243 GB, free: 181.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00244/2.91, allocations: 0.7057 MB / 1.243 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.01652/2.927, allocations: 10.96 MB / 1.254 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: 6.943985886999144] Failed to read output from testmodel.py, exit status != 0: 3.0794233939996047 3.098354175 2.033961814 Calling exit ...