Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008391/0.008391, allocations: 1.777 MB / 22.36 MB, free: 2.117 MB / 18.57 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.0007448/0.0007448, allocations: 78.81 kB / 26.19 MB, free: 6.078 MB / 18.57 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.0008438/0.0008438, allocations: 169.3 kB / 30.12 MB, free: 2.184 MB / 18.57 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 0.8665/0.8665, allocations: 177.2 MB / 211.1 MB, free: 2.27 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6811/0.6811, allocations: 102.5 MB / 370.6 MB, free: 0.8008 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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 1.0.0 (/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.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_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.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 471.2 MB, free: 12.39 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.233e-05, allocations: 3.438 kB / 471.2 MB, free: 12.38 MB / 442.8 MB 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.286/0.286, allocations: 72.44 MB / 0.5309 GB, free: 70.84 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0233/0.3093, allocations: 23.28 MB / 0.5537 GB, free: 55.29 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/0.3131, allocations: 122.4 kB / 0.5538 GB, free: 55.23 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.3181, allocations: 2.703 MB / 0.5564 GB, free: 54.01 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007525/0.3256, allocations: 4.026 MB / 0.5603 GB, free: 51.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006164/0.3318, allocations: 3.764 MB / 0.564 GB, free: 49.61 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.3439, allocations: 12.81 MB / 0.5765 GB, free: 42.74 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004938/0.3488, allocations: 3.935 MB / 0.5804 GB, free: 39.79 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0936/0.4424, allocations: 42.76 MB / 0.6221 GB, free: 1.809 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.449, allocations: 4.397 MB / 0.6264 GB, free: 13.4 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.001825/0.4508, allocations: 0.7656 MB / 0.6272 GB, free: 12.63 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/0.4564, allocations: 2.413 MB / 0.6295 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.002946/0.4594, allocations: 2.65 MB / 0.6321 GB, free: 7.559 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.004975/0.4644, allocations: 2.661 MB / 0.6347 GB, free: 4.891 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.4759, allocations: 8.486 MB / 0.643 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4759, allocations: 0 / 0.643 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4759, allocations: 0 / 0.643 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002803/0.4762, allocations: 0 / 0.643 GB, free: 12.38 MB / 0.5105 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.01085/0.487, allocations: 8.734 MB / 0.6515 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.487, allocations: 14.69 kB / 0.6515 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.489, allocations: 1.276 MB / 0.6528 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.4948, allocations: 4.707 MB / 0.6574 GB, free: 13.48 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.495, allocations: 311.1 kB / 0.6577 GB, free: 13.18 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/0.4955, allocations: 432 kB / 0.6581 GB, free: 12.76 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.5084, allocations: 10.49 MB / 0.6683 GB, free: 268 kB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.369e-05/0.5085, allocations: 47.5 kB / 0.6684 GB, free: 220 kB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/0.509, allocations: 208 kB / 0.6686 GB, free: 12 kB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/0.5092, allocations: 394.3 kB / 0.669 GB, free: 15.62 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009206/0.5185, allocations: 4.731 MB / 0.6736 GB, free: 10.9 MB / 0.5418 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.0344/0.5529, allocations: 53.97 MB / 0.7263 GB, free: 3.277 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008945/0.5618, allocations: 4.751 MB / 0.7309 GB, free: 14.3 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.564, allocations: 1.231 MB / 0.7321 GB, free: 12.97 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/0.5645, allocations: 296.8 kB / 0.7324 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.013e-05/0.5646, allocations: 108.4 kB / 0.7325 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=816): time 7.094e-06/0.5646, allocations: 0 / 0.7325 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of matching and sorting (n=817): time 0.2178/0.7824, allocations: 13.86 MB / 0.7461 GB, free: 155.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/0.7826, allocations: 1.497 MB / 0.7475 GB, free: 154 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/0.7876, allocations: 4.937 MB / 0.7523 GB, free: 153.4 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0009338/0.7886, allocations: 91.64 kB / 0.7524 GB, free: 153.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.7901, allocations: 3.099 MB / 0.7554 GB, free: 153 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/0.7921, allocations: 2.891 MB / 0.7583 GB, free: 151.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/0.7943, allocations: 1.945 MB / 0.7602 GB, free: 151.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.7943, allocations: 484.4 kB / 0.7606 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.7963, allocations: 1.323 MB / 0.7619 GB, free: 150.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/0.8001, allocations: 5.892 MB / 0.7677 GB, free: 145.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009342/0.8094, allocations: 8.051 MB / 0.7755 GB, free: 141.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.236e-05/0.8095, allocations: 23.22 kB / 0.7756 GB, free: 141.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01164/0.8211, allocations: 6.762 MB / 0.7822 GB, free: 140.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.8211, allocations: 39.67 kB / 0.7822 GB, free: 140.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006391/0.8275, allocations: 4.216 MB / 0.7863 GB, free: 140.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02294/0.8505, allocations: 4.024 MB / 0.7903 GB, free: 140.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004976/0.8555, allocations: 2.24 MB / 0.7924 GB, free: 140.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.8603, allocations: 12.92 MB / 0.8051 GB, free: 128.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/0.8645, allocations: 317.8 kB / 0.8054 GB, free: 128.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008372/0.8653, allocations: 490.2 kB / 0.8058 GB, free: 128.3 MB / 0.6043 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.003623/0.8689, allocations: 1.514 MB / 0.8073 GB, free: 127.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002829/0.8718, allocations: 5.876 MB / 0.813 GB, free: 119.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006832/0.8786, allocations: 8.018 MB / 0.8209 GB, free: 111.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.461e-05/0.8786, allocations: 20 kB / 0.8209 GB, free: 111.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.00895/0.8876, allocations: 6.729 MB / 0.8275 GB, free: 106.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.8876, allocations: 36 kB / 0.8275 GB, free: 106.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00527/0.8929, allocations: 4.173 MB / 0.8316 GB, free: 102.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02209/0.915, allocations: 3.933 MB / 0.8354 GB, free: 98.72 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005073/0.92, allocations: 2.231 MB / 0.8376 GB, free: 96.69 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.9248, allocations: 12.9 MB / 0.8502 GB, free: 83.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/0.9287, allocations: 316.5 kB / 0.8505 GB, free: 83.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009443/0.9296, allocations: 486 kB / 0.851 GB, free: 83.09 MB / 0.6043 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.001749/0.9314, allocations: 0.776 MB / 0.8517 GB, free: 82.49 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/0.9333, allocations: 0.8049 MB / 0.8525 GB, free: 81.68 MB / 0.6043 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.009193/0.9425, allocations: 9.254 MB / 0.8615 GB, free: 73.55 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.269333472009748]