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.005976/0.005976, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.000733/0.000733, allocations: 87.47 kB / 24.16 MB, free: 396 kB / 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.0009462/0.0009462, allocations: 160.2 kB / 27.85 MB, free: 5.496 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.8897/0.8897, allocations: 177.1 MB / 208.6 MB, free: 2.98 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.7967/0.7967, allocations: 102.4 MB / 367.9 MB, free: 1.438 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 1.803e-06/1.803e-06, allocations: 0 / 0.5366 GB, free: 39.64 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.822e-05, allocations: 4.812 kB / 0.5366 GB, free: 39.64 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.1283/0.1284, allocations: 67.49 MB / 0.6025 GB, free: 8.367 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03069/0.1591, allocations: 22.5 MB / 0.6245 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005283/0.1643, allocations: 131.1 kB / 0.6246 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006201/0.1705, allocations: 2.694 MB / 0.6273 GB, free: 14.96 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.008738/0.1793, allocations: 4.012 MB / 0.6312 GB, free: 10.93 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007567/0.1868, allocations: 3.753 MB / 0.6349 GB, free: 7.168 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.2008, allocations: 12.84 MB / 0.6474 GB, free: 10.28 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006221/0.207, allocations: 3.759 MB / 0.6511 GB, free: 6.445 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.2178, allocations: 6.841 MB / 0.6577 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006898/0.2247, allocations: 4.452 MB / 0.6621 GB, free: 11.12 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.2258, allocations: 0.8085 MB / 0.6629 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.2305, allocations: 2.468 MB / 0.6653 GB, free: 7.844 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.2326, allocations: 2.73 MB / 0.668 GB, free: 5.105 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.2356, allocations: 2.728 MB / 0.6706 GB, free: 2.371 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.2481, allocations: 13.32 MB / 0.6836 GB, free: 5.004 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2481, allocations: 0 / 0.6836 GB, free: 5.004 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2481, allocations: 0 / 0.6836 GB, free: 5.004 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001348/0.2483, allocations: 0 / 0.6836 GB, free: 5.004 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.01021/0.2585, allocations: 8.518 MB / 0.692 GB, free: 12.4 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2585, allocations: 12.03 kB / 0.692 GB, free: 12.39 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.2602, allocations: 1.038 MB / 0.693 GB, free: 11.34 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007234/0.2674, allocations: 6.274 MB / 0.6991 GB, free: 4.977 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2676, allocations: 308.4 kB / 0.6994 GB, free: 4.672 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004539/0.268, allocations: 404 kB / 0.6998 GB, free: 4.277 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.283, allocations: 13.5 MB / 0.713 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-05/0.283, allocations: 51.56 kB / 0.713 GB, free: 5.133 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.2834, allocations: 204 kB / 0.7132 GB, free: 4.934 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002835/0.2837, allocations: 406.2 kB / 0.7136 GB, free: 4.535 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.2978, allocations: 10.14 MB / 0.7235 GB, free: 10.38 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.3496/0.6474, allocations: 43.27 MB / 0.7658 GB, free: 169.2 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/0.6614, allocations: 7.866 MB / 0.7734 GB, free: 167.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004726/0.6662, allocations: 3.005 MB / 0.7764 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007091/0.6669, allocations: 273.8 kB / 0.7766 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.628e-05/0.6669, allocations: 107.4 kB / 0.7767 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=816): time 7.084e-06/0.6669, allocations: 0 / 0.7767 GB, free: 166.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=817): time 0.06234/0.7293, allocations: 42.3 MB / 0.818 GB, free: 140.9 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/0.7295, allocations: 1.141 MB / 0.8192 GB, free: 139.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00726/0.7368, allocations: 5.653 MB / 0.8247 GB, free: 136.6 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002017/0.7388, allocations: 91.92 kB / 0.8248 GB, free: 136.5 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.7402, allocations: 2.817 MB / 0.8275 GB, free: 134.1 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00425/0.7444, allocations: 2.761 MB / 0.8302 GB, free: 131.7 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002461/0.7469, allocations: 1.755 MB / 0.8319 GB, free: 129.9 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.747, allocations: 305.1 kB / 0.8322 GB, free: 129.6 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/0.752, allocations: 4.194 MB / 0.8363 GB, free: 125.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007223/0.7592, allocations: 7.164 MB / 0.8433 GB, free: 117.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2136/0.9728, allocations: 69.44 MB / 0.9111 GB, free: 47.86 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.47e-05/0.9729, allocations: 24 kB / 0.9111 GB, free: 47.83 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02191/0.9948, allocations: 12.32 MB / 0.9232 GB, free: 35.46 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.9948, allocations: 36 kB / 0.9232 GB, free: 35.42 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01441/1.009, allocations: 9.454 MB / 0.9324 GB, free: 25.91 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02147/1.031, allocations: 4.025 MB / 0.9364 GB, free: 21.91 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006071/1.037, allocations: 2.281 MB / 0.9386 GB, free: 19.62 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006911/1.044, allocations: 11.49 MB / 0.9498 GB, free: 7.535 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006156/1.05, allocations: 349.6 kB / 0.9502 GB, free: 7.211 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/1.052, allocations: 0.5393 MB / 0.9507 GB, free: 6.672 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.01032/1.062, allocations: 5.989 MB / 0.9565 GB, free: 0.6758 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009195/1.071, allocations: 7.125 MB / 0.9635 GB, free: 8.344 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2299/1.301, allocations: 69.21 MB / 1.031 GB, free: 2.141 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.385e-05/1.301, allocations: 20 kB / 1.031 GB, free: 2.121 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.313/1.614, allocations: 12.21 MB / 1.043 GB, free: 239.1 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/1.615, allocations: 35.47 kB / 1.043 GB, free: 239.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01498/1.63, allocations: 9.339 MB / 1.052 GB, free: 235.5 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/1.646, allocations: 2.88 MB / 1.055 GB, free: 235.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007535/1.654, allocations: 2.279 MB / 1.057 GB, free: 235.1 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007077/1.661, allocations: 11.39 MB / 1.068 GB, free: 225.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/1.666, allocations: 334.8 kB / 1.069 GB, free: 225.4 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.667, allocations: 0.5388 MB / 1.069 GB, free: 225.3 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.002199/1.67, allocations: 0.6873 MB / 1.07 GB, free: 224.8 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/1.672, allocations: 0.6968 MB / 1.071 GB, free: 224.8 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.01361/1.685, allocations: 10.99 MB / 1.081 GB, free: 219.1 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.700146314688027] Failed to read output from testmodel.py, exit status != 0: 1.8398083914071321 1.848522741 1.598744154 Calling exit ...