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.0008926/0.0008926, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.000988/0.000988, allocations: 181 kB / 23.36 MB, free: 1.133 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.14/1.14, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.1159/0.1159, allocations: 17.38 MB / 277.6 MB, free: 11.53 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 2.785e-06/2.785e-06, allocations: 0 / 300.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.604e-05, allocations: 5.062 kB / 300.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.03924/0.03928, allocations: 51.41 MB / 352.1 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3942/0.4334, allocations: 152.8 MB / 0.493 GB, free: 1.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/0.4452, allocations: 163.2 kB / 0.4931 GB, free: 1.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.4566, allocations: 3.379 MB / 0.4964 GB, free: 104 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01844/0.475, allocations: 5.121 MB / 0.5014 GB, free: 14.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.486, allocations: 4.047 MB / 0.5054 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02294/0.509, allocations: 15.95 MB / 0.521 GB, free: 2.082 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006698/0.5157, allocations: 3.601 MB / 0.5245 GB, free: 15.99 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01959/0.5353, allocations: 8.877 MB / 0.5332 GB, free: 10.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.5473, allocations: 5.163 MB / 0.5382 GB, free: 7.547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005544/0.5528, allocations: 1.542 MB / 0.5397 GB, free: 7.547 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.5633, allocations: 2.719 MB / 0.5424 GB, free: 6.348 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006794/0.5701, allocations: 4.778 MB / 0.547 GB, free: 1.781 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01322/0.5833, allocations: 5.371 MB / 0.5523 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02407/0.6074, allocations: 15.03 MB / 0.567 GB, free: 14.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6074, allocations: 0 / 0.567 GB, free: 14.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6074, allocations: 0 / 0.567 GB, free: 14.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006819/0.6081, allocations: 0 / 0.567 GB, free: 14.79 MB / 474.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.02246/0.6305, allocations: 17.07 MB / 0.5836 GB, free: 14.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6306, allocations: 8.031 kB / 0.5836 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.6418, allocations: 6.933 MB / 0.5904 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.653, allocations: 5.05 MB / 0.5953 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005835/0.6588, allocations: 2.682 MB / 0.598 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01474/0.6735, allocations: 1.484 MB / 0.5994 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05979/0.7333, allocations: 18.68 MB / 0.6176 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/0.7336, allocations: 192 / 0.6176 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009017/0.7345, allocations: 0.607 MB / 0.6182 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/0.7363, allocations: 2.453 MB / 0.6206 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4417/1.178, allocations: 21.66 MB / 0.6418 GB, free: 78.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/1.289, allocations: 63.28 MB / 0.7036 GB, free: 60.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02752/1.317, allocations: 3.692 MB / 0.7072 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01818/1.335, allocations: 1.991 MB / 0.7091 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007509/1.342, allocations: 0.8414 MB / 0.71 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.66e-05/1.342, allocations: 101.2 kB / 0.71 GB, free: 55.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=650): time 1.083e-05/1.342, allocations: 0 / 0.71 GB, free: 55.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=956): time 0.3084/1.651, allocations: 72.26 MB / 0.7806 GB, free: 1.363 MB / 0.5262 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.007282/1.658, allocations: 4.045 MB / 0.7846 GB, free: 13.32 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006962/1.665, allocations: 5.934 MB / 0.7904 GB, free: 8.484 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.00398/1.669, allocations: 177.7 kB / 0.7905 GB, free: 8.305 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.003522/1.672, allocations: 6.459 MB / 0.7968 GB, free: 2.672 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.006406/1.679, allocations: 3.341 MB / 0.8001 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009553/1.688, allocations: 2.571 MB / 0.8026 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/1.688, allocations: 309.2 kB / 0.8029 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01258/1.701, allocations: 4.941 MB / 0.8077 GB, free: 7.906 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01589/1.717, allocations: 6.695 MB / 0.8143 GB, free: 0.8281 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4645/2.181, allocations: 18.58 MB / 0.8324 GB, free: 129.5 MB / 0.5731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.157e-05/2.182, allocations: 21.41 kB / 0.8324 GB, free: 129.5 MB / 0.5731 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.04998/2.232, allocations: 15.74 MB / 0.8478 GB, free: 129 MB / 0.5731 GB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/2.232, allocations: 26.12 kB / 0.8478 GB, free: 129 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/2.232, allocations: 44.53 kB / 0.8479 GB, free: 129 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05721/2.289, allocations: 17.95 MB / 0.8654 GB, free: 128.4 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04171/2.331, allocations: 8.034 MB / 0.8733 GB, free: 128.3 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02696/2.358, allocations: 28.1 MB / 0.9007 GB, free: 111.1 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/2.371, allocations: 499.1 kB / 0.9012 GB, free: 111.1 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004703/2.375, allocations: 2.312 MB / 0.9034 GB, free: 111.1 MB / 0.5731 GB Warning: Assuming fixed start value for the following 6 variables: 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 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_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 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.01112/2.386, allocations: 0.6516 MB / 0.9041 GB, free: 111 MB / 0.5731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006282/2.393, allocations: 0.817 MB / 0.9049 GB, free: 110.8 MB / 0.5731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0529/2.446, allocations: 22.39 MB / 0.9267 GB, free: 95.55 MB / 0.5731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03189/2.478, allocations: 11.65 MB / 0.9381 GB, free: 83.94 MB / 0.5731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.169e-05/2.478, allocations: 12 kB / 0.9381 GB, free: 83.93 MB / 0.5731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001942/2.478, allocations: 47.81 kB / 0.9382 GB, free: 83.88 MB / 0.5731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07408/2.552, allocations: 32.32 MB / 0.9697 GB, free: 52.41 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.525e-05/2.552, allocations: 40 kB / 0.9698 GB, free: 52.37 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02173/2.574, allocations: 4.896 MB / 0.9745 GB, free: 47.57 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05837/2.632, allocations: 17.29 MB / 0.9914 GB, free: 30.48 MB / 0.5731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003393/2.635, allocations: 431.6 kB / 0.9918 GB, free: 30.06 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03465/2.67, allocations: 35.16 MB / 1.026 GB, free: 10.18 MB / 0.5888 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.004759/2.675, allocations: 2.643 MB / 1.029 GB, free: 7.535 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3303/3.005, allocations: 15.48 MB / 1.044 GB, free: 127.1 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002823/3.008, allocations: 0.9306 MB / 1.045 GB, free: 127.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003908/3.012, allocations: 241.8 kB / 1.045 GB, free: 127.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007249/3.019, allocations: 297.1 kB / 1.045 GB, free: 127.1 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004062/3.023, allocations: 1.066 MB / 1.046 GB, free: 127.1 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002377/3.026, allocations: 0.9836 MB / 1.047 GB, free: 127.1 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.005881/3.031, allocations: 3.496 MB / 1.051 GB, free: 126.9 MB / 0.5888 GB Notification: Performance of sort global known variables: time 1.4e-07/3.031, allocations: 0 / 1.051 GB, free: 126.9 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.0188/3.05, allocations: 5.548 MB / 1.056 GB, free: 126.9 MB / 0.5888 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.002894/3.053, allocations: 0.6633 MB / 1.057 GB, free: 126.8 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.0333/3.086, allocations: 12.75 MB / 1.069 GB, free: 125.4 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 0.0003378/3.087, allocations: 88.5 kB / 1.069 GB, free: 125.4 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.01833/3.105, allocations: 7.445 MB / 1.077 GB, free: 123.7 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/3.116, allocations: 2.529 MB / 1.079 GB, free: 123.4 MB / 0.5888 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.989397771190852]