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.001345/0.001345, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002317/0.002317, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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.158/0.158, allocations: 23.89 MB / 337.1 MB, free: 11.2 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 67.88 kB / 472.5 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3983, allocations: 59.87 MB / 0.5199 GB, free: 10.05 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1558:5-1558: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:1558:5-1558: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:1816:5-1816: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:1816:5-1816: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.04803/0.4464, allocations: 33.38 MB / 0.5525 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2189/0.6653, allocations: 151.3 MB / 0.7002 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004741/0.67, allocations: 51.75 kB / 0.7002 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004638/0.6746, allocations: 1.161 MB / 0.7014 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006134/0.6808, allocations: 1.257 MB / 0.7026 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.6864, allocations: 1.607 MB / 0.7042 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007652/0.694, allocations: 3.307 MB / 0.7074 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.6955, allocations: 0.6083 MB / 0.708 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.6978, allocations: 1.175 MB / 0.7091 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.7009, allocations: 1.622 MB / 0.7107 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000651/0.7016, allocations: 296 kB / 0.711 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.7067, allocations: 1.74 MB / 0.7127 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.7078, allocations: 0.8485 MB / 0.7135 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.7104, allocations: 1.705 MB / 0.7152 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.7216, allocations: 5.238 MB / 0.7203 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.7216, allocations: 0 / 0.7203 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7216, allocations: 0 / 0.7203 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001251/0.7217, allocations: 4 kB / 0.7203 GB, free: 12.31 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 914 * Number of variables: 914 Notification: Performance of Generate backend data structure: time 0.008094/0.7298, allocations: 3.658 MB / 0.7239 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.7299, allocations: 11.97 kB / 0.7239 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.7314, allocations: 0.6035 MB / 0.7245 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.7338, allocations: 1.293 MB / 0.7258 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/0.7342, allocations: 404.6 kB / 0.7261 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.7346, allocations: 292.3 kB / 0.7264 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3306/1.065, allocations: 9.822 MB / 0.736 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/1.065, allocations: 1.406 kB / 0.736 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/1.066, allocations: 119.4 kB / 0.7361 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005943/1.066, allocations: 459.7 kB / 0.7366 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/1.088, allocations: 18.11 MB / 0.7542 GB, free: 180.9 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/1.113, allocations: 18.04 MB / 0.7719 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/1.116, allocations: 2.156 MB / 0.774 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/1.117, allocations: 1.544 MB / 0.7755 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/1.13, allocations: 8.247 MB / 0.7835 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.13, allocations: 43.56 kB / 0.7836 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 3.887e-06/1.13, allocations: 0 / 0.7836 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.07699/1.207, allocations: 20.4 MB / 0.8035 GB, free: 136 MB / 0.5606 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! Notification: Performance of inlineWhenForInitialization (initialization): time 0.002095/1.21, allocations: 0.975 MB / 0.8044 GB, free: 135 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/1.212, allocations: 2.314 MB / 0.8067 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005188/1.213, allocations: 53.7 kB / 0.8068 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008272/1.213, allocations: 1.707 MB / 0.8084 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005749/1.214, allocations: 0.6004 MB / 0.809 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/1.215, allocations: 0.6471 MB / 0.8096 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/1.215, allocations: 305.1 kB / 0.8099 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/1.218, allocations: 2.441 MB / 0.8123 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/1.221, allocations: 3.205 MB / 0.8154 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006482/1.228, allocations: 5.763 MB / 0.8211 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.228, allocations: 8 kB / 0.8211 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01304/1.241, allocations: 6.926 MB / 0.8278 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/1.241, allocations: 16 kB / 0.8279 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/1.241, allocations: 27.94 kB / 0.8279 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/1.256, allocations: 2.766 MB / 0.8306 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/1.267, allocations: 1.133 MB / 0.8317 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/1.278, allocations: 8.865 MB / 0.8404 GB, free: 97.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/1.282, allocations: 115.9 kB / 0.8405 GB, free: 97.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006972/1.282, allocations: 403.8 kB / 0.8409 GB, free: 96.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (251): * Single equations (assignments): 246 * 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,17), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00202/1.284, allocations: 0.8838 MB / 0.8417 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008113/1.285, allocations: 258.3 kB / 0.842 GB, free: 95.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.3, allocations: 6.793 MB / 0.8486 GB, free: 88.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.3, allocations: 19.94 kB / 0.8486 GB, free: 88.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.3, allocations: 4 kB / 0.8486 GB, free: 88.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/1.3, allocations: 7.969 kB / 0.8486 GB, free: 88.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.32, allocations: 9.863 MB / 0.8583 GB, free: 78.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.32, allocations: 4 kB / 0.8583 GB, free: 78.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0087/1.328, allocations: 0.7166 MB / 0.859 GB, free: 78.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/1.344, allocations: 2.941 MB / 0.8618 GB, free: 75.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/1.345, allocations: 94.64 kB / 0.8619 GB, free: 75.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/1.358, allocations: 9.908 MB / 0.8716 GB, free: 64.8 MB / 0.5606 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! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001886/1.36, allocations: 0.7457 MB / 0.8723 GB, free: 64.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/1.372, allocations: 6.197 MB / 0.8784 GB, free: 57.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/1.373, allocations: 266.3 kB / 0.8786 GB, free: 57.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/1.374, allocations: 39.89 kB / 0.8787 GB, free: 57.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.375, allocations: 51.97 kB / 0.8787 GB, free: 57.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/1.375, allocations: 187.5 kB / 0.8789 GB, free: 57.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.375, allocations: 179.9 kB / 0.8791 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002262/1.378, allocations: 1.922 MB / 0.8809 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.378, allocations: 0 / 0.8809 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003513/1.381, allocations: 0.8277 MB / 0.8818 GB, free: 54.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (132): * Single equations (assignments): 127 * 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.0008546/1.382, allocations: 440.8 kB / 0.8822 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009837/1.392, allocations: 4.641 MB / 0.8867 GB, free: 49.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.392, allocations: 4 kB / 0.8867 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006278/1.398, allocations: 2.097 MB / 0.8888 GB, free: 47.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.401, allocations: 0.5278 MB / 0.8893 GB, free: 46.62 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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: 4.082675451994874] Failed to read output from testmodel.py, exit status != 0: 1.4119126400037203 1.422134532 0.697572355 Calling exit ...