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.001035/0.001035, allocations: 93.06 kB / 19.65 MB, free: 280 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.001042/0.001042, allocations: 173 kB / 23.02 MB, free: 1.551 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.1043/0.1043, allocations: 17.38 MB / 277.3 MB, free: 11.65 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 3.226e-06/3.226e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.712e-05/6.034e-05, allocations: 6.25 kB / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.04098/0.04104, allocations: 52.67 MB / 406.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3946/0.4357, allocations: 152.6 MB / 0.5456 GB, free: 6.855 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0124/0.4481, allocations: 167.3 kB / 0.5458 GB, free: 6.691 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009505/0.4576, allocations: 3.2 MB / 0.5489 GB, free: 3.465 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01613/0.4737, allocations: 5.121 MB / 0.5539 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.4838, allocations: 4.05 MB / 0.5578 GB, free: 10.24 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2251/0.7089, allocations: 15.95 MB / 0.5734 GB, free: 7.012 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006764/0.7157, allocations: 3.411 MB / 0.5767 GB, free: 22.25 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0175/0.7332, allocations: 8.872 MB / 0.5854 GB, free: 22.25 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008948/0.7421, allocations: 5.152 MB / 0.5904 GB, free: 22 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003733/0.7458, allocations: 1.543 MB / 0.5919 GB, free: 22 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008016/0.7539, allocations: 2.683 MB / 0.5946 GB, free: 21.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004793/0.7586, allocations: 4.783 MB / 0.5992 GB, free: 21.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01262/0.7713, allocations: 5.367 MB / 0.6045 GB, free: 20.38 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02628/0.7975, allocations: 15.03 MB / 0.6192 GB, free: 17.92 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7976, allocations: 1.031 kB / 0.6192 GB, free: 17.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7976, allocations: 0 / 0.6192 GB, free: 17.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000794/0.7983, allocations: 0 / 0.6192 GB, free: 17.92 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.04863/0.847, allocations: 18.47 MB / 0.6372 GB, free: 7.797 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.847, allocations: 9.094 kB / 0.6372 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.8612, allocations: 7.66 MB / 0.6447 GB, free: 4.688 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/0.8762, allocations: 6.688 MB / 0.6512 GB, free: 0 / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004595/0.8808, allocations: 2.886 MB / 0.654 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004355/0.8851, allocations: 1.491 MB / 0.6555 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04634/0.9314, allocations: 21.89 MB / 0.6769 GB, free: 6.328 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000354/0.9318, allocations: 4.188 kB / 0.6769 GB, free: 6.324 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002365/0.9342, allocations: 0.6069 MB / 0.6775 GB, free: 5.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001938/0.9361, allocations: 2.453 MB / 0.6799 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04154/0.9776, allocations: 27.54 MB / 0.7068 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4597/1.437, allocations: 80.31 MB / 0.7852 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/1.449, allocations: 4.761 MB / 0.7898 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007396/1.456, allocations: 3.013 MB / 0.7928 GB, free: 104 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.457, allocations: 0.8503 MB / 0.7936 GB, free: 104 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.096e-05/1.458, allocations: 105.1 kB / 0.7937 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=650): time 9.397e-06/1.458, allocations: 3.625 kB / 0.7937 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=956): time 0.3268/1.784, allocations: 91.58 MB / 0.8832 GB, free: 56.52 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.007105/1.791, allocations: 4.904 MB / 0.8879 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00819/1.8, allocations: 6.775 MB / 0.8946 GB, free: 44.74 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004451/1.804, allocations: 177.7 kB / 0.8947 GB, free: 44.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003744/1.808, allocations: 8.357 MB / 0.9029 GB, free: 36.19 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006437/1.814, allocations: 3.319 MB / 0.9061 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01178/1.826, allocations: 3.281 MB / 0.9093 GB, free: 29.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/1.826, allocations: 480.8 kB / 0.9098 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/1.839, allocations: 6.344 MB / 0.916 GB, free: 22.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0177/1.857, allocations: 8.647 MB / 0.9244 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04533/1.902, allocations: 22.32 MB / 0.9462 GB, free: 6.234 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.409e-05/1.902, allocations: 12 kB / 0.9462 GB, free: 6.223 MB / 0.573 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.07286/1.975, allocations: 21.72 MB / 0.9675 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/1.975, allocations: 24 kB / 0.9675 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.514e-05/1.976, allocations: 44 kB / 0.9675 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.32/2.295, allocations: 19.32 MB / 0.9864 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04055/2.336, allocations: 8.046 MB / 0.9942 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04308/2.379, allocations: 40.26 MB / 1.034 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/2.397, allocations: 1.185 MB / 1.035 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007676/2.405, allocations: 2.474 MB / 1.037 GB, free: 105.6 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.01424/2.419, allocations: 0.6933 MB / 1.038 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008418/2.427, allocations: 1.225 MB / 1.039 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07029/2.498, allocations: 28.92 MB / 1.067 GB, free: 98.26 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04924/2.547, allocations: 17.69 MB / 1.085 GB, free: 82.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.646e-05/2.547, allocations: 12 kB / 1.085 GB, free: 82.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003546/2.547, allocations: 47.81 kB / 1.085 GB, free: 82.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1032/2.651, allocations: 47.75 MB / 1.131 GB, free: 36.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.365e-05/2.651, allocations: 37.2 kB / 1.131 GB, free: 36.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0235/2.674, allocations: 4.1 MB / 1.135 GB, free: 32.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07474/2.749, allocations: 18.32 MB / 1.153 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003544/2.752, allocations: 0.5699 MB / 1.154 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3382/3.091, allocations: 49.28 MB / 1.202 GB, free: 120.8 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.004964/3.096, allocations: 3.247 MB / 1.205 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05781/3.153, allocations: 20.63 MB / 1.225 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00325/3.157, allocations: 1.067 MB / 1.226 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004104/3.161, allocations: 243.6 kB / 1.226 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01429/3.175, allocations: 0.4968 MB / 1.227 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008242/3.183, allocations: 1.22 MB / 1.228 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006179/3.189, allocations: 1.098 MB / 1.229 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01282/3.202, allocations: 4.945 MB / 1.234 GB, free: 114 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/3.202, allocations: 0 / 1.234 GB, free: 114 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.03366/3.236, allocations: 5.543 MB / 1.239 GB, free: 114 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.005604/3.242, allocations: 0.6699 MB / 1.24 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04898/3.291, allocations: 16.06 MB / 1.256 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.131e-05/3.291, allocations: 4.719 kB / 1.256 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02337/3.314, allocations: 9.509 MB / 1.265 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01409/3.328, allocations: 2.691 MB / 1.268 GB, free: 106.7 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759: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: 5.268807501066476]