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.01397/0.01397, 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.001421/0.001421, allocations: 86.92 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.002005/0.002005, allocations: 161.6 kB / 29.05 MB, free: 3.352 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.9983/0.9983, allocations: 177.1 MB / 210 MB, free: 3.605 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6254/0.6254, allocations: 102.4 MB / 369.5 MB, free: 372 kB / 330.7 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 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_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.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 469.9 MB, free: 18.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.828e-05/4.062e-05, allocations: 2.312 kB / 469.9 MB, free: 18.93 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.1373/0.1373, allocations: 73.04 MB / 0.5302 GB, free: 14.88 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03492/0.1722, allocations: 23.39 MB / 0.5531 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004916/0.1772, allocations: 123.1 kB / 0.5532 GB, free: 7.309 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007717/0.1849, allocations: 2.71 MB / 0.5558 GB, free: 4.586 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.1996, allocations: 4.012 MB / 0.5598 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.2116, allocations: 3.753 MB / 0.5634 GB, free: 12.79 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01569/0.2273, allocations: 12.85 MB / 0.576 GB, free: 15.91 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006598/0.2339, allocations: 3.933 MB / 0.5798 GB, free: 11.9 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01345/0.2473, allocations: 6.844 MB / 0.5865 GB, free: 5.043 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00733/0.2547, allocations: 4.478 MB / 0.5909 GB, free: 0.5547 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.003191/0.2579, allocations: 0.8008 MB / 0.5916 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007854/0.2657, allocations: 2.468 MB / 0.5941 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.004524/0.2702, allocations: 2.741 MB / 0.5967 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006409/0.2766, allocations: 2.736 MB / 0.5994 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.2929, allocations: 8.596 MB / 0.6078 GB, free: 15.17 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.2929, allocations: 0 / 0.6078 GB, free: 15.17 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.684e-06/0.293, allocations: 0 / 0.6078 GB, free: 15.17 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003717/0.2933, allocations: 0 / 0.6078 GB, free: 15.17 MB / 0.5262 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.01505/0.3084, allocations: 8.965 MB / 0.6166 GB, free: 6.109 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3084, allocations: 12.03 kB / 0.6166 GB, free: 6.098 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.3115, allocations: 1.35 MB / 0.6179 GB, free: 4.742 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009413/0.3209, allocations: 5.842 MB / 0.6236 GB, free: 14.8 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.3211, allocations: 300.5 kB / 0.6239 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.3222, allocations: 436.1 kB / 0.6243 GB, free: 14.08 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.3389, allocations: 10.87 MB / 0.6349 GB, free: 1.199 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/0.339, allocations: 47.56 kB / 0.635 GB, free: 1.152 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006817/0.3397, allocations: 208 kB / 0.6352 GB, free: 0.9492 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003481/0.34, allocations: 398.3 kB / 0.6355 GB, free: 0.5586 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.3526, allocations: 5.293 MB / 0.6407 GB, free: 11.25 MB / 0.5574 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.2558/0.6084, allocations: 53.91 MB / 0.6934 GB, free: 49.11 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.619, allocations: 5.089 MB / 0.6983 GB, free: 48.35 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/0.6218, allocations: 1.424 MB / 0.6997 GB, free: 48.08 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.6224, allocations: 294.9 kB / 0.7 GB, free: 48.06 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.488e-05/0.6225, allocations: 103 kB / 0.7001 GB, free: 48.02 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=816): time 8.255e-06/0.6225, allocations: 3.453 kB / 0.7001 GB, free: 48.02 MB / 0.5574 GB Notification: Performance of matching and sorting (n=817): time 0.05207/0.6746, allocations: 32.88 MB / 0.7322 GB, free: 32.77 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002593/0.6748, allocations: 1.138 MB / 0.7333 GB, free: 31.42 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008498/0.6833, allocations: 5.041 MB / 0.7382 GB, free: 30.69 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/0.6847, allocations: 89.67 kB / 0.7383 GB, free: 30.66 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002204/0.6869, allocations: 3.055 MB / 0.7413 GB, free: 29.39 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003493/0.6904, allocations: 2.869 MB / 0.7441 GB, free: 27.49 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/0.6938, allocations: 1.892 MB / 0.746 GB, free: 27.33 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.6938, allocations: 481.3 kB / 0.7464 GB, free: 26.86 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/0.6975, allocations: 1.643 MB / 0.748 GB, free: 26.78 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005487/0.703, allocations: 5.686 MB / 0.7536 GB, free: 21.96 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01469/0.7177, allocations: 8.859 MB / 0.7622 GB, free: 17.86 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-05/0.7177, allocations: 25.59 kB / 0.7623 GB, free: 17.86 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01777/0.7355, allocations: 7.443 MB / 0.7695 GB, free: 16.42 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.7356, allocations: 38.31 kB / 0.7696 GB, free: 16.42 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0089/0.7445, allocations: 4.756 MB / 0.7742 GB, free: 14.66 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02236/0.7668, allocations: 3.973 MB / 0.7781 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005401/0.7722, allocations: 2.255 MB / 0.7803 GB, free: 9.352 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/0.7781, allocations: 13.08 MB / 0.7931 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/0.7826, allocations: 343.3 kB / 0.7934 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/0.7841, allocations: 0.5445 MB / 0.7939 GB, free: 10.77 MB / 0.573 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.005606/0.7897, allocations: 1.822 MB / 0.7957 GB, free: 8.941 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006073/0.7957, allocations: 5.675 MB / 0.8012 GB, free: 1.703 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0127/0.8084, allocations: 8.81 MB / 0.8098 GB, free: 7.852 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.155e-05/0.8085, allocations: 20 kB / 0.8099 GB, free: 7.832 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01324/0.8217, allocations: 7.38 MB / 0.8171 GB, free: 0.9102 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.8218, allocations: 36 kB / 0.8171 GB, free: 0.875 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007695/0.8295, allocations: 4.684 MB / 0.8217 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01593/0.8454, allocations: 2.81 MB / 0.8244 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/0.851, allocations: 2.255 MB / 0.8266 GB, free: 7.383 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/0.8579, allocations: 13.04 MB / 0.8394 GB, free: 9.719 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/0.862, allocations: 327.5 kB / 0.8397 GB, free: 9.398 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/0.8632, allocations: 0.5413 MB / 0.8402 GB, free: 8.859 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.001896/0.8651, allocations: 0.7674 MB / 0.8409 GB, free: 8.219 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002123/0.8672, allocations: 0.8094 MB / 0.8417 GB, free: 7.41 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.01085/0.8781, allocations: 9.466 MB / 0.851 GB, free: 14.68 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9333978332579136]