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.0009038/0.0009038, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009429/0.0009429, allocations: 169 kB / 23.27 MB, free: 1.223 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.942/0.942, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.09797/0.09797, allocations: 17.37 MB / 277.6 MB, free: 11.5 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.536e-06/3.536e-06, allocations: 3.984 kB / 353.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.499e-05, allocations: 2.312 kB / 353.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.035/0.03502, allocations: 51.34 MB / 405.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2981/0.3331, allocations: 149.9 MB / 0.5421 GB, free: 6.367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009811/0.3429, allocations: 166.7 kB / 0.5423 GB, free: 6.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008016/0.3509, allocations: 3.203 MB / 0.5454 GB, free: 4.762 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.3642, allocations: 5.126 MB / 0.5504 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009941/0.3742, allocations: 4.027 MB / 0.5543 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01831/0.3925, allocations: 15.97 MB / 0.5699 GB, free: 1.812 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005451/0.3979, allocations: 3.412 MB / 0.5733 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/0.413, allocations: 8.876 MB / 0.5819 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008563/0.4216, allocations: 5.157 MB / 0.587 GB, free: 240 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003412/0.425, allocations: 1.543 MB / 0.5885 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006832/0.4318, allocations: 2.681 MB / 0.5911 GB, free: 12.01 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003294/0.4351, allocations: 4.781 MB / 0.5958 GB, free: 7.211 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008393/0.4435, allocations: 5.376 MB / 0.601 GB, free: 1.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3712/0.8148, allocations: 15.02 MB / 0.6157 GB, free: 25.78 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.8148, allocations: 0 / 0.6157 GB, free: 25.78 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.8148, allocations: 0 / 0.6157 GB, free: 25.78 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0007985/0.8156, allocations: 0 / 0.6157 GB, free: 25.78 MB / 458.8 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.02375/0.8393, allocations: 18.58 MB / 0.6338 GB, free: 18.75 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.8394, allocations: 10.62 kB / 0.6338 GB, free: 18.75 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/0.8524, allocations: 7.66 MB / 0.6413 GB, free: 17.51 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.8633, allocations: 6.351 MB / 0.6475 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002688/0.866, allocations: 2.685 MB / 0.6501 GB, free: 14.76 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/0.8689, allocations: 1.488 MB / 0.6516 GB, free: 14.74 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/0.8955, allocations: 18.4 MB / 0.6696 GB, free: 11.75 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002298/0.8957, allocations: 192 / 0.6696 GB, free: 11.75 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/0.897, allocations: 0.6039 MB / 0.6701 GB, free: 11.18 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001715/0.8987, allocations: 2.451 MB / 0.6725 GB, free: 9.047 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0293/0.928, allocations: 22.1 MB / 0.6941 GB, free: 4.793 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1248/1.053, allocations: 75.89 MB / 0.7682 GB, free: 11.8 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00999/1.063, allocations: 4.274 MB / 0.7724 GB, free: 7.617 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007099/1.07, allocations: 2.578 MB / 0.7749 GB, free: 5.051 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/1.072, allocations: 0.9682 MB / 0.7759 GB, free: 4.105 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.155e-05/1.072, allocations: 102.5 kB / 0.776 GB, free: 4 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=650): time 1.056e-05/1.072, allocations: 1 kB / 0.776 GB, free: 4 MB / 0.5418 GB Notification: Performance of matching and sorting (n=956): time 0.4912/1.563, allocations: 74.3 MB / 0.8485 GB, free: 141.3 MB / 0.573 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.006214/1.569, allocations: 4.897 MB / 0.8533 GB, free: 139 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007304/1.576, allocations: 6.536 MB / 0.8597 GB, free: 138.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.003599/1.58, allocations: 172.5 kB / 0.8598 GB, free: 138.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003825/1.584, allocations: 8.415 MB / 0.8681 GB, free: 134.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005503/1.589, allocations: 3.347 MB / 0.8713 GB, free: 132.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01162/1.601, allocations: 3.323 MB / 0.8746 GB, free: 132.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/1.601, allocations: 482 kB / 0.875 GB, free: 132.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01402/1.615, allocations: 5.793 MB / 0.8807 GB, free: 132 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01616/1.631, allocations: 8.14 MB / 0.8886 GB, free: 125.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0346/1.666, allocations: 20.74 MB / 0.9089 GB, free: 106.9 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-05/1.666, allocations: 12 kB / 0.9089 GB, free: 106.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.04427/1.71, allocations: 20.48 MB / 0.9289 GB, free: 88.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/1.71, allocations: 24 kB / 0.9289 GB, free: 88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/1.71, allocations: 46.62 kB / 0.929 GB, free: 87.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06129/1.771, allocations: 17.96 MB / 0.9465 GB, free: 69.99 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03856/1.81, allocations: 7.719 MB / 0.9541 GB, free: 62.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03169/1.842, allocations: 43.53 MB / 0.9966 GB, free: 18.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/1.855, allocations: 491.3 kB / 0.997 GB, free: 17.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004624/1.859, allocations: 2.406 MB / 0.9994 GB, free: 15.44 MB / 0.573 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): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(6,4), (8,39), (6,4), (6,4), (8,39), (6,4), (6,4), (8,39), (6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.009893/1.869, allocations: 0.6982 MB / 1 GB, free: 14.85 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006119/1.875, allocations: 1.221 MB / 1.001 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.293/2.168, allocations: 26.62 MB / 1.027 GB, free: 133.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0356/2.204, allocations: 15.17 MB / 1.042 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.152e-05/2.204, allocations: 15.86 kB / 1.042 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001572/2.204, allocations: 48.75 kB / 1.042 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08686/2.291, allocations: 42.21 MB / 1.083 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.354e-05/2.291, allocations: 36 kB / 1.083 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01859/2.31, allocations: 4.074 MB / 1.087 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.057/2.367, allocations: 16.73 MB / 1.104 GB, free: 107.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003118/2.37, allocations: 0.5777 MB / 1.104 GB, free: 107.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03474/2.404, allocations: 48.06 MB / 1.151 GB, free: 58.41 MB / 0.573 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.003967/2.408, allocations: 3.229 MB / 1.154 GB, free: 55.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03689/2.445, allocations: 18.5 MB / 1.172 GB, free: 36.42 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/2.448, allocations: 1.038 MB / 1.173 GB, free: 35.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/2.45, allocations: 239.8 kB / 1.174 GB, free: 35.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004183/2.454, allocations: 303.9 kB / 1.174 GB, free: 34.87 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002079/2.457, allocations: 1.215 MB / 1.175 GB, free: 33.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00134/2.458, allocations: 1.036 MB / 1.176 GB, free: 32.65 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004285/2.462, allocations: 4.286 MB / 1.18 GB, free: 28.69 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/2.462, allocations: 0 / 1.18 GB, free: 28.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01619/2.478, allocations: 5.399 MB / 1.186 GB, free: 23.31 MB / 0.573 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.00257/2.481, allocations: 0.688 MB / 1.186 GB, free: 22.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02863/2.51, allocations: 14.2 MB / 1.2 GB, free: 8.824 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.384e-05/2.51, allocations: 10.53 kB / 1.2 GB, free: 8.816 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01729/2.527, allocations: 8.752 MB / 1.209 GB, free: 212 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01145/2.538, allocations: 2.685 MB / 1.211 GB, free: 13.6 MB / 0.5887 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.443825294729322]