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.0009189/0.0009189, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009385/0.0009385, allocations: 169 kB / 23.49 MB, free: 1.059 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.9571/0.9571, allocations: 177.1 MB / 203.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09615/0.09615, allocations: 17.46 MB / 277.7 MB, free: 11.6 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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.583e-06/1.583e-06, allocations: 0 / 353.5 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.962e-05, allocations: 10.25 kB / 353.6 MB, free: 10.16 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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.03705/0.03708, allocations: 36.43 MB / 390 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3052/0.3423, allocations: 144.6 MB / 0.5221 GB, free: 4.332 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.3458, allocations: 83.31 kB / 0.5222 GB, free: 4.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003386/0.3492, allocations: 1.21 MB / 0.5234 GB, free: 3.059 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.3534, allocations: 1.602 MB / 0.5249 GB, free: 1.445 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.3569, allocations: 1.878 MB / 0.5268 GB, free: 15.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.3615, allocations: 3.727 MB / 0.5304 GB, free: 11.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.3625, allocations: 0.6089 MB / 0.531 GB, free: 11.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.3649, allocations: 1.902 MB / 0.5328 GB, free: 9.254 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.3668, allocations: 1.414 MB / 0.5342 GB, free: 7.836 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005478/0.3673, allocations: 296 kB / 0.5345 GB, free: 7.547 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.3706, allocations: 1.481 MB / 0.536 GB, free: 6.062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006611/0.3713, allocations: 0.9732 MB / 0.5369 GB, free: 5.086 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.373, allocations: 1.091 MB / 0.538 GB, free: 3.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005787/0.3788, allocations: 4.052 MB / 0.5419 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3788, allocations: 0 / 0.5419 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3788, allocations: 0 / 0.5419 GB, free: 15.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001443/0.3789, allocations: 0 / 0.5419 GB, free: 15.92 MB / 426.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.005694/0.3846, allocations: 4.117 MB / 0.546 GB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3846, allocations: 16.03 kB / 0.546 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.3866, allocations: 1.496 MB / 0.5474 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.3886, allocations: 1.875 MB / 0.5493 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.3889, allocations: 412.8 kB / 0.5497 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.3892, allocations: 308.3 kB / 0.5499 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004469/0.3936, allocations: 3.596 MB / 0.5535 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.3937, allocations: 192 / 0.5535 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.3938, allocations: 124.3 kB / 0.5536 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003544/0.3942, allocations: 467 kB / 0.554 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.228/0.6222, allocations: 5.346 MB / 0.5592 GB, free: 26.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02085/0.6431, allocations: 12.89 MB / 0.5718 GB, free: 25.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.6448, allocations: 0.9231 MB / 0.5727 GB, free: 25.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.6458, allocations: 0.5722 MB / 0.5733 GB, free: 25.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.6559, allocations: 6.229 MB / 0.5794 GB, free: 24.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6559, allocations: 53.55 kB / 0.5794 GB, free: 24.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.627e-06/0.6559, allocations: 0.75 kB / 0.5794 GB, free: 24.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.04414/0.7, allocations: 13.1 MB / 0.5922 GB, free: 23.05 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.001181/0.7012, allocations: 1.06 MB / 0.5932 GB, free: 22.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.7032, allocations: 1.733 MB / 0.5949 GB, free: 22.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004251/0.7036, allocations: 55.39 kB / 0.595 GB, free: 22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009187/0.7045, allocations: 1.893 MB / 0.5968 GB, free: 21.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.705, allocations: 0.6043 MB / 0.5974 GB, free: 20.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009188/0.7059, allocations: 0.6538 MB / 0.5981 GB, free: 20.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.706, allocations: 477.4 kB / 0.5985 GB, free: 19.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.7077, allocations: 1.002 MB / 0.5995 GB, free: 19.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.7098, allocations: 2.102 MB / 0.6016 GB, free: 18.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.7141, allocations: 3.432 MB / 0.6049 GB, free: 16.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.872e-05/0.7141, allocations: 7.281 kB / 0.6049 GB, free: 16.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007694/0.7218, allocations: 3.975 MB / 0.6088 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.7219, allocations: 17.09 kB / 0.6088 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.7219, allocations: 30.19 kB / 0.6088 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008532/0.7304, allocations: 2.545 MB / 0.6113 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005849/0.7363, allocations: 1.236 MB / 0.6125 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.7428, allocations: 9.125 MB / 0.6214 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.7451, allocations: 133.4 kB / 0.6216 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004668/0.7456, allocations: 408.6 kB / 0.622 GB, free: 3.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 4 (water_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * 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.00143/0.747, allocations: 301.9 kB / 0.6223 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006974/0.7477, allocations: 294.6 kB / 0.6225 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008766/0.7565, allocations: 4.553 MB / 0.627 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.7565, allocations: 16 kB / 0.627 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.7565, allocations: 8 kB / 0.627 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.7565, allocations: 7.969 kB / 0.627 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.7705, allocations: 7.484 MB / 0.6343 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.7705, allocations: 4 kB / 0.6343 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004229/0.7748, allocations: 0.8429 MB / 0.6351 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009604/0.7844, allocations: 2.838 MB / 0.6379 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004051/0.7848, allocations: 107.9 kB / 0.638 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008909/0.7937, allocations: 9.852 MB / 0.6476 GB, free: 9.336 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.001067/0.7947, allocations: 0.9286 MB / 0.6485 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007093/0.8018, allocations: 3.463 MB / 0.6519 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.8023, allocations: 191.7 kB / 0.6521 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.8026, allocations: 35.95 kB / 0.6521 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.8032, allocations: 59.97 kB / 0.6522 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/0.8036, allocations: 202.3 kB / 0.6524 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/0.8038, allocations: 187.9 kB / 0.6526 GB, free: 4.168 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001098/0.8049, allocations: 1.027 MB / 0.6536 GB, free: 3.117 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8049, allocations: 4 kB / 0.6536 GB, free: 3.113 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002471/0.8074, allocations: 0.859 MB / 0.6544 GB, free: 2.254 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (135): * Single equations (assignments): 130 * 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,17), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007048/0.8081, allocations: 435 kB / 0.6548 GB, free: 1.895 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006362/0.8145, allocations: 3.163 MB / 0.6579 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8145, allocations: 4 kB / 0.6579 GB, free: 14.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003267/0.8177, allocations: 1.761 MB / 0.6596 GB, free: 12.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.8193, allocations: 0.5735 MB / 0.6602 GB, free: 12.45 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695: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 659] [Calling sys.exit(0), Time elapsed: 2.5042902631685138]