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.000663/0.000663, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009018/0.001565, allocations: 440 kB / 10.41 MB, free: 284 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.0007192/0.0007192, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009268/0.001646, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9587/0.9587, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07973/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.08327/0.08327, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01163/0.0949, allocations: 6.978 MB / 268.6 MB, free: 6.281 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.543e-06/1.543e-06, allocations: 0 / 269.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.054e-05, allocations: 2.312 kB / 269.9 MB, free: 4.988 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.1722/0.1722, allocations: 12.86 MB / 282.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1372/0.3094, allocations: 145.2 MB / 427.9 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.3117, allocations: 87.31 kB / 428 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.3147, allocations: 1.262 MB / 429.2 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003801/0.3185, allocations: 1.582 MB / 430.8 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1648/0.4833, allocations: 1.879 MB / 432.7 MB, free: 3.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005381/0.4887, allocations: 3.711 MB / 436.4 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.4898, allocations: 0.6284 MB / 437 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.4939, allocations: 2.027 MB / 439.1 MB, free: 3.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.4968, allocations: 1.369 MB / 440.4 MB, free: 3.395 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000826/0.4976, allocations: 294.2 kB / 440.7 MB, free: 3.395 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.5019, allocations: 1.492 MB / 442.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.5029, allocations: 0.8184 MB / 443 MB, free: 3.176 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.5049, allocations: 0.9395 MB / 444 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.5109, allocations: 3.759 MB / 447.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.828e-05/0.511, allocations: 0 / 447.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.511, allocations: 1.031 kB / 447.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001479/0.5111, allocations: 0 / 447.7 MB, free: 2.438 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.005212/0.5163, allocations: 4.47 MB / 452.2 MB, free: 16.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.5164, allocations: 7.812 kB / 452.2 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.5183, allocations: 1.445 MB / 453.7 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.5202, allocations: 1.28 MB / 454.9 MB, free: 16.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.5204, allocations: 405 kB / 455.3 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.5207, allocations: 303.6 kB / 455.6 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/0.5241, allocations: 3.146 MB / 458.8 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.5242, allocations: 192 / 458.8 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.5243, allocations: 123.1 kB / 458.9 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000341/0.5247, allocations: 445.4 kB / 459.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004073/0.5287, allocations: 4.055 MB / 463.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.5418, allocations: 10.25 MB / 473.6 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.5427, allocations: 0.7291 MB / 474.4 MB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.5432, allocations: 389.6 kB / 474.8 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007321/0.5505, allocations: 5.089 MB / 479.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.5506, allocations: 52.06 kB / 479.9 MB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.176e-06/0.5506, allocations: 0.9375 kB / 479.9 MB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=151): time 0.03061/0.5812, allocations: 9.673 MB / 489.6 MB, free: 8.863 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.001608/0.5828, allocations: 0.8837 MB / 490.5 MB, free: 8.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.5842, allocations: 1.308 MB / 491.8 MB, free: 7.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.5845, allocations: 49.7 kB / 491.8 MB, free: 7.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/0.5852, allocations: 1.498 MB / 493.3 MB, free: 6.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.5858, allocations: 0.5386 MB / 493.8 MB, free: 5.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008145/0.5866, allocations: 484.5 kB / 494.3 MB, free: 5.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.5867, allocations: 305.1 kB / 494.6 MB, free: 5.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.5879, allocations: 0.5851 MB / 495.2 MB, free: 4.742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.5894, allocations: 1.326 MB / 496.5 MB, free: 3.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.5928, allocations: 2.248 MB / 498.8 MB, free: 1.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.5928, allocations: 8 kB / 498.8 MB, free: 1.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.005985/0.5988, allocations: 2.419 MB / 0.4895 GB, free: 15.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.5988, allocations: 17.12 kB / 0.4895 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.5988, allocations: 24 kB / 0.4895 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.609, allocations: 2.524 MB / 0.492 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006997/0.616, allocations: 1.403 MB / 0.4933 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.6236, allocations: 6.376 MB / 0.4996 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.6254, allocations: 93.34 kB / 0.4996 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/0.6259, allocations: 301.8 kB / 0.4999 GB, free: 5.531 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.001204/0.6271, allocations: 251.2 kB / 0.5002 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006383/0.6278, allocations: 195.7 kB / 0.5004 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007573/0.6354, allocations: 2.902 MB / 0.5032 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.6354, allocations: 16 kB / 0.5032 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.6354, allocations: 8 kB / 0.5032 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.6354, allocations: 11.91 kB / 0.5032 GB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008357/0.6437, allocations: 4.429 MB / 0.5076 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6438, allocations: 4 kB / 0.5076 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003674/0.6474, allocations: 1.015 MB / 0.5085 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.6478, allocations: 177.3 kB / 0.5087 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008601/0.6564, allocations: 2.998 MB / 0.5116 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/0.6566, allocations: 71.89 kB / 0.5117 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006484/0.6631, allocations: 6.975 MB / 0.5185 GB, free: 2.473 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.0008468/0.664, allocations: 0.7404 MB / 0.5192 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/0.6683, allocations: 2.278 MB / 0.5215 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.6686, allocations: 39.94 kB / 0.5215 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.6692, allocations: 51.98 kB / 0.5216 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.6695, allocations: 152.1 kB / 0.5217 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.6697, allocations: 163.9 kB / 0.5219 GB, free: 15.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006712/0.6703, allocations: 0.6879 MB / 0.5225 GB, free: 14.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6703, allocations: 0 / 0.5225 GB, free: 14.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002273/0.6726, allocations: 0.7848 MB / 0.5233 GB, free: 13.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.0006761/0.6733, allocations: 404.1 kB / 0.5237 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004193/0.6775, allocations: 2.181 MB / 0.5258 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.642e-05/0.6776, allocations: 33.81 kB / 0.5258 GB, free: 11.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.6802, allocations: 1.501 MB / 0.5273 GB, free: 9.562 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.6826, allocations: 3.304 MB / 0.5305 GB, free: 5.715 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633: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.1370144290849566]