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.01291/0.01291, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001853/0.001853, allocations: 79.09 kB / 24.02 MB, free: 2.59 MB / 14.72 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.00205/0.00205, allocations: 154.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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.521/1.521, allocations: 177.2 MB / 208.5 MB, free: 7.664 MB / 190.1 MB " [Timeout remaining time 178] 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 1.051/1.051, allocations: 102.5 MB / 367.8 MB, free: 4.59 MB / 334.1 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.3.1 (/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.813e-06/1.813e-06, allocations: 0 / 0.5364 GB, free: 7.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.667e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.133 MB / 446.1 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.1916/0.1917, allocations: 67.52 MB / 0.6024 GB, free: 6.113 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03943/0.2311, allocations: 22.51 MB / 0.6244 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007176/0.2383, allocations: 127.1 kB / 0.6245 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008924/0.2472, allocations: 2.698 MB / 0.6271 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01401/0.2612, allocations: 4.024 MB / 0.631 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.2723, allocations: 3.749 MB / 0.6347 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02056/0.2929, allocations: 12.84 MB / 0.6472 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008379/0.3013, allocations: 3.751 MB / 0.6509 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01969/0.321, allocations: 6.845 MB / 0.6576 GB, free: 13.32 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.3319, allocations: 4.453 MB / 0.6619 GB, free: 8.859 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003784/0.3357, allocations: 0.8008 MB / 0.6627 GB, free: 8.059 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.3457, allocations: 2.46 MB / 0.6651 GB, free: 5.594 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.005762/0.3515, allocations: 2.734 MB / 0.6678 GB, free: 2.852 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.009689/0.3612, allocations: 2.724 MB / 0.6705 GB, free: 124 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.02751/0.3887, allocations: 13.33 MB / 0.6835 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3887, allocations: 4 kB / 0.6835 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3887, allocations: 4 kB / 0.6835 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004972/0.3892, allocations: 0 / 0.6835 GB, free: 2.746 MB / 0.5763 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.3696/0.7588, allocations: 8.506 MB / 0.6918 GB, free: 112.7 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.7588, allocations: 9.531 kB / 0.6918 GB, free: 112.7 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.764, allocations: 1.033 MB / 0.6928 GB, free: 112.2 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.779, allocations: 6.278 MB / 0.6989 GB, free: 109.3 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.7794, allocations: 311.1 kB / 0.6992 GB, free: 109.2 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.781, allocations: 401.6 kB / 0.6996 GB, free: 109.1 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/0.808, allocations: 13.5 MB / 0.7128 GB, free: 98.62 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.291e-05/0.8081, allocations: 50.22 kB / 0.7128 GB, free: 98.59 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006199/0.8088, allocations: 207.7 kB / 0.713 GB, free: 98.46 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003296/0.8091, allocations: 396.3 kB / 0.7134 GB, free: 98.36 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02549/0.8346, allocations: 10.14 MB / 0.7233 GB, free: 89.47 MB / 0.5763 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.05683/0.8914, allocations: 43.28 MB / 0.7656 GB, free: 45.38 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/0.9107, allocations: 7.85 MB / 0.7733 GB, free: 37.39 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005422/0.9161, allocations: 3.009 MB / 0.7762 GB, free: 34.31 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.9171, allocations: 276.8 kB / 0.7765 GB, free: 34.04 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.983e-05/0.9172, allocations: 108.2 kB / 0.7766 GB, free: 33.93 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=816): time 1.03e-05/0.9172, allocations: 3.094 kB / 0.7766 GB, free: 33.93 MB / 0.5763 GB Notification: Performance of matching and sorting (n=817): time 0.08381/1.001, allocations: 42.29 MB / 0.8179 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007165/1.002, allocations: 1.143 MB / 0.819 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009877/1.012, allocations: 5.658 MB / 0.8245 GB, free: 280 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001592/1.013, allocations: 85.7 kB / 0.8246 GB, free: 188 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002725/1.016, allocations: 2.817 MB / 0.8273 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004135/1.02, allocations: 2.763 MB / 0.83 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003483/1.024, allocations: 1.755 MB / 0.8317 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.024, allocations: 309.1 kB / 0.832 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007766/1.031, allocations: 4.198 MB / 0.8361 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/1.043, allocations: 7.159 MB / 0.8431 GB, free: 11.99 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4998/1.543, allocations: 69.44 MB / 0.9109 GB, free: 6.43 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-05/1.543, allocations: 20 kB / 0.911 GB, free: 6.41 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.03185/1.575, allocations: 12.32 MB / 0.923 GB, free: 10.03 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/1.575, allocations: 36 kB / 0.923 GB, free: 9.992 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02299/1.598, allocations: 9.467 MB / 0.9323 GB, free: 484 kB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05043/1.648, allocations: 4.022 MB / 0.9362 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/1.658, allocations: 2.285 MB / 0.9384 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/1.673, allocations: 11.49 MB / 0.9497 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007022/1.68, allocations: 355.3 kB / 0.95 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002226/1.682, allocations: 0.5426 MB / 0.9505 GB, free: 13.2 MB / 0.7325 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.0136/1.696, allocations: 5.979 MB / 0.9564 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3561/2.052, allocations: 7.121 MB / 0.9633 GB, free: 250.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4636/2.515, allocations: 69.21 MB / 1.031 GB, free: 203.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.165e-05/2.516, allocations: 20 kB / 1.031 GB, free: 203.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02295/2.538, allocations: 12.22 MB / 1.043 GB, free: 191.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/2.539, allocations: 36.62 kB / 1.043 GB, free: 191.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0158/2.554, allocations: 9.338 MB / 1.052 GB, free: 182.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03215/2.586, allocations: 2.882 MB / 1.055 GB, free: 179.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009202/2.596, allocations: 2.278 MB / 1.057 GB, free: 177.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00971/2.605, allocations: 11.39 MB / 1.068 GB, free: 165.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007354/2.613, allocations: 343.9 kB / 1.069 GB, free: 165.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002034/2.615, allocations: 0.5387 MB / 1.069 GB, free: 164.6 MB / 0.7325 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.002869/2.618, allocations: 0.6854 MB / 1.07 GB, free: 163.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002738/2.62, allocations: 0.6931 MB / 1.07 GB, free: 163.6 MB / 0.7325 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.01726/2.638, allocations: 10.98 MB / 1.081 GB, free: 153.2 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.48612255230546] Failed to read output from testmodel.py, exit status != 0: 2.794507712125778 2.8037440030000003 2.412369373 Calling exit ...