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.001061/0.001061, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.0009813/0.0009813, allocations: 173 kB / 23.49 MB, free: 1.051 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.099/1.099, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.0917/0.0917, allocations: 17.37 MB / 277.7 MB, free: 11.7 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 3.627e-06/3.627e-06, allocations: 4 kB / 353.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/3.055e-05, allocations: 6.25 kB / 353.4 MB, free: 11.34 MB / 330.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.04215/0.04219, allocations: 35.84 MB / 389.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3469/0.3891, allocations: 142.6 MB / 0.5195 GB, free: 32.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.392, allocations: 37.31 kB / 0.5195 GB, free: 32.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.3955, allocations: 1.14 MB / 0.5206 GB, free: 31.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.3999, allocations: 1.269 MB / 0.5218 GB, free: 30.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.4038, allocations: 1.597 MB / 0.5234 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005379/0.4092, allocations: 3.42 MB / 0.5267 GB, free: 28.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000968/0.4102, allocations: 0.6013 MB / 0.5273 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.4127, allocations: 1.754 MB / 0.529 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.4142, allocations: 1.013 MB / 0.53 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006261/0.4149, allocations: 302.7 kB / 0.5303 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.4188, allocations: 1.245 MB / 0.5315 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.4194, allocations: 0.9381 MB / 0.5325 GB, free: 25.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.4208, allocations: 1.054 MB / 0.5335 GB, free: 25.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.427, allocations: 3.919 MB / 0.5373 GB, free: 23.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.427, allocations: 0 / 0.5373 GB, free: 23.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.427, allocations: 0 / 0.5373 GB, free: 23.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001858/0.4272, allocations: 0 / 0.5373 GB, free: 23.26 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.00589/0.4331, allocations: 4.023 MB / 0.5412 GB, free: 20.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.4332, allocations: 8.969 kB / 0.5412 GB, free: 20.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.4356, allocations: 1.51 MB / 0.5427 GB, free: 19.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.4373, allocations: 1.404 MB / 0.5441 GB, free: 17.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.4377, allocations: 0.5318 MB / 0.5446 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.438, allocations: 296.3 kB / 0.5449 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.442, allocations: 3.805 MB / 0.5486 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.4421, allocations: 192 / 0.5486 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.4422, allocations: 120.3 kB / 0.5487 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/0.4425, allocations: 494.8 kB / 0.5492 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005324/0.4479, allocations: 5.467 MB / 0.5545 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.4682, allocations: 15.88 MB / 0.57 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.4704, allocations: 0.9969 MB / 0.571 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.4717, allocations: 0.6138 MB / 0.5716 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.4729, allocations: 0.6896 MB / 0.5723 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.4729, allocations: 50.7 kB / 0.5723 GB, free: 4.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 3.737e-06/0.4729, allocations: 0 / 0.5723 GB, free: 4.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.05883/0.5317, allocations: 17.01 MB / 0.5889 GB, free: 3.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01099/0.5427, allocations: 6.657 MB / 0.5954 GB, free: 13.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.5447, allocations: 1.522 MB / 0.5969 GB, free: 11.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008194/0.5455, allocations: 57.7 kB / 0.597 GB, free: 11.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.5465, allocations: 1.709 MB / 0.5987 GB, free: 9.676 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.5476, allocations: 0.6932 MB / 0.5993 GB, free: 8.977 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.5491, allocations: 0.6687 MB / 0.6 GB, free: 8.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5492, allocations: 480.8 kB / 0.6004 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/0.5521, allocations: 1.277 MB / 0.6017 GB, free: 6.547 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.5551, allocations: 1.735 MB / 0.6034 GB, free: 4.633 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1955/0.7506, allocations: 4.475 MB / 0.6078 GB, free: 158.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.7506, allocations: 6.625 kB / 0.6078 GB, free: 158.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01208/0.7627, allocations: 4.477 MB / 0.6121 GB, free: 158.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.7628, allocations: 13.8 kB / 0.6122 GB, free: 158.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.7628, allocations: 9.406 kB / 0.6122 GB, free: 158.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/0.775, allocations: 4.185 MB / 0.6162 GB, free: 158.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007508/0.7825, allocations: 1.555 MB / 0.6178 GB, free: 158.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007833/0.7903, allocations: 8.971 MB / 0.6265 GB, free: 152.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.7933, allocations: 225.7 kB / 0.6267 GB, free: 152.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007063/0.794, allocations: 0.499 MB / 0.6272 GB, free: 152.1 MB / 458.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.001893/0.7959, allocations: 277.2 kB / 0.6275 GB, free: 151.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009951/0.7969, allocations: 264.6 kB / 0.6277 GB, free: 151.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.8083, allocations: 5.753 MB / 0.6334 GB, free: 150.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008455/0.8167, allocations: 3.6 MB / 0.6369 GB, free: 149.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.8167, allocations: 3 kB / 0.6369 GB, free: 149.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.8168, allocations: 13.23 kB / 0.6369 GB, free: 149.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.8328, allocations: 9.295 MB / 0.646 GB, free: 146 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.8328, allocations: 8.281 kB / 0.646 GB, free: 146 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003852/0.8367, allocations: 0.7814 MB / 0.6467 GB, free: 146 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01446/0.8511, allocations: 3.682 MB / 0.6503 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005561/0.8517, allocations: 117.6 kB / 0.6505 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.8617, allocations: 10.9 MB / 0.6611 GB, free: 136.4 MB / 458.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.001079/0.8628, allocations: 0.9417 MB / 0.662 GB, free: 135.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008655/0.8714, allocations: 4.092 MB / 0.666 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/0.8722, allocations: 225.3 kB / 0.6662 GB, free: 132.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004284/0.8727, allocations: 54.62 kB / 0.6663 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.8736, allocations: 97.12 kB / 0.6664 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007379/0.8743, allocations: 263.5 kB / 0.6666 GB, free: 132.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/0.8746, allocations: 224.4 kB / 0.6668 GB, free: 132.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001385/0.876, allocations: 1.125 MB / 0.6679 GB, free: 131.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.876, allocations: 0 / 0.6679 GB, free: 131.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003853/0.8798, allocations: 1.156 MB / 0.6691 GB, free: 130.3 MB / 458.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.0007725/0.8806, allocations: 439.6 kB / 0.6695 GB, free: 130 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007473/0.8881, allocations: 3.242 MB / 0.6727 GB, free: 127.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.8881, allocations: 4 kB / 0.6727 GB, free: 127.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0041/0.8922, allocations: 1.983 MB / 0.6746 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.8942, allocations: 0.5793 MB / 0.6752 GB, free: 125 MB / 458.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.8218107528518885]