Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST_.conf.json 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.001766/0.001766, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001818/0.001818, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1084/0.1084, allocations: 17.38 MB / 277.3 MB, free: 11.64 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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) Running command: translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.718e-05, allocations: 6.25 kB / 353.4 MB, free: 9.988 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_): time 0.03264/0.03267, allocations: 35.97 MB / 389.4 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2952/0.3278, allocations: 143 MB / 0.5199 GB, free: 6.285 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.3301, allocations: 31.88 kB / 0.52 GB, free: 6.254 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.3331, allocations: 1.147 MB / 0.5211 GB, free: 5.125 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.3367, allocations: 1.268 MB / 0.5223 GB, free: 3.848 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.3398, allocations: 1.606 MB / 0.5239 GB, free: 2.234 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.3436, allocations: 3.435 MB / 0.5272 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.3445, allocations: 0.6011 MB / 0.5278 GB, free: 14.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.347, allocations: 1.754 MB / 0.5295 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.3483, allocations: 1.017 MB / 0.5305 GB, free: 11.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.3489, allocations: 300 kB / 0.5308 GB, free: 11.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.3519, allocations: 1.252 MB / 0.532 GB, free: 9.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005596/0.3524, allocations: 0.9304 MB / 0.5329 GB, free: 8.887 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.3537, allocations: 1.056 MB / 0.534 GB, free: 7.828 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005998/0.3597, allocations: 3.92 MB / 0.5378 GB, free: 3.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.3597, allocations: 0 / 0.5378 GB, free: 3.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3597, allocations: 0 / 0.5378 GB, free: 3.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.3599, allocations: 0 / 0.5378 GB, free: 3.895 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 914 * Number of variables: 914 Notification: Performance of Generate backend data structure: time 0.005219/0.3651, allocations: 4.019 MB / 0.5417 GB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3651, allocations: 12.03 kB / 0.5417 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.3671, allocations: 1.508 MB / 0.5432 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.3687, allocations: 1.404 MB / 0.5446 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/0.3691, allocations: 0.5318 MB / 0.5451 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.3694, allocations: 296.3 kB / 0.5454 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.3735, allocations: 3.802 MB / 0.5491 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.3736, allocations: 4.172 kB / 0.5491 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.3737, allocations: 120.3 kB / 0.5492 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003337/0.374, allocations: 494.8 kB / 0.5497 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005982/0.38, allocations: 5.458 MB / 0.555 GB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2561/0.6361, allocations: 15.88 MB / 0.5705 GB, free: 27.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.6386, allocations: 0.9984 MB / 0.5715 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.6399, allocations: 0.6064 MB / 0.5721 GB, free: 27.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.6411, allocations: 0.6913 MB / 0.5728 GB, free: 27.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.6411, allocations: 59.23 kB / 0.5728 GB, free: 26.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 5.971e-06/0.6411, allocations: 0.625 kB / 0.5728 GB, free: 26.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.05995/0.7011, allocations: 17 MB / 0.5894 GB, free: 25.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01049/0.7116, allocations: 6.659 MB / 0.5959 GB, free: 21.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.7135, allocations: 1.522 MB / 0.5974 GB, free: 21.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001171/0.7147, allocations: 56.86 kB / 0.5975 GB, free: 21.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000954/0.7156, allocations: 1.704 MB / 0.5991 GB, free: 20.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.7166, allocations: 0.6931 MB / 0.5998 GB, free: 20.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/0.7182, allocations: 0.6745 MB / 0.6005 GB, free: 20.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.7183, allocations: 478.7 kB / 0.6009 GB, free: 20.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002755/0.721, allocations: 1.278 MB / 0.6022 GB, free: 20.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/0.7238, allocations: 1.745 MB / 0.6039 GB, free: 19.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007311/0.7311, allocations: 4.479 MB / 0.6083 GB, free: 18.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.7311, allocations: 3.344 kB / 0.6083 GB, free: 18.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01011/0.7412, allocations: 4.482 MB / 0.6126 GB, free: 15.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.7412, allocations: 11.56 kB / 0.6126 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.7413, allocations: 12 kB / 0.6127 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/0.7528, allocations: 4.179 MB / 0.6167 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007824/0.7606, allocations: 1.559 MB / 0.6183 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007841/0.7685, allocations: 8.958 MB / 0.627 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.7718, allocations: 233.6 kB / 0.6272 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008206/0.7726, allocations: 0.4967 MB / 0.6277 GB, free: 15.83 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (208): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {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 {(1,4,100.0%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00202/0.7746, allocations: 282.5 kB / 0.628 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000979/0.7756, allocations: 263.7 kB / 0.6282 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.7874, allocations: 5.762 MB / 0.6339 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008465/0.7958, allocations: 3.596 MB / 0.6374 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.7958, allocations: 0 / 0.6374 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.7958, allocations: 15.05 kB / 0.6374 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.8117, allocations: 9.285 MB / 0.6465 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.8117, allocations: 12.72 kB / 0.6465 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003801/0.8155, allocations: 0.7838 MB / 0.6472 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01327/0.8287, allocations: 3.681 MB / 0.6508 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004165/0.8292, allocations: 119.9 kB / 0.6509 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.8401, allocations: 10.91 MB / 0.6616 GB, free: 12.68 MB / 474.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001133/0.8413, allocations: 0.9505 MB / 0.6625 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008932/0.8502, allocations: 4.098 MB / 0.6665 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.8508, allocations: 223.8 kB / 0.6667 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.8511, allocations: 55.92 kB / 0.6668 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/0.8518, allocations: 99.91 kB / 0.6669 GB, free: 7.078 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005355/0.8524, allocations: 254.3 kB / 0.6671 GB, free: 6.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/0.8526, allocations: 227.9 kB / 0.6674 GB, free: 6.617 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.8539, allocations: 1.126 MB / 0.6685 GB, free: 5.496 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8539, allocations: 0 / 0.6685 GB, free: 5.496 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003893/0.8578, allocations: 1.152 MB / 0.6696 GB, free: 4.344 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 3 ($cse30,$cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {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 {(1,4,100.0%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,28), (9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.8588, allocations: 438.4 kB / 0.67 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007482/0.8663, allocations: 3.236 MB / 0.6732 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.8663, allocations: 0 / 0.6732 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.8701, allocations: 1.978 MB / 0.6751 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.8719, allocations: 0.5876 MB / 0.6757 GB, free: 14.2 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.8043733770027757]