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.01213/0.01213, allocations: 1.454 MB / 20.81 MB, free: 3.617 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.007431/0.007431, allocations: 73.47 kB / 24.44 MB, free: 7.547 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.001731/0.001731, allocations: 155.9 kB / 28.19 MB, free: 4.688 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 1.458/1.458, allocations: 177.2 MB / 209 MB, free: 2.812 MB / 186.7 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.07/1.07, allocations: 102.5 MB / 368.3 MB, free: 1.293 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 468.3 MB, free: 13.52 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.628e-05, allocations: 2.312 kB / 468.3 MB, free: 13.52 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.4533/0.4534, allocations: 67.7 MB / 0.5234 GB, free: 72.09 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03158/0.485, allocations: 22.54 MB / 0.5454 GB, free: 58.59 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005753/0.4907, allocations: 125.2 kB / 0.5455 GB, free: 58.53 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00719/0.4979, allocations: 2.693 MB / 0.5482 GB, free: 57.32 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.5098, allocations: 3.999 MB / 0.5521 GB, free: 54.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009656/0.5195, allocations: 3.759 MB / 0.5557 GB, free: 52.94 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0181/0.5376, allocations: 12.83 MB / 0.5683 GB, free: 46.64 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007054/0.5447, allocations: 3.93 MB / 0.5721 GB, free: 43.97 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/0.5612, allocations: 6.879 MB / 0.5788 GB, free: 39.72 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0098/0.571, allocations: 4.515 MB / 0.5832 GB, free: 36.51 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003258/0.5743, allocations: 0.8229 MB / 0.5841 GB, free: 35.69 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06698/0.6413, allocations: 13.19 MB / 0.5969 GB, free: 24.38 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003913/0.6452, allocations: 2.745 MB / 0.5996 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.006824/0.652, allocations: 2.755 MB / 0.6023 GB, free: 18.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.6688, allocations: 13.42 MB / 0.6154 GB, free: 5.41 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6688, allocations: 6.672 kB / 0.6154 GB, free: 5.406 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6688, allocations: 0 / 0.6154 GB, free: 5.406 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003954/0.6692, allocations: 0 / 0.6154 GB, free: 5.406 MB / 490.8 MB 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.01967/0.6889, allocations: 8.518 MB / 0.6237 GB, free: 12.83 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6889, allocations: 12.03 kB / 0.6237 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004442/0.6934, allocations: 1.349 MB / 0.6251 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.7086, allocations: 6.58 MB / 0.6315 GB, free: 4.824 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.709, allocations: 312.4 kB / 0.6318 GB, free: 4.516 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.7106, allocations: 428.3 kB / 0.6322 GB, free: 4.098 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/0.7439, allocations: 13.58 MB / 0.6455 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002251/0.7441, allocations: 43.56 kB / 0.6455 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/0.7458, allocations: 208 kB / 0.6457 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006834/0.7465, allocations: 396.9 kB / 0.6461 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03092/0.7774, allocations: 10.24 MB / 0.6561 GB, free: 10.05 MB / 0.5262 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.09495/0.8724, allocations: 43.65 MB / 0.6987 GB, free: 13.16 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02438/0.8967, allocations: 7.902 MB / 0.7064 GB, free: 5.117 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008055/0.9048, allocations: 3.055 MB / 0.7094 GB, free: 1.992 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.9062, allocations: 298.2 kB / 0.7097 GB, free: 1.699 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.9064, allocations: 100.2 kB / 0.7098 GB, free: 1.594 MB / 0.573 GB Notification: Performance of pre-optimization done (n=816): time 1.333e-05/0.9064, allocations: 0 / 0.7098 GB, free: 1.594 MB / 0.573 GB Notification: Performance of matching and sorting (n=817): time 0.3327/1.239, allocations: 43.16 MB / 0.7519 GB, free: 187.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003994/1.239, allocations: 1.139 MB / 0.753 GB, free: 185.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.25, allocations: 5.662 MB / 0.7586 GB, free: 183.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002182/1.252, allocations: 88.2 kB / 0.7587 GB, free: 183.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.254, allocations: 2.816 MB / 0.7614 GB, free: 181.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003534/1.258, allocations: 2.764 MB / 0.7641 GB, free: 179.9 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006889/1.265, allocations: 1.758 MB / 0.7658 GB, free: 179.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.788e-05/1.265, allocations: 306.8 kB / 0.7661 GB, free: 178.9 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009189/1.274, allocations: 4.232 MB / 0.7703 GB, free: 177.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01272/1.286, allocations: 7.198 MB / 0.7773 GB, free: 171.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4424/1.729, allocations: 69.72 MB / 0.8454 GB, free: 118.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001575/1.729, allocations: 20 kB / 0.8454 GB, free: 118.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02876/1.758, allocations: 12.67 MB / 0.8578 GB, free: 106.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.758, allocations: 36.77 kB / 0.8578 GB, free: 106.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01933/1.777, allocations: 9.538 MB / 0.8671 GB, free: 96.49 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04631/1.824, allocations: 4.231 MB / 0.8712 GB, free: 92.27 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008938/1.832, allocations: 2.278 MB / 0.8735 GB, free: 89.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.843, allocations: 11.58 MB / 0.8848 GB, free: 77.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008687/1.852, allocations: 357.3 kB / 0.8851 GB, free: 77.49 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002409/1.855, allocations: 0.5387 MB / 0.8856 GB, free: 76.95 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.01296/1.867, allocations: 6.028 MB / 0.8915 GB, free: 70.91 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009748/1.877, allocations: 7.167 MB / 0.8985 GB, free: 62.54 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6638/2.541, allocations: 69.45 MB / 0.9663 GB, free: 194.7 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.788e-05/2.541, allocations: 20.59 kB / 0.9664 GB, free: 194.7 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02875/2.57, allocations: 12.59 MB / 0.9787 GB, free: 191.6 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/2.57, allocations: 37.34 kB / 0.9787 GB, free: 191.6 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02286/2.593, allocations: 9.442 MB / 0.9879 GB, free: 187.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04711/2.64, allocations: 4.117 MB / 0.9919 GB, free: 187.7 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/2.65, allocations: 2.281 MB / 0.9942 GB, free: 187.5 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/2.662, allocations: 11.56 MB / 1.005 GB, free: 177.8 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007065/2.669, allocations: 341.8 kB / 1.006 GB, free: 177.6 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/2.672, allocations: 0.5432 MB / 1.006 GB, free: 177.6 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: 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.004073/2.676, allocations: 0.687 MB / 1.007 GB, free: 177.1 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004774/2.681, allocations: 0.8037 MB / 1.008 GB, free: 177 MB / 0.6199 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.02361/2.704, allocations: 11.02 MB / 1.019 GB, free: 173.6 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.257304556085728]