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.0008252/0.0008252, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0008224/0.0008224, allocations: 181 kB / 23.36 MB, free: 1.125 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 0.9463/0.9463, 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.0899/0.0899, allocations: 17.38 MB / 277.6 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.482e-06/1.482e-06, allocations: 0 / 300.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.57e-05, allocations: 4.344 kB / 300.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.041/0.04101, allocations: 51.37 MB / 352 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3763/0.4173, allocations: 152.7 MB / 0.4929 GB, free: 1.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0106/0.4279, allocations: 166.3 kB / 0.4931 GB, free: 1.371 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008904/0.4368, allocations: 3.362 MB / 0.4963 GB, free: 116 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01486/0.4517, allocations: 5.136 MB / 0.5014 GB, free: 14.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009639/0.4613, allocations: 4.08 MB / 0.5053 GB, free: 11.66 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02318/0.4845, allocations: 15.96 MB / 0.5209 GB, free: 2.137 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005561/0.49, allocations: 3.599 MB / 0.5244 GB, free: 44 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01784/0.5079, allocations: 8.871 MB / 0.5331 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.518, allocations: 5.153 MB / 0.5381 GB, free: 7.613 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004541/0.5225, allocations: 1.543 MB / 0.5396 GB, free: 7.613 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009611/0.5321, allocations: 2.688 MB / 0.5423 GB, free: 6.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006212/0.5383, allocations: 4.779 MB / 0.5469 GB, free: 1.863 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.5502, allocations: 5.374 MB / 0.5522 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02445/0.5746, allocations: 15.03 MB / 0.5669 GB, free: 14.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.5746, allocations: 0 / 0.5669 GB, free: 14.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5746, allocations: 0 / 0.5669 GB, free: 14.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008734/0.5755, allocations: 0 / 0.5669 GB, free: 14.86 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.02521/0.6007, allocations: 17.06 MB / 0.5835 GB, free: 14.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6008, allocations: 8.031 kB / 0.5835 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.6124, allocations: 6.933 MB / 0.5903 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/0.634, allocations: 5.054 MB / 0.5952 GB, free: 2.996 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008479/0.6425, allocations: 2.678 MB / 0.5979 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005436/0.648, allocations: 1.486 MB / 0.5993 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.6699, allocations: 18.68 MB / 0.6175 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002087/0.6701, allocations: 192 / 0.6175 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008262/0.6709, allocations: 0.6058 MB / 0.6181 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002149/0.6731, allocations: 2.457 MB / 0.6205 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4145/1.088, allocations: 21.66 MB / 0.6417 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09739/1.185, allocations: 63.28 MB / 0.7035 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00869/1.194, allocations: 3.677 MB / 0.7071 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006491/1.2, allocations: 2.002 MB / 0.709 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/1.202, allocations: 0.8351 MB / 0.7099 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/1.202, allocations: 106.5 kB / 0.71 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=650): time 8.436e-06/1.202, allocations: 1.094 kB / 0.71 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=956): time 0.2953/1.497, allocations: 72.32 MB / 0.7806 GB, free: 2.211 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.007228/1.504, allocations: 4.049 MB / 0.7845 GB, free: 14.17 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.515, allocations: 5.931 MB / 0.7903 GB, free: 9.336 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.00995/1.525, allocations: 181.6 kB / 0.7905 GB, free: 9.156 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.006677/1.532, allocations: 6.454 MB / 0.7968 GB, free: 3.523 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.01199/1.544, allocations: 3.345 MB / 0.8001 GB, free: 388 kB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02457/1.568, allocations: 2.569 MB / 0.8026 GB, free: 14.02 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/1.568, allocations: 305.1 kB / 0.8029 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01721/1.585, allocations: 4.949 MB / 0.8077 GB, free: 8.758 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01646/1.602, allocations: 6.692 MB / 0.8142 GB, free: 1.684 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4481/2.05, allocations: 18.58 MB / 0.8324 GB, free: 129.4 MB / 0.5731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.23e-05/2.05, allocations: 16.81 kB / 0.8324 GB, free: 129.4 MB / 0.5731 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.04501/2.095, allocations: 15.75 MB / 0.8478 GB, free: 128.9 MB / 0.5731 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/2.095, allocations: 30 kB / 0.8478 GB, free: 128.9 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.849e-05/2.095, allocations: 43.22 kB / 0.8478 GB, free: 128.9 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05232/2.148, allocations: 17.95 MB / 0.8654 GB, free: 128.3 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03372/2.181, allocations: 6.374 MB / 0.8716 GB, free: 128.3 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02665/2.208, allocations: 28.07 MB / 0.899 GB, free: 111 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01326/2.221, allocations: 0.4887 MB / 0.8995 GB, free: 111 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005121/2.226, allocations: 2.312 MB / 0.9018 GB, free: 111 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.01046/2.237, allocations: 0.6428 MB / 0.9024 GB, free: 110.9 MB / 0.5731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005738/2.242, allocations: 0.8198 MB / 0.9032 GB, free: 110.9 MB / 0.5731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05413/2.297, allocations: 22.39 MB / 0.925 GB, free: 98.15 MB / 0.5731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03538/2.332, allocations: 11.66 MB / 0.9364 GB, free: 86.53 MB / 0.5731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-05/2.332, allocations: 12 kB / 0.9364 GB, free: 86.52 MB / 0.5731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001633/2.332, allocations: 47.81 kB / 0.9365 GB, free: 86.47 MB / 0.5731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06905/2.401, allocations: 32.33 MB / 0.9681 GB, free: 54.98 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.416e-05/2.401, allocations: 40 kB / 0.9681 GB, free: 54.95 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01722/2.419, allocations: 3.789 MB / 0.9718 GB, free: 51.24 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05711/2.476, allocations: 17.29 MB / 0.9887 GB, free: 34.15 MB / 0.5731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00284/2.478, allocations: 431.6 kB / 0.9891 GB, free: 33.73 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03767/2.516, allocations: 35.1 MB / 1.023 GB, free: 13.91 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.005077/2.521, allocations: 2.645 MB / 1.026 GB, free: 11.26 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3043/2.826, allocations: 15.49 MB / 1.041 GB, free: 125.8 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002649/2.828, allocations: 0.9257 MB / 1.042 GB, free: 125.8 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003186/2.831, allocations: 244.3 kB / 1.042 GB, free: 125.8 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005795/2.837, allocations: 293.9 kB / 1.043 GB, free: 125.8 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003502/2.841, allocations: 1.071 MB / 1.044 GB, free: 125.8 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002262/2.843, allocations: 0.9818 MB / 1.045 GB, free: 125.8 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.006165/2.849, allocations: 3.498 MB / 1.048 GB, free: 125.6 MB / 0.5888 GB Notification: Performance of sort global known variables: time 6.01e-07/2.849, allocations: 0 / 1.048 GB, free: 125.6 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01891/2.868, allocations: 5.547 MB / 1.053 GB, free: 125.6 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.003034/2.871, allocations: 0.664 MB / 1.054 GB, free: 125.5 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.03215/2.903, allocations: 12.74 MB / 1.066 GB, free: 124.1 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 0.0002848/2.903, allocations: 90.19 kB / 1.067 GB, free: 124.1 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.01985/2.923, allocations: 7.431 MB / 1.074 GB, free: 122.4 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01366/2.937, allocations: 2.523 MB / 1.076 GB, free: 122.2 MB / 0.5888 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.597468668129295]