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.001618/0.001618, allocations: 113 kB / 18.94 MB, free: 2.934 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.001913/0.001913, allocations: 209.7 kB / 22.25 MB, free: 5.086 MB / 14.72 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.1268/0.1268, allocations: 23.86 MB / 336.3 MB, free: 11.25 MB / 270.1 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: Chemical 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: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.91 kB / 471.6 MB, free: 7.262 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2784, allocations: 59.86 MB / 0.519 GB, free: 9.852 MB / 382.1 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.03801/0.3164, allocations: 33.29 MB / 0.5516 GB, free: 7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1748/0.4913, allocations: 151.3 MB / 0.6993 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4935, allocations: 39.81 kB / 0.6993 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.4972, allocations: 1.231 MB / 0.7005 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.5006, allocations: 1.214 MB / 0.7017 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.5041, allocations: 1.61 MB / 0.7033 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004151/0.5083, allocations: 3.308 MB / 0.7065 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/0.5091, allocations: 0.6122 MB / 0.7071 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.5102, allocations: 1.164 MB / 0.7082 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.5117, allocations: 1.373 MB / 0.7096 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.5121, allocations: 304 kB / 0.7099 GB, free: 6.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.5155, allocations: 1.849 MB / 0.7117 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.5162, allocations: 0.9226 MB / 0.7126 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.5177, allocations: 1.756 MB / 0.7143 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006111/0.5238, allocations: 5.425 MB / 0.7196 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5239, allocations: 0 / 0.7196 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5239, allocations: 0 / 0.7196 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.58e-05/0.5239, allocations: 0 / 0.7196 GB, free: 12.18 MB / 0.5606 GB 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.005667/0.5296, allocations: 3.735 MB / 0.7232 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5296, allocations: 8.031 kB / 0.7232 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5311, allocations: 0.662 MB / 0.7239 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.5334, allocations: 1.539 MB / 0.7254 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.5339, allocations: 0.5318 MB / 0.7259 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.5343, allocations: 292.3 kB / 0.7262 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1919/0.7262, allocations: 11.94 MB / 0.7378 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/0.7263, allocations: 0 / 0.7378 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.7264, allocations: 119.9 kB / 0.738 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005593/0.727, allocations: 493.8 kB / 0.7384 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.7443, allocations: 20.73 MB / 0.7587 GB, free: 178.6 MB / 0.5606 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.0283/0.7726, allocations: 29.92 MB / 0.7879 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/0.7775, allocations: 5.343 MB / 0.7931 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/0.781, allocations: 4.155 MB / 0.7972 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/0.7831, allocations: 0.7961 MB / 0.7979 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.7832, allocations: 47.86 kB / 0.798 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.186e-06/0.7832, allocations: 2.656 kB / 0.798 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1077/0.8908, allocations: 40.46 MB / 0.8375 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01897/0.9098, allocations: 12.74 MB / 0.8499 GB, free: 87.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/0.9132, allocations: 3.607 MB / 0.8535 GB, free: 83.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005651/0.9137, allocations: 57.7 kB / 0.8535 GB, free: 83.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/0.9145, allocations: 1.535 MB / 0.855 GB, free: 82.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/0.9152, allocations: 0.7048 MB / 0.8557 GB, free: 81.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.9168, allocations: 0.714 MB / 0.8564 GB, free: 80.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.737e-05/0.9168, allocations: 307.8 kB / 0.8567 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006977/0.9238, allocations: 7.16 MB / 0.8637 GB, free: 73.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00749/0.9313, allocations: 7.513 MB / 0.871 GB, free: 65.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2064/1.138, allocations: 42.9 MB / 0.9129 GB, free: 22.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.138, allocations: 4 kB / 0.9129 GB, free: 22.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02138/1.159, allocations: 15.84 MB / 0.9284 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.159, allocations: 11.94 kB / 0.9284 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.159, allocations: 10.62 kB / 0.9284 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02014/1.179, allocations: 5.471 MB / 0.9338 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/1.193, allocations: 1.549 MB / 0.9353 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/1.213, allocations: 15.61 MB / 0.9505 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1997/1.413, allocations: 223.1 kB / 0.9507 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.414, allocations: 0.4979 MB / 0.9512 GB, free: 193.4 MB / 0.5762 GB 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.001896/1.416, allocations: 0.8448 MB / 0.952 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008972/1.417, allocations: 326.1 kB / 0.9523 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02429/1.441, allocations: 11.73 MB / 0.9638 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01849/1.46, allocations: 9.27 MB / 0.9729 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.46, allocations: 3 kB / 0.9729 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.46, allocations: 13.8 kB / 0.9729 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02531/1.485, allocations: 17.36 MB / 0.9898 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.485, allocations: 11.83 kB / 0.9898 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007084/1.492, allocations: 0.7703 MB / 0.9906 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0212/1.513, allocations: 4.151 MB / 0.9946 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/1.514, allocations: 119.3 kB / 0.9947 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/1.529, allocations: 12.96 MB / 1.007 GB, free: 162.5 MB / 0.5762 GB 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.001842/1.531, allocations: 0.7556 MB / 1.008 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.547, allocations: 10.91 MB / 1.019 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007942/1.548, allocations: 449.8 kB / 1.019 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/1.549, allocations: 55.78 kB / 1.019 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.55, allocations: 94.2 kB / 1.019 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/1.551, allocations: 274.8 kB / 1.02 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.551, allocations: 231.8 kB / 1.02 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002991/1.554, allocations: 3.218 MB / 1.023 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.554, allocations: 0 / 1.023 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002778/1.557, allocations: 1.185 MB / 1.024 GB, free: 145.4 MB / 0.5762 GB 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.0006584/1.557, allocations: 432.8 kB / 1.025 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.57, allocations: 9.57 MB / 1.034 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.57, allocations: 4 kB / 1.034 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006673/1.577, allocations: 3.192 MB / 1.037 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.579, allocations: 0.6971 MB / 1.038 GB, free: 131.7 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.879998599877581] Failed to read output from testmodel.py, exit status != 0: 1.5873466338962317 1.595280737 1.06936118 Calling exit ...