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.002603/0.002603, allocations: 93.47 kB / 19.44 MB, free: 332 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.003062/0.003062, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.645/1.645, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.1784/0.1784, allocations: 17.36 MB / 276.9 MB, free: 11.67 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.733e-06/1.733e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.477e-05, allocations: 4.844 kB / 352.7 MB, free: 10.33 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.05217/0.0522, allocations: 33.58 MB / 386.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3722/0.4244, allocations: 142.6 MB / 0.5165 GB, free: 8.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.4263, allocations: 39.81 kB / 0.5165 GB, free: 8.441 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.43, allocations: 1.143 MB / 0.5177 GB, free: 7.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.4338, allocations: 1.26 MB / 0.5189 GB, free: 6.051 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004078/0.4379, allocations: 1.602 MB / 0.5205 GB, free: 4.441 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005783/0.4436, allocations: 3.428 MB / 0.5238 GB, free: 1.004 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.4448, allocations: 0.6006 MB / 0.5244 GB, free: 364 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.4474, allocations: 1.75 MB / 0.5261 GB, free: 14.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.4489, allocations: 1.013 MB / 0.5271 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.4494, allocations: 307.9 kB / 0.5274 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.4527, allocations: 1.248 MB / 0.5286 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009299/0.4537, allocations: 0.9303 MB / 0.5295 GB, free: 11.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.4552, allocations: 1.056 MB / 0.5305 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008279/0.4635, allocations: 5.273 MB / 0.5357 GB, free: 4.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4635, allocations: 0 / 0.5357 GB, free: 4.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4635, allocations: 0 / 0.5357 GB, free: 4.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000114/0.4636, allocations: 0 / 0.5357 GB, free: 4.754 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.008345/0.472, allocations: 4.265 MB / 0.5399 GB, free: 436 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.472, allocations: 12.03 kB / 0.5399 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.4753, allocations: 1.512 MB / 0.5413 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.4779, allocations: 1.416 MB / 0.5427 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005866/0.4785, allocations: 0.5318 MB / 0.5432 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.479, allocations: 296.3 kB / 0.5435 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007345/0.4863, allocations: 4.107 MB / 0.5475 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.4864, allocations: 4.188 kB / 0.5475 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.4866, allocations: 120.4 kB / 0.5477 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006808/0.4873, allocations: 494.8 kB / 0.5481 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.5009, allocations: 8.839 MB / 0.5568 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1849/0.6857, allocations: 20.39 MB / 0.5767 GB, free: 162.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.6896, allocations: 1.662 MB / 0.5783 GB, free: 161.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.6921, allocations: 1.19 MB / 0.5795 GB, free: 161.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/0.6941, allocations: 0.6952 MB / 0.5801 GB, free: 161.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.6941, allocations: 48.81 kB / 0.5802 GB, free: 161.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 3.867e-06/0.6941, allocations: 0 / 0.5802 GB, free: 161.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=200): time 0.1068/0.8009, allocations: 21.57 MB / 0.6012 GB, free: 149.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01816/0.8191, allocations: 8.315 MB / 0.6094 GB, free: 140.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.8211, allocations: 1.837 MB / 0.6112 GB, free: 138.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000797/0.8219, allocations: 64.33 kB / 0.6112 GB, free: 138.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008181/0.8227, allocations: 1.761 MB / 0.6129 GB, free: 137.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009507/0.8237, allocations: 0.7516 MB / 0.6137 GB, free: 136.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/0.8255, allocations: 0.7468 MB / 0.6144 GB, free: 135.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.8256, allocations: 480.8 kB / 0.6149 GB, free: 135.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004402/0.83, allocations: 2.264 MB / 0.6171 GB, free: 133.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/0.8348, allocations: 2.79 MB / 0.6198 GB, free: 130.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/0.8475, allocations: 7.121 MB / 0.6268 GB, free: 122.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.8476, allocations: 0 / 0.6268 GB, free: 122.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01837/0.8659, allocations: 6.575 MB / 0.6332 GB, free: 116.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.866, allocations: 11.83 kB / 0.6332 GB, free: 116.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.866, allocations: 8 kB / 0.6332 GB, free: 116.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02373/0.8897, allocations: 4.54 MB / 0.6376 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/0.905, allocations: 1.554 MB / 0.6391 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.9179, allocations: 10.92 MB / 0.6498 GB, free: 98.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/0.9231, allocations: 231.7 kB / 0.65 GB, free: 98.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008948/0.924, allocations: 0.5023 MB / 0.6505 GB, free: 98.25 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.001854/0.9259, allocations: 0.4977 MB / 0.651 GB, free: 97.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/0.9272, allocations: 280.6 kB / 0.6513 GB, free: 97.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/0.9475, allocations: 7.445 MB / 0.6585 GB, free: 90.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01541/0.9629, allocations: 5.217 MB / 0.6636 GB, free: 84.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.9629, allocations: 2.656 kB / 0.6636 GB, free: 84.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.9629, allocations: 15.95 kB / 0.6637 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/0.9879, allocations: 11.28 MB / 0.6747 GB, free: 73.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.9879, allocations: 15.94 kB / 0.6747 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007854/0.9958, allocations: 0.7777 MB / 0.6754 GB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02606/1.022, allocations: 3.952 MB / 0.6793 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006493/1.022, allocations: 119.9 kB / 0.6794 GB, free: 68.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/1.04, allocations: 13.12 MB / 0.6922 GB, free: 54.93 MB / 442.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.00212/1.042, allocations: 1.007 MB / 0.6932 GB, free: 53.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/1.058, allocations: 6.141 MB / 0.6992 GB, free: 47.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/1.059, allocations: 234.6 kB / 0.6994 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007049/1.06, allocations: 59.86 kB / 0.6995 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.062, allocations: 91.91 kB / 0.6996 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007902/1.063, allocations: 277.3 kB / 0.6998 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004078/1.063, allocations: 223.9 kB / 0.7001 GB, free: 46.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001832/1.065, allocations: 1.347 MB / 0.7014 GB, free: 45.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/1.065, allocations: 0 / 0.7014 GB, free: 45.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003945/1.069, allocations: 1.152 MB / 0.7025 GB, free: 44.21 MB / 442.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.001041/1.07, allocations: 436.1 kB / 0.7029 GB, free: 43.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/1.082, allocations: 4.759 MB / 0.7076 GB, free: 39.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.082, allocations: 0 / 0.7076 GB, free: 39.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007463/1.09, allocations: 2.517 MB / 0.71 GB, free: 36.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/1.093, allocations: 0.5861 MB / 0.7106 GB, free: 35.97 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848: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: 3.6679236240452155]