Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0009742/0.0009742, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002347, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.001059/0.001059, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.002169, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9838/0.9838, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09662/1.08, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08669/0.08669, allocations: 17.44 MB / 261.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01093/0.09761, allocations: 6.981 MB / 268.6 MB, free: 6.305 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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_master_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 269.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.008e-05, allocations: 2.312 kB / 269.9 MB, free: 5.008 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1586:5-1586:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1586:5-1586:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1842:5-1842:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1842:5-1842:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_): time 0.1435/0.1436, allocations: 12.85 MB / 282.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.3008, allocations: 145.2 MB / 427.9 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.3037, allocations: 87.31 kB / 428 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.307, allocations: 1.262 MB / 429.2 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.3118, allocations: 1.586 MB / 430.8 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.18/0.4918, allocations: 1.879 MB / 432.7 MB, free: 3.926 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005831/0.4977, allocations: 3.709 MB / 436.4 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.4988, allocations: 0.6361 MB / 437.1 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.502, allocations: 2.02 MB / 439.1 MB, free: 3.457 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.5042, allocations: 1.39 MB / 440.5 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006075/0.5048, allocations: 294.2 kB / 440.7 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.5083, allocations: 1.509 MB / 442.3 MB, free: 3.262 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007111/0.509, allocations: 0.821 MB / 443.1 MB, free: 3.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.5102, allocations: 0.9391 MB / 444 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.5149, allocations: 3.76 MB / 447.8 MB, free: 2.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.209e-05/0.515, allocations: 4.031 kB / 447.8 MB, free: 2.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.515, allocations: 0 / 447.8 MB, free: 2.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001352/0.5151, allocations: 0 / 447.8 MB, free: 2.371 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 932 * Number of variables: 932 Notification: Performance of Generate backend data structure: time 0.004393/0.5195, allocations: 4.467 MB / 452.2 MB, free: 16.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.5195, allocations: 8.594 kB / 452.3 MB, free: 16.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.5209, allocations: 1.446 MB / 453.7 MB, free: 16.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.5224, allocations: 1.275 MB / 455 MB, free: 16.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.5226, allocations: 404.6 kB / 455.4 MB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.5228, allocations: 302.5 kB / 455.7 MB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.5252, allocations: 3.15 MB / 458.8 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.5253, allocations: 192 / 458.8 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.5254, allocations: 121.8 kB / 458.9 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.5257, allocations: 447.9 kB / 459.4 MB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.5287, allocations: 4.057 MB / 463.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.5388, allocations: 10.25 MB / 473.7 MB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.5396, allocations: 0.7259 MB / 474.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.5401, allocations: 387 kB / 474.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006431/0.5465, allocations: 5.095 MB / 479.9 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5466, allocations: 47.09 kB / 479.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 2.404e-06/0.5466, allocations: 0.8438 kB / 479.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=151): time 0.03116/0.5777, allocations: 9.989 MB / 489.9 MB, free: 8.68 MB / 426.7 MB 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.001045/0.5788, allocations: 0.8845 MB / 490.8 MB, free: 7.902 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.5798, allocations: 1.306 MB / 492.1 MB, free: 7.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.5799, allocations: 54.64 kB / 492.2 MB, free: 7.082 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000642/0.5805, allocations: 1.493 MB / 493.7 MB, free: 5.953 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.5809, allocations: 0.5445 MB / 494.2 MB, free: 5.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/0.5815, allocations: 490.2 kB / 494.7 MB, free: 5.301 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.5816, allocations: 301.1 kB / 495 MB, free: 5.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009251/0.5825, allocations: 0.5668 MB / 495.5 MB, free: 4.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.5837, allocations: 1.307 MB / 496.8 MB, free: 3.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.5861, allocations: 2.217 MB / 499.1 MB, free: 1.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.5861, allocations: 9.031 kB / 499.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005063/0.5912, allocations: 2.481 MB / 0.4898 GB, free: 15.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5912, allocations: 17.09 kB / 0.4898 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.5912, allocations: 24 kB / 0.4898 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007627/0.5988, allocations: 2.576 MB / 0.4924 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005989/0.6048, allocations: 1.476 MB / 0.4938 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/0.6107, allocations: 6.416 MB / 0.5001 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.612, allocations: 105.2 kB / 0.5002 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/0.6123, allocations: 299.4 kB / 0.5004 GB, free: 5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (CO2_g_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,water_25.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,16), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008986/0.6132, allocations: 251 kB / 0.5007 GB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.6136, allocations: 202.6 kB / 0.5009 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006269/0.6198, allocations: 3.128 MB / 0.5039 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6198, allocations: 19.98 kB / 0.504 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6199, allocations: 4 kB / 0.504 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6199, allocations: 11.91 kB / 0.504 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00827/0.6281, allocations: 4.52 MB / 0.5084 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.6281, allocations: 8 kB / 0.5084 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0051/0.6332, allocations: 1.108 MB / 0.5095 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.6335, allocations: 169.5 kB / 0.5096 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009476/0.643, allocations: 3.099 MB / 0.5127 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003425/0.6433, allocations: 67.94 kB / 0.5127 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007477/0.6508, allocations: 7.055 MB / 0.5196 GB, free: 1.352 MB / 458.7 MB 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.0009499/0.6517, allocations: 0.7375 MB / 0.5203 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005623/0.6574, allocations: 2.433 MB / 0.5227 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.6578, allocations: 35.94 kB / 0.5227 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007459/0.6585, allocations: 55.97 kB / 0.5228 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.6588, allocations: 152.9 kB / 0.5229 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/0.659, allocations: 155.9 kB / 0.5231 GB, free: 13.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000699/0.6597, allocations: 0.6893 MB / 0.5238 GB, free: 13.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6597, allocations: 4 kB / 0.5238 GB, free: 13.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002406/0.6621, allocations: 0.7926 MB / 0.5245 GB, free: 12.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 ($STATESET1.x,CO2_dissolutionP.rear.n_flow,CO2_25.logn,water_25.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006404/0.6627, allocations: 401.6 kB / 0.5249 GB, free: 11.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00498/0.6677, allocations: 2.274 MB / 0.5271 GB, free: 9.723 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.036e-05/0.6678, allocations: 29.81 kB / 0.5272 GB, free: 9.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003881/0.6717, allocations: 1.649 MB / 0.5288 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.674, allocations: 3.31 MB / 0.532 GB, free: 4.184 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.183802107349038]