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.0009788/0.0009788, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001206/0.001206, allocations: 173.7 kB / 23.28 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 1.051/1.051, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.08463/0.08463, allocations: 17.46 MB / 277.7 MB, free: 11.42 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.573e-06/1.573e-06, allocations: 3.938 kB / 354 MB, free: 9.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.665e-05, allocations: 6.312 kB / 354 MB, free: 9.582 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.04693/0.04694, allocations: 36.36 MB / 390.4 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2796/0.3265, allocations: 142.3 MB / 0.5202 GB, free: 6.137 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.3288, allocations: 83.31 kB / 0.5202 GB, free: 6.055 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.3321, allocations: 1.217 MB / 0.5214 GB, free: 4.859 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.3362, allocations: 1.606 MB / 0.523 GB, free: 3.242 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.3404, allocations: 1.867 MB / 0.5248 GB, free: 1.367 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004068/0.3445, allocations: 3.748 MB / 0.5285 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.3452, allocations: 0.6011 MB / 0.5291 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.3472, allocations: 1.906 MB / 0.5309 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.3488, allocations: 1.418 MB / 0.5323 GB, free: 9.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004117/0.3492, allocations: 296 kB / 0.5326 GB, free: 9.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.3519, allocations: 1.478 MB / 0.534 GB, free: 7.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.3524, allocations: 0.9693 MB / 0.535 GB, free: 6.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009004/0.3533, allocations: 1.091 MB / 0.5361 GB, free: 5.789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.3576, allocations: 4.052 MB / 0.54 GB, free: 1.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3576, allocations: 0 / 0.54 GB, free: 1.723 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3576, allocations: 0 / 0.54 GB, free: 1.723 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.518e-05/0.3577, allocations: 7.984 kB / 0.54 GB, free: 1.715 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.003702/0.3614, allocations: 4.144 MB / 0.5441 GB, free: 13.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3614, allocations: 8.031 kB / 0.5441 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.363, allocations: 1.5 MB / 0.5455 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.3647, allocations: 1.871 MB / 0.5474 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.3649, allocations: 408.8 kB / 0.5478 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.3652, allocations: 300.3 kB / 0.548 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.3679, allocations: 2.936 MB / 0.5509 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.3679, allocations: 192 / 0.5509 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.368, allocations: 120.3 kB / 0.551 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003084/0.3683, allocations: 467 kB / 0.5515 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.3718, allocations: 4.254 MB / 0.5556 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2295/0.6013, allocations: 12.2 MB / 0.5675 GB, free: 26.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.6024, allocations: 0.8276 MB / 0.5683 GB, free: 26.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005784/0.603, allocations: 494.7 kB / 0.5688 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007656/0.6106, allocations: 6.146 MB / 0.5748 GB, free: 26.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.6107, allocations: 47.48 kB / 0.5749 GB, free: 26.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 4.739e-06/0.6107, allocations: 7.828 kB / 0.5749 GB, free: 26.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.03644/0.6471, allocations: 11.67 MB / 0.5863 GB, free: 24.88 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.001094/0.6482, allocations: 1.06 MB / 0.5873 GB, free: 24.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.6498, allocations: 1.712 MB / 0.589 GB, free: 23.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004266/0.6502, allocations: 54.89 kB / 0.589 GB, free: 23.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008714/0.6511, allocations: 1.917 MB / 0.5909 GB, free: 23.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.6516, allocations: 0.6098 MB / 0.5915 GB, free: 22.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00092/0.6525, allocations: 0.6642 MB / 0.5921 GB, free: 22.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.6526, allocations: 480.4 kB / 0.5926 GB, free: 22.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.6538, allocations: 0.9064 MB / 0.5935 GB, free: 22.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.6554, allocations: 2.009 MB / 0.5955 GB, free: 20.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/0.6589, allocations: 3.235 MB / 0.5986 GB, free: 19.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.659, allocations: 7.188 kB / 0.5986 GB, free: 19.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.006692/0.6657, allocations: 3.745 MB / 0.6023 GB, free: 19.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.6657, allocations: 16.59 kB / 0.6023 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.6657, allocations: 30.58 kB / 0.6023 GB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007754/0.6735, allocations: 2.469 MB / 0.6047 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005611/0.6791, allocations: 1.212 MB / 0.6059 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.6853, allocations: 8.977 MB / 0.6147 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.6877, allocations: 105.1 kB / 0.6148 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/0.6881, allocations: 382.3 kB / 0.6151 GB, free: 10.39 MB / 426.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 (254): * Single equations (assignments): 249 * 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.001415/0.6895, allocations: 302.5 kB / 0.6154 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006708/0.6902, allocations: 290.5 kB / 0.6157 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006936/0.6971, allocations: 4.208 MB / 0.6198 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.6971, allocations: 23.92 kB / 0.6198 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6971, allocations: 4 kB / 0.6198 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.6972, allocations: 12.05 kB / 0.6199 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009771/0.7069, allocations: 6.589 MB / 0.6263 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.7069, allocations: 4 kB / 0.6263 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003894/0.7108, allocations: 0.8454 MB / 0.6271 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008866/0.7197, allocations: 2.755 MB / 0.6298 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004067/0.7201, allocations: 103.9 kB / 0.6299 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007892/0.728, allocations: 9.666 MB / 0.6394 GB, free: 2.438 MB / 442.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.001034/0.729, allocations: 0.9308 MB / 0.6403 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/0.7351, allocations: 3.1 MB / 0.6433 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.7357, allocations: 189.2 kB / 0.6435 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.736, allocations: 39.88 kB / 0.6435 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.7367, allocations: 62.66 kB / 0.6436 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/0.737, allocations: 199.6 kB / 0.6438 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/0.7372, allocations: 181.1 kB / 0.6439 GB, free: 13.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.7384, allocations: 0.9376 MB / 0.6448 GB, free: 12.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7384, allocations: 0 / 0.6448 GB, free: 12.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002848/0.7412, allocations: 0.8668 MB / 0.6457 GB, free: 11.94 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.0007171/0.7419, allocations: 451.8 kB / 0.6461 GB, free: 11.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005427/0.7474, allocations: 2.949 MB / 0.649 GB, free: 8.672 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7474, allocations: 7.188 kB / 0.649 GB, free: 8.668 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.7503, allocations: 1.633 MB / 0.6506 GB, free: 7.039 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.752, allocations: 0.5606 MB / 0.6512 GB, free: 6.512 MB / 458.7 MB [/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 659] [Calling sys.exit(0), Time elapsed: 2.531554713845253]