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.00193/0.00193, allocations: 85.48 kB / 19.44 MB, free: 344 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.002034/0.002034, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.453 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.1521/0.1521, allocations: 17.37 MB / 276.9 MB, free: 11.52 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.783e-06/1.783e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.963e-05, allocations: 2.312 kB / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.06442/0.06444, allocations: 52.19 MB / 404.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.4677/0.5322, allocations: 152.2 MB / 0.544 GB, free: 7.633 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01599/0.5481, allocations: 167.4 kB / 0.5442 GB, free: 7.469 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01366/0.5618, allocations: 3.204 MB / 0.5473 GB, free: 4.242 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02518/0.587, allocations: 5.121 MB / 0.5523 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01922/0.6062, allocations: 4.043 MB / 0.5563 GB, free: 11.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.3/0.9062, allocations: 15.89 MB / 0.5718 GB, free: 7.078 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008128/0.9143, allocations: 3.41 MB / 0.5751 GB, free: 22.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02457/0.9389, allocations: 8.87 MB / 0.5838 GB, free: 22.32 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01161/0.9505, allocations: 5.156 MB / 0.5888 GB, free: 22.32 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006084/0.9566, allocations: 1.541 MB / 0.5903 GB, free: 22.32 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01362/0.9702, allocations: 2.685 MB / 0.5929 GB, free: 22.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006225/0.9764, allocations: 4.782 MB / 0.5976 GB, free: 21.61 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01444/0.9908, allocations: 5.374 MB / 0.6029 GB, free: 20.83 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04076/1.032, allocations: 22.07 MB / 0.6244 GB, free: 17.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.032, allocations: 2.406 kB / 0.6244 GB, free: 17.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/1.032, allocations: 0 / 0.6244 GB, free: 17.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001191/1.033, allocations: 1.062 kB / 0.6244 GB, free: 17.12 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4724 * Number of variables: 4724 Notification: Performance of Generate backend data structure: time 0.06738/1.1, allocations: 19.69 MB / 0.6437 GB, free: 4.805 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.1, allocations: 12.25 kB / 0.6437 GB, free: 4.805 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02856/1.129, allocations: 7.654 MB / 0.6511 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02301/1.152, allocations: 6.635 MB / 0.6576 GB, free: 8.719 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004772/1.157, allocations: 2.684 MB / 0.6602 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005961/1.163, allocations: 1.486 MB / 0.6617 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07654/1.239, allocations: 24.51 MB / 0.6856 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006577/1.24, allocations: 1.094 kB / 0.6856 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004268/1.244, allocations: 0.603 MB / 0.6862 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/1.247, allocations: 2.452 MB / 0.6886 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07777/1.325, allocations: 44.44 MB / 0.732 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3833/1.708, allocations: 104 MB / 0.8336 GB, free: 212 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02113/1.73, allocations: 8.124 MB / 0.8415 GB, free: 204.4 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0153/1.745, allocations: 5.903 MB / 0.8473 GB, free: 198.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002864/1.748, allocations: 0.8536 MB / 0.8481 GB, free: 198.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/1.748, allocations: 103.4 kB / 0.8482 GB, free: 198.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=650): time 1.585e-05/1.748, allocations: 0 / 0.8482 GB, free: 198.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=956): time 0.5641/2.312, allocations: 114.4 MB / 0.9599 GB, free: 84.36 MB / 0.5573 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! 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! 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 inlineWhenForInitialization (initialization): time 0.013/2.325, allocations: 5.358 MB / 0.9651 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/2.338, allocations: 8.299 MB / 0.9732 GB, free: 70.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004694/2.342, allocations: 177.7 kB / 0.9734 GB, free: 70.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005025/2.347, allocations: 8.68 MB / 0.9819 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007541/2.355, allocations: 3.573 MB / 0.9854 GB, free: 58.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0183/2.373, allocations: 3.62 MB / 0.9889 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001041/2.373, allocations: 476.8 kB / 0.9894 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02756/2.401, allocations: 11.29 MB / 1 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03008/2.431, allocations: 13.89 MB / 1.014 GB, free: 28.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2825/2.713, allocations: 35.83 MB / 1.049 GB, free: 223.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.163e-05/2.713, allocations: 17.72 kB / 1.049 GB, free: 223.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1025/2.816, allocations: 32.08 MB / 1.08 GB, free: 223.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/2.816, allocations: 29.89 kB / 1.08 GB, free: 223.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-05/2.816, allocations: 42.31 kB / 1.08 GB, free: 223.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1161/2.932, allocations: 20.99 MB / 1.101 GB, free: 214.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08256/3.015, allocations: 8.043 MB / 1.109 GB, free: 208.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06415/3.079, allocations: 49.46 MB / 1.157 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02784/3.107, allocations: 1.191 MB / 1.158 GB, free: 159.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006583/3.113, allocations: 2.475 MB / 1.161 GB, free: 156.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: O2_dissolutionE_NIST1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real CO2_dissolutionE1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real O2_dissolutionE_NIST.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real CO2_dissolutionE.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real O2_dissolutionP.fore.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real 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: 201 * 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 (1004): * Single equations (assignments): 977 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 15 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(8,39), (6,4), (8,39), (6,4), (8,39), (6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.01265/3.126, allocations: 1.811 MB / 1.162 GB, free: 155 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007453/3.134, allocations: 1.234 MB / 1.164 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1097/3.243, allocations: 37.59 MB / 1.2 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0865/3.33, allocations: 25.78 MB / 1.225 GB, free: 90.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.89e-05/3.33, allocations: 19.88 kB / 1.225 GB, free: 90.46 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002791/3.33, allocations: 47.81 kB / 1.225 GB, free: 90.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.153/3.483, allocations: 57.67 MB / 1.282 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001166/3.483, allocations: 36 kB / 1.282 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04613/3.529, allocations: 4.101 MB / 1.286 GB, free: 27.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1305/3.66, allocations: 19.6 MB / 1.305 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003724/3.663, allocations: 0.5699 MB / 1.306 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3778/4.041, allocations: 59.93 MB / 1.364 GB, free: 176.9 MB / 0.5573 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! 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! 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.009573/4.051, allocations: 3.492 MB / 1.367 GB, free: 174.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09642/4.147, allocations: 31.04 MB / 1.398 GB, free: 165.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004245/4.152, allocations: 1.06 MB / 1.399 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006341/4.158, allocations: 249.8 kB / 1.399 GB, free: 165 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0129/4.171, allocations: 0.5008 MB / 1.4 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005834/4.177, allocations: 1.317 MB / 1.401 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003625/4.18, allocations: 1.097 MB / 1.402 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01216/4.192, allocations: 5.971 MB / 1.408 GB, free: 162.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/4.192, allocations: 0 / 1.408 GB, free: 162.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02432/4.217, allocations: 5.545 MB / 1.413 GB, free: 160.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 168 * Number of states: 18 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],CO2_dissolutionE1.rear.n_flow,O2_dissolutionE_NIST1.rear.n_flow,$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],CO2_dissolutionE.rear.n_flow,O2_dissolutionE_NIST.rear.n_flow,$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],CO2_dissolutionP.rear.n_flow,O2_dissolutionP.fore.n_flow) * Number of discrete variables: 15 ($cse134,$cse130,$cse123,$cse116,$cse109,$cse90,$cse86,$cse79,$cse72,$cse65,$cse43,$cse39,$cse32,$cse28,$cse21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (713): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 15 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%), (1,4,100.0%), (1,4,100.0%), (6,4,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(8,44), (13,16), (8,44), (13,16), (8,44), (13,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003816/4.221, allocations: 0.667 MB / 1.414 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.06901/4.29, allocations: 23.68 MB / 1.437 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.036e-05/4.29, allocations: 4 kB / 1.437 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.04189/4.332, allocations: 12.17 MB / 1.449 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01889/4.35, allocations: 2.71 MB / 1.451 GB, free: 125.6 MB / 0.5573 GB [/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 656] [Calling sys.exit(0), Time elapsed: 6.787639776011929]