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.005949/0.005949, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0007024/0.0007024, allocations: 91.45 kB / 24.16 MB, free: 400 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.0008161/0.0008161, allocations: 160.4 kB / 27.85 MB, free: 5.5 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.8955/0.8955, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.7537/0.7537, allocations: 102.5 MB / 367.9 MB, free: 1.441 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.693e-06/1.693e-06, allocations: 3.938 kB / 0.5366 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.306e-05, allocations: 3.406 kB / 0.5366 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.1242/0.1242, allocations: 67.48 MB / 0.6025 GB, free: 8.523 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03078/0.155, allocations: 22.5 MB / 0.6245 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00405/0.159, allocations: 127.1 kB / 0.6246 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004584/0.1636, allocations: 2.71 MB / 0.6273 GB, free: 15.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00772/0.1714, allocations: 4.008 MB / 0.6312 GB, free: 11.08 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007354/0.1787, allocations: 3.753 MB / 0.6349 GB, free: 7.316 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01408/0.1928, allocations: 12.85 MB / 0.6474 GB, free: 10.42 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005832/0.1986, allocations: 3.755 MB / 0.6511 GB, free: 6.594 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0148/0.2134, allocations: 6.841 MB / 0.6578 GB, free: 15.74 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009306/0.2227, allocations: 4.456 MB / 0.6621 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.004324/0.2271, allocations: 0.8046 MB / 0.6629 GB, free: 10.46 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008114/0.2352, allocations: 2.46 MB / 0.6653 GB, free: 8 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.004657/0.2398, allocations: 2.726 MB / 0.668 GB, free: 5.266 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.006263/0.2461, allocations: 2.732 MB / 0.6706 GB, free: 2.527 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.2649, allocations: 13.32 MB / 0.6836 GB, free: 5.164 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.2649, allocations: 0 / 0.6836 GB, free: 5.164 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.779e-06/0.2649, allocations: 3.984 kB / 0.6836 GB, free: 5.16 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005385/0.2655, allocations: 0 / 0.6836 GB, free: 5.16 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.0228/0.2883, allocations: 8.51 MB / 0.692 GB, free: 12.56 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.2883, allocations: 12.03 kB / 0.692 GB, free: 12.55 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.2909, allocations: 1.038 MB / 0.693 GB, free: 11.51 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.3026, allocations: 6.282 MB / 0.6991 GB, free: 5.133 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.3029, allocations: 308.5 kB / 0.6994 GB, free: 4.828 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.3044, allocations: 408 kB / 0.6998 GB, free: 4.43 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/0.3267, allocations: 13.5 MB / 0.713 GB, free: 5.344 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-05/0.3268, allocations: 47.56 kB / 0.713 GB, free: 5.297 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006032/0.3274, allocations: 208 kB / 0.7132 GB, free: 5.094 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003265/0.3277, allocations: 394.3 kB / 0.7136 GB, free: 4.707 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0193/0.347, allocations: 10.14 MB / 0.7235 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.3748/0.7218, allocations: 43.27 MB / 0.7658 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/0.7365, allocations: 7.856 MB / 0.7734 GB, free: 167.8 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004828/0.7413, allocations: 3.014 MB / 0.7764 GB, free: 166.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/0.7421, allocations: 275.2 kB / 0.7766 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/0.7422, allocations: 102.8 kB / 0.7767 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=816): time 7.494e-06/0.7422, allocations: 5.594 kB / 0.7767 GB, free: 166.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=817): time 0.06171/0.8039, allocations: 42.29 MB / 0.818 GB, free: 141 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002416/0.8041, allocations: 1.14 MB / 0.8192 GB, free: 139.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/0.8099, allocations: 5.655 MB / 0.8247 GB, free: 136.7 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001241/0.8112, allocations: 91.86 kB / 0.8248 GB, free: 136.6 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.8123, allocations: 2.817 MB / 0.8275 GB, free: 134.2 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/0.8141, allocations: 2.764 MB / 0.8302 GB, free: 131.9 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.8157, allocations: 1.754 MB / 0.8319 GB, free: 130.1 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.8158, allocations: 309.1 kB / 0.8322 GB, free: 129.8 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004242/0.82, allocations: 4.193 MB / 0.8363 GB, free: 125.6 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/0.8249, allocations: 7.166 MB / 0.8433 GB, free: 117.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2169/1.042, allocations: 69.44 MB / 0.9111 GB, free: 48.01 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/1.042, allocations: 20 kB / 0.9111 GB, free: 47.99 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.02202/1.064, allocations: 12.33 MB / 0.9232 GB, free: 35.61 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/1.064, allocations: 36 kB / 0.9232 GB, free: 35.57 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01281/1.077, allocations: 9.454 MB / 0.9324 GB, free: 26.06 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02262/1.099, allocations: 4.024 MB / 0.9364 GB, free: 22.05 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006212/1.105, allocations: 2.278 MB / 0.9386 GB, free: 19.77 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/1.113, allocations: 11.5 MB / 0.9498 GB, free: 7.684 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005432/1.118, allocations: 350 kB / 0.9502 GB, free: 7.363 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/1.12, allocations: 0.5465 MB / 0.9507 GB, free: 6.816 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.009363/1.129, allocations: 5.982 MB / 0.9565 GB, free: 0.8242 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008726/1.138, allocations: 7.128 MB / 0.9635 GB, free: 8.488 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2326/1.371, allocations: 69.2 MB / 1.031 GB, free: 2.297 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.72e-05/1.371, allocations: 21.56 kB / 1.031 GB, free: 2.277 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.3322/1.703, allocations: 12.21 MB / 1.043 GB, free: 239.1 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/1.703, allocations: 35.91 kB / 1.043 GB, free: 239.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01241/1.715, allocations: 9.342 MB / 1.052 GB, free: 235.5 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01574/1.731, allocations: 2.876 MB / 1.055 GB, free: 235.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006227/1.737, allocations: 2.286 MB / 1.057 GB, free: 235.1 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006953/1.744, allocations: 11.39 MB / 1.068 GB, free: 225.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/1.749, allocations: 342 kB / 1.069 GB, free: 225.4 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/1.751, 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.002217/1.753, allocations: 0.6816 MB / 1.07 GB, free: 224.8 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00215/1.755, allocations: 0.696 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.01303/1.768, allocations: 10.98 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.699279524385929] Failed to read output from testmodel.py, exit status != 0: 1.9178449641913176 1.924821961 1.658177216 Calling exit ...