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.001004/0.001004, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001121/0.001121, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.043/1.043, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.08734/0.08734, allocations: 17.37 MB / 277.7 MB, free: 11.71 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.482e-06/1.482e-06, allocations: 0 / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.574e-05, allocations: 4.984 kB / 353.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.03444/0.03445, allocations: 52.22 MB / 405.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3186/0.353, allocations: 152.2 MB / 0.5448 GB, free: 7.637 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007254/0.3603, allocations: 163.3 kB / 0.545 GB, free: 7.477 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005673/0.3659, allocations: 3.2 MB / 0.5481 GB, free: 4.254 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009031/0.375, allocations: 5.125 MB / 0.5531 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007316/0.3823, allocations: 4.046 MB / 0.557 GB, free: 11.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2201/0.6024, allocations: 15.89 MB / 0.5726 GB, free: 7.02 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007066/0.6095, allocations: 3.412 MB / 0.5759 GB, free: 22.26 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01826/0.6277, allocations: 8.878 MB / 0.5846 GB, free: 22.26 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009283/0.637, allocations: 5.152 MB / 0.5896 GB, free: 22.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004301/0.6413, allocations: 1.542 MB / 0.5911 GB, free: 22.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007884/0.6492, allocations: 2.682 MB / 0.5937 GB, free: 22.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005186/0.6544, allocations: 4.781 MB / 0.5984 GB, free: 21.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01016/0.6645, allocations: 5.369 MB / 0.6036 GB, free: 20.77 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02126/0.6858, allocations: 15.03 MB / 0.6183 GB, free: 18.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6858, allocations: 0 / 0.6183 GB, free: 18.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6858, allocations: 4.031 kB / 0.6183 GB, free: 18.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008223/0.6866, allocations: 0 / 0.6183 GB, free: 18.31 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.03101/0.7176, allocations: 18.47 MB / 0.6363 GB, free: 8.438 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.7177, allocations: 11.34 kB / 0.6364 GB, free: 8.438 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.7322, allocations: 7.657 MB / 0.6438 GB, free: 5.328 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.7469, allocations: 6.546 MB / 0.6502 GB, free: 328 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003515/0.7504, allocations: 2.744 MB / 0.6529 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/0.7543, allocations: 1.482 MB / 0.6544 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0399/0.7942, allocations: 21.9 MB / 0.6757 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/0.7944, allocations: 4.188 kB / 0.6758 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/0.796, allocations: 0.608 MB / 0.6763 GB, free: 6.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/0.7979, allocations: 2.453 MB / 0.6787 GB, free: 3.949 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04169/0.8396, allocations: 27.54 MB / 0.7056 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3564/1.196, allocations: 80.31 MB / 0.7841 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/1.208, allocations: 4.776 MB / 0.7887 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008588/1.217, allocations: 3.001 MB / 0.7917 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/1.218, allocations: 0.8572 MB / 0.7925 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.041e-05/1.218, allocations: 106.3 kB / 0.7926 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=650): time 9.267e-06/1.218, allocations: 0.9688 kB / 0.7926 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=956): time 0.3391/1.558, allocations: 91.57 MB / 0.882 GB, free: 57.3 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.00816/1.566, allocations: 4.904 MB / 0.8868 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009269/1.575, allocations: 6.779 MB / 0.8934 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004304/1.579, allocations: 173.7 kB / 0.8936 GB, free: 45.35 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003612/1.583, allocations: 8.367 MB / 0.9018 GB, free: 36.97 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005615/1.589, allocations: 3.317 MB / 0.905 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008844/1.597, allocations: 3.279 MB / 0.9082 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/1.597, allocations: 476.8 kB / 0.9087 GB, free: 29.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01451/1.612, allocations: 6.356 MB / 0.9149 GB, free: 23.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0165/1.628, allocations: 8.641 MB / 0.9233 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04234/1.671, allocations: 22.31 MB / 0.9451 GB, free: 7.016 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-05/1.671, allocations: 15.98 kB / 0.9451 GB, free: 7 MB / 0.573 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.06771/1.739, allocations: 21.73 MB / 0.9663 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/1.739, allocations: 24 kB / 0.9664 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-05/1.739, allocations: 47.19 kB / 0.9664 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3173/2.056, allocations: 19.32 MB / 0.9853 GB, free: 132 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06036/2.116, allocations: 8.049 MB / 0.9931 GB, free: 132 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04429/2.161, allocations: 40.26 MB / 1.032 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01534/2.176, allocations: 1.184 MB / 1.034 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00598/2.182, allocations: 2.478 MB / 1.036 GB, free: 106.1 MB / 0.5886 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.01092/2.193, allocations: 0.6873 MB / 1.037 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008368/2.201, allocations: 1.226 MB / 1.038 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07801/2.279, allocations: 28.92 MB / 1.066 GB, free: 99.09 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04611/2.325, allocations: 17.7 MB / 1.083 GB, free: 83.69 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.415e-05/2.325, allocations: 8 kB / 1.083 GB, free: 83.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002888/2.326, allocations: 51.81 kB / 1.083 GB, free: 83.63 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.101/2.427, allocations: 47.74 MB / 1.13 GB, free: 37.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001011/2.427, allocations: 40.06 kB / 1.13 GB, free: 37.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02081/2.448, allocations: 4.103 MB / 1.134 GB, free: 33.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06493/2.513, allocations: 18.32 MB / 1.152 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003608/2.516, allocations: 0.566 MB / 1.153 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3317/2.848, allocations: 49.29 MB / 1.201 GB, free: 121.7 MB / 0.6042 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.004896/2.853, allocations: 3.241 MB / 1.204 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0733/2.926, allocations: 20.62 MB / 1.224 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003976/2.93, allocations: 1.07 MB / 1.225 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005218/2.935, allocations: 252.5 kB / 1.225 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00867/2.944, allocations: 0.4974 MB / 1.226 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004565/2.949, allocations: 1.215 MB / 1.227 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002569/2.951, allocations: 1.095 MB / 1.228 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00877/2.96, allocations: 4.95 MB / 1.233 GB, free: 115 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/2.96, allocations: 0.6562 kB / 1.233 GB, free: 115 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01981/2.98, allocations: 5.547 MB / 1.238 GB, free: 115 MB / 0.6042 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.003267/2.983, allocations: 0.6631 MB / 1.239 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03942/3.022, allocations: 16.06 MB / 1.255 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.205e-05/3.022, allocations: 7.875 kB / 1.255 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02729/3.05, allocations: 9.522 MB / 1.264 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01796/3.068, allocations: 2.691 MB / 1.267 GB, free: 107.4 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.8219582790043205]