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.001368/0.001368, allocations: 103.9 kB / 16.45 MB, free: 6.449 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.001488/0.001488, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1422/0.1422, allocations: 23.86 MB / 332.7 MB, free: 12.36 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.002204/0.002204, allocations: 67.89 kB / 466.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3247, allocations: 59.81 MB / 0.5139 GB, free: 9.176 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.04336/0.368, allocations: 33.05 MB / 0.5462 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.5537, allocations: 151.2 MB / 0.6939 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.556, allocations: 43.75 kB / 0.6939 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.5598, allocations: 1.243 MB / 0.6952 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.5636, allocations: 1.222 MB / 0.6964 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.5675, allocations: 1.618 MB / 0.6979 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005323/0.5728, allocations: 3.323 MB / 0.7012 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.5739, allocations: 0.6586 MB / 0.7018 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.5754, allocations: 1.164 MB / 0.703 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.5771, allocations: 1.373 MB / 0.7043 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004247/0.5775, allocations: 304 kB / 0.7046 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.5816, allocations: 1.845 MB / 0.7064 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008509/0.5825, allocations: 0.9187 MB / 0.7073 GB, free: 4.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.5842, allocations: 1.748 MB / 0.709 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007539/0.5918, allocations: 5.429 MB / 0.7143 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5918, allocations: 3.984 kB / 0.7143 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5918, allocations: 3.938 kB / 0.7143 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.555e-05/0.5919, allocations: 3.938 kB / 0.7143 GB, free: 13.42 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.006612/0.5985, allocations: 3.809 MB / 0.718 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5985, allocations: 8.031 kB / 0.718 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.6003, allocations: 0.666 MB / 0.7187 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.6027, allocations: 1.597 MB / 0.7202 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004681/0.6032, allocations: 455.5 kB / 0.7207 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.6036, allocations: 300.3 kB / 0.721 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2392/0.8428, allocations: 11.41 MB / 0.7321 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/0.8429, allocations: 0.8906 kB / 0.7321 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.8431, allocations: 122 kB / 0.7322 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007647/0.8439, allocations: 487.6 kB / 0.7327 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.8665, allocations: 19.86 MB / 0.7521 GB, free: 179.1 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.03527/0.9018, allocations: 29.4 MB / 0.7808 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.9073, allocations: 5.274 MB / 0.7859 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003985/0.9113, allocations: 4.105 MB / 0.79 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00259/0.9139, allocations: 1.823 MB / 0.7917 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.9139, allocations: 51.86 kB / 0.7918 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 4.128e-06/0.9139, allocations: 5.359 kB / 0.7918 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1256/1.04, allocations: 40.52 MB / 0.8314 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02096/1.06, allocations: 12.75 MB / 0.8438 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/1.064, allocations: 3.606 MB / 0.8473 GB, free: 86.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008261/1.065, allocations: 53.7 kB / 0.8474 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/1.066, allocations: 1.531 MB / 0.8489 GB, free: 84.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009887/1.067, allocations: 0.7049 MB / 0.8496 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/1.069, allocations: 0.7179 MB / 0.8503 GB, free: 83.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.261e-05/1.069, allocations: 305.1 kB / 0.8506 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007597/1.077, allocations: 7.046 MB / 0.8574 GB, free: 76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00831/1.085, allocations: 7.392 MB / 0.8647 GB, free: 68.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2426/1.328, allocations: 42.79 MB / 0.9064 GB, free: 25.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/1.328, allocations: 4 kB / 0.9064 GB, free: 25.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02449/1.352, allocations: 15.63 MB / 0.9217 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.352, allocations: 12 kB / 0.9217 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.352, allocations: 8 kB / 0.9217 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02395/1.376, allocations: 5.392 MB / 0.927 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/1.391, allocations: 1.542 MB / 0.9285 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/1.413, allocations: 15.56 MB / 0.9437 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/1.418, allocations: 222.3 kB / 0.9439 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.419, allocations: 0.4997 MB / 0.9444 GB, free: 2.766 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.002714/1.422, allocations: 0.8513 MB / 0.9452 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.424, allocations: 325.8 kB / 0.9455 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2547/1.678, allocations: 11.7 MB / 0.957 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02205/1.7, allocations: 9.247 MB / 0.966 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.7, allocations: 3.453 kB / 0.966 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/1.7, allocations: 15.03 kB / 0.966 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/1.73, allocations: 17.21 MB / 0.9828 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.73, allocations: 14.45 kB / 0.9828 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008373/1.739, allocations: 0.7694 MB / 0.9836 GB, free: 179.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0245/1.763, allocations: 4.143 MB / 0.9876 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005151/1.764, allocations: 124 kB / 0.9877 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/1.782, allocations: 13.36 MB / 1.001 GB, free: 166.6 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.00224/1.785, allocations: 0.7554 MB / 1.002 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/1.804, allocations: 10.87 MB / 1.012 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.805, allocations: 0.527 MB / 1.013 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009484/1.806, allocations: 58.75 kB / 1.013 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.809, allocations: 90.59 kB / 1.013 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009886/1.81, allocations: 268.3 kB / 1.013 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004524/1.81, allocations: 227.9 kB / 1.013 GB, free: 154 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00494/1.815, allocations: 3.21 MB / 1.016 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/1.815, allocations: 0 / 1.016 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003779/1.819, allocations: 1.19 MB / 1.018 GB, free: 149.6 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.0008388/1.82, allocations: 426.4 kB / 1.018 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01447/1.834, allocations: 9.445 MB / 1.027 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.834, allocations: 0 / 1.027 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007638/1.842, allocations: 3.189 MB / 1.03 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/1.845, allocations: 0.6904 MB / 1.031 GB, free: 136.1 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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: 4.373888153582811] Failed to read output from testmodel.py, exit status != 0: 1.8540429063141346 1.862021977 1.2680578120000001 Calling exit ...