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.008049/0.008049, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0008361/0.0008361, allocations: 86.94 kB / 25.15 MB, free: 6.316 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.001363/0.001363, allocations: 166.3 kB / 29.06 MB, free: 3.348 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.8553/0.8553, allocations: 177.1 MB / 210 MB, free: 3.578 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.5814/0.5814, allocations: 102.5 MB / 369.5 MB, free: 368 kB / 330.7 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.493e-06/1.493e-06, allocations: 3.938 kB / 469.9 MB, free: 18.94 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.408e-05, allocations: 4.797 kB / 469.9 MB, free: 18.94 MB / 410.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.1059/0.106, allocations: 73.04 MB / 0.5303 GB, free: 14.86 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.1304, allocations: 23.39 MB / 0.5531 GB, free: 7.402 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.1334, allocations: 127.1 kB / 0.5532 GB, free: 7.277 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003911/0.1373, allocations: 2.71 MB / 0.5559 GB, free: 4.555 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005357/0.1426, allocations: 4.023 MB / 0.5598 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.1474, allocations: 3.765 MB / 0.5635 GB, free: 12.73 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009248/0.1566, allocations: 12.83 MB / 0.576 GB, free: 15.87 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0037/0.1603, allocations: 3.933 MB / 0.5799 GB, free: 11.86 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09046/0.2508, allocations: 42.76 MB / 0.6216 GB, free: 2.363 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005287/0.2561, allocations: 4.41 MB / 0.6259 GB, free: 13.94 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0009584/0.257, allocations: 0.7656 MB / 0.6267 GB, free: 13.18 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.2608, allocations: 2.402 MB / 0.629 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.2624, allocations: 2.648 MB / 0.6316 GB, free: 8.113 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.2646, allocations: 2.669 MB / 0.6342 GB, free: 5.438 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.1957/0.4603, allocations: 8.477 MB / 0.6425 GB, free: 79.27 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4603, allocations: 0 / 0.6425 GB, free: 79.27 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4603, allocations: 0 / 0.6425 GB, free: 79.27 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002984/0.4606, allocations: 0 / 0.6425 GB, free: 79.27 MB / 0.5418 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.009583/0.4702, allocations: 8.737 MB / 0.651 GB, free: 75.66 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4703, allocations: 11.56 kB / 0.651 GB, free: 75.66 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.472, allocations: 1.29 MB / 0.6523 GB, free: 75.18 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.4762, allocations: 4.879 MB / 0.6571 GB, free: 74.06 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.4763, allocations: 307.5 kB / 0.6573 GB, free: 74.05 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004188/0.4767, allocations: 441.3 kB / 0.6578 GB, free: 74.05 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.4869, allocations: 10.92 MB / 0.6684 GB, free: 67.5 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.266e-05/0.487, allocations: 47.12 kB / 0.6685 GB, free: 67.5 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/0.4873, allocations: 201.9 kB / 0.6687 GB, free: 67.5 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/0.4875, allocations: 395.2 kB / 0.669 GB, free: 67.49 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009118/0.4967, allocations: 5.356 MB / 0.6743 GB, free: 67.43 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.02234/0.519, allocations: 54.08 MB / 0.7271 GB, free: 24.36 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008526/0.5275, allocations: 5.12 MB / 0.7321 GB, free: 22.05 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.5294, allocations: 1.442 MB / 0.7335 GB, free: 21.41 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/0.5298, allocations: 295.8 kB / 0.7338 GB, free: 21.32 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.5299, allocations: 112.3 kB / 0.7339 GB, free: 21.23 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=816): time 6.623e-06/0.5299, allocations: 0 / 0.7339 GB, free: 21.23 MB / 0.5418 GB Notification: Performance of matching and sorting (n=817): time 0.03358/0.5634, allocations: 33.04 MB / 0.7662 GB, free: 1.395 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/0.5637, allocations: 1.5 MB / 0.7676 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/0.5686, allocations: 5.008 MB / 0.7725 GB, free: 10.77 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003411/0.5689, allocations: 92.39 kB / 0.7726 GB, free: 10.68 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.5706, allocations: 3.059 MB / 0.7756 GB, free: 7.621 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/0.5723, allocations: 2.872 MB / 0.7784 GB, free: 4.789 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/0.5743, allocations: 1.903 MB / 0.7802 GB, free: 2.867 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.5744, allocations: 484.7 kB / 0.7807 GB, free: 2.391 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.577, allocations: 1.657 MB / 0.7823 GB, free: 0.7148 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004691/0.5817, allocations: 6.188 MB / 0.7884 GB, free: 8.816 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.5919, allocations: 8.913 MB / 0.7971 GB, free: 14.86 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/0.592, allocations: 30.03 kB / 0.7971 GB, free: 14.84 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01064/0.6026, allocations: 7.492 MB / 0.8044 GB, free: 7.805 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.6026, allocations: 36 kB / 0.8045 GB, free: 7.77 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007453/0.6101, allocations: 4.807 MB / 0.8091 GB, free: 2.949 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02256/0.6327, allocations: 4.036 MB / 0.8131 GB, free: 15.11 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004343/0.637, allocations: 2.255 MB / 0.8153 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006749/0.6437, allocations: 13.12 MB / 0.8281 GB, free: 15.25 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.6465, allocations: 350.7 kB / 0.8284 GB, free: 14.91 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006005/0.6471, allocations: 0.5426 MB / 0.829 GB, free: 14.36 MB / 0.6199 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.003858/0.651, allocations: 1.852 MB / 0.8308 GB, free: 12.51 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004692/0.6557, allocations: 6.163 MB / 0.8368 GB, free: 4.641 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0103/0.666, allocations: 8.858 MB / 0.8454 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.856e-05/0.666, allocations: 20 kB / 0.8455 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01084/0.6768, allocations: 7.446 MB / 0.8527 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.6769, allocations: 36 kB / 0.8528 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007298/0.6842, allocations: 4.754 MB / 0.8574 GB, free: 14.79 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.022/0.7062, allocations: 3.944 MB / 0.8613 GB, free: 11.02 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004469/0.7106, allocations: 2.248 MB / 0.8635 GB, free: 8.773 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2013/0.9119, allocations: 13.09 MB / 0.8762 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/0.9157, allocations: 346.4 kB / 0.8766 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007922/0.9165, allocations: 0.5403 MB / 0.8771 GB, free: 168.2 MB / 0.6512 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.001654/0.9182, allocations: 0.7742 MB / 0.8778 GB, free: 167.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/0.9197, allocations: 0.8065 MB / 0.8786 GB, free: 167.9 MB / 0.6512 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.009274/0.9289, allocations: 9.497 MB / 0.8879 GB, free: 167.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3172570620663464]