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.006248/0.006248, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007527/0.0007527, allocations: 94.27 kB / 24.91 MB, free: 7.27 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.0008014/0.0008014, allocations: 169.1 kB / 28.62 MB, free: 4.449 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.9228/0.9228, allocations: 177.1 MB / 209.4 MB, free: 2.977 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.7661/0.7661, allocations: 102.5 MB / 368.7 MB, free: 1.484 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 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_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_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5374 GB, free: 39.81 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.675e-05, allocations: 6.406 kB / 0.5374 GB, free: 39.8 MB / 490.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.1192/0.1192, allocations: 67.5 MB / 0.6033 GB, free: 8.527 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03029/0.1495, allocations: 22.5 MB / 0.6253 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004628/0.1542, allocations: 127.1 kB / 0.6254 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005324/0.1595, allocations: 2.698 MB / 0.628 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.1671, allocations: 4.02 MB / 0.632 GB, free: 11.08 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006845/0.1739, allocations: 3.749 MB / 0.6356 GB, free: 7.32 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01616/0.1901, allocations: 12.84 MB / 0.6482 GB, free: 10.44 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00771/0.1978, allocations: 3.755 MB / 0.6518 GB, free: 6.613 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/0.212, allocations: 6.848 MB / 0.6585 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00683/0.2188, allocations: 4.458 MB / 0.6629 GB, free: 11.28 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/0.2203, allocations: 0.8008 MB / 0.6636 GB, free: 10.48 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005233/0.2256, allocations: 2.456 MB / 0.666 GB, free: 8.02 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.2279, allocations: 2.733 MB / 0.6687 GB, free: 5.277 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.004408/0.2323, allocations: 2.735 MB / 0.6714 GB, free: 2.535 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.2487, allocations: 13.32 MB / 0.6844 GB, free: 5.18 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.2487, allocations: 7.984 kB / 0.6844 GB, free: 5.172 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.647e-06/0.2487, allocations: 0 / 0.6844 GB, free: 5.172 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003802/0.2491, allocations: 0 / 0.6844 GB, free: 5.172 MB / 0.573 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.0163/0.2654, allocations: 8.514 MB / 0.6927 GB, free: 12.57 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.2655, allocations: 12.03 kB / 0.6927 GB, free: 12.56 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.2678, allocations: 1.03 MB / 0.6937 GB, free: 11.52 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009019/0.2768, allocations: 6.285 MB / 0.6999 GB, free: 5.141 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.277, allocations: 312.4 kB / 0.7002 GB, free: 4.832 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000619/0.2776, allocations: 404 kB / 0.7005 GB, free: 4.438 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.2967, allocations: 13.5 MB / 0.7137 GB, free: 5.348 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.392e-05/0.2968, allocations: 47.56 kB / 0.7138 GB, free: 5.301 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004766/0.2973, allocations: 200 kB / 0.714 GB, free: 5.105 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000317/0.2976, allocations: 402.2 kB / 0.7143 GB, free: 4.711 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.3133, allocations: 10.15 MB / 0.7243 GB, free: 10.55 MB / 0.6199 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.381/0.6943, allocations: 43.27 MB / 0.7665 GB, free: 170.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/0.7089, allocations: 7.851 MB / 0.7742 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004913/0.7138, allocations: 3.009 MB / 0.7771 GB, free: 168 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007175/0.7145, allocations: 275.2 kB / 0.7774 GB, free: 168 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.7147, allocations: 111.4 kB / 0.7775 GB, free: 167.9 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=816): time 1.089e-05/0.7147, allocations: 0 / 0.7775 GB, free: 167.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=817): time 0.05333/0.768, allocations: 42.29 MB / 0.8188 GB, free: 142.8 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.7682, allocations: 1.139 MB / 0.8199 GB, free: 141.5 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005255/0.7734, allocations: 5.661 MB / 0.8254 GB, free: 138.5 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005597/0.774, allocations: 89.2 kB / 0.8255 GB, free: 138.4 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000976/0.775, allocations: 2.81 MB / 0.8283 GB, free: 136 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.7764, allocations: 2.763 MB / 0.831 GB, free: 133.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/0.778, allocations: 1.755 MB / 0.8327 GB, free: 131.7 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.778, allocations: 301.1 kB / 0.833 GB, free: 131.4 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/0.782, allocations: 4.198 MB / 0.8371 GB, free: 127.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/0.7867, allocations: 7.164 MB / 0.8441 GB, free: 118.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2122/0.9989, allocations: 69.44 MB / 0.9119 GB, free: 49.63 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.464e-05/0.9989, allocations: 28 kB / 0.9119 GB, free: 49.61 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.0153/1.014, allocations: 12.33 MB / 0.9239 GB, free: 37.23 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/1.014, allocations: 37.41 kB / 0.924 GB, free: 37.19 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009597/1.024, allocations: 9.454 MB / 0.9332 GB, free: 27.68 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02115/1.045, allocations: 4.02 MB / 0.9371 GB, free: 23.68 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005603/1.051, allocations: 2.278 MB / 0.9393 GB, free: 21.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/1.057, allocations: 11.5 MB / 0.9506 GB, free: 9.305 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/1.062, allocations: 355.1 kB / 0.9509 GB, free: 8.961 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006565/1.063, allocations: 0.5426 MB / 0.9514 GB, free: 8.418 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007506/1.07, allocations: 5.977 MB / 0.9573 GB, free: 2.434 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005729/1.076, allocations: 7.134 MB / 0.9643 GB, free: 10.09 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5669/1.643, allocations: 69.19 MB / 1.032 GB, free: 242.1 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001011/1.643, allocations: 20.5 kB / 1.032 GB, free: 242.1 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02017/1.663, allocations: 12.21 MB / 1.044 GB, free: 239.3 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/1.663, allocations: 42.92 kB / 1.044 GB, free: 239.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01353/1.677, allocations: 9.339 MB / 1.053 GB, free: 235.7 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/1.693, allocations: 2.877 MB / 1.056 GB, free: 235.5 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006914/1.7, allocations: 2.281 MB / 1.058 GB, free: 235.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007844/1.708, allocations: 11.39 MB / 1.069 GB, free: 225.7 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/1.713, allocations: 344.4 kB / 1.069 GB, free: 225.6 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/1.715, allocations: 0.5403 MB / 1.07 GB, free: 225.5 MB / 0.7293 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.002305/1.717, allocations: 0.6827 MB / 1.071 GB, free: 225 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.719, allocations: 0.6862 MB / 1.071 GB, free: 225 MB / 0.7293 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.01285/1.732, allocations: 11 MB / 1.082 GB, free: 219.3 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.760827640071511] Failed to read output from testmodel.py, exit status != 0: 1.8990567019209266 1.906112838 1.655757338 Calling exit ...