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.001418/0.001418, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001549/0.001549, allocations: 223.9 kB / 22.25 MB, free: 5.102 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.824 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.1417/0.1417, allocations: 23.92 MB / 336.3 MB, free: 10.95 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.002145/0.002145, allocations: 67.84 kB / 471.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4156, allocations: 59.88 MB / 0.5191 GB, free: 9.766 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.08293/0.4986, allocations: 31.47 MB / 0.5498 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1986/0.6972, allocations: 129.6 MB / 0.6763 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/0.701, allocations: 51.69 kB / 0.6764 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.7054, allocations: 1.083 MB / 0.6774 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006111/0.7115, allocations: 1.261 MB / 0.6787 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00653/0.718, allocations: 1.54 MB / 0.6802 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007735/0.7258, allocations: 3.293 MB / 0.6834 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.7272, allocations: 0.6122 MB / 0.684 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.7295, allocations: 1.175 MB / 0.6851 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.7325, allocations: 1.626 MB / 0.6867 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004945/0.733, allocations: 288 kB / 0.687 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.737, allocations: 1.17 MB / 0.6881 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009347/0.7379, allocations: 0.8602 MB / 0.689 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.7395, allocations: 1.27 MB / 0.6902 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008307/0.7478, allocations: 5.09 MB / 0.6952 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.7478, allocations: 3.938 kB / 0.6952 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7478, allocations: 0 / 0.6952 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.524e-05/0.7478, allocations: 0 / 0.6952 GB, free: 4.902 MB / 0.5294 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.00659/0.7544, allocations: 3.665 MB / 0.6988 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.7545, allocations: 12.03 kB / 0.6988 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.7567, allocations: 0.6971 MB / 0.6995 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.759, allocations: 1.297 MB / 0.7007 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/0.7593, allocations: 404.6 kB / 0.7011 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004237/0.7598, allocations: 292.3 kB / 0.7014 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.7723, allocations: 9.853 MB / 0.711 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.7724, allocations: 0 / 0.711 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.7726, allocations: 120 kB / 0.7111 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005323/0.7732, allocations: 466.9 kB / 0.7116 GB, free: 3.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.7958, allocations: 18.11 MB / 0.7293 GB, free: 1.836 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.3216/1.117, allocations: 15.77 MB / 0.7447 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/1.121, allocations: 2.178 MB / 0.7468 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/1.123, allocations: 1.579 MB / 0.7483 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01575/1.139, allocations: 7.525 MB / 0.7557 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.139, allocations: 49.06 kB / 0.7557 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 3.727e-06/1.139, allocations: 0 / 0.7557 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.08789/1.227, allocations: 20.48 MB / 0.7757 GB, free: 162.4 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.002345/1.229, allocations: 0.98 MB / 0.7767 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/1.231, allocations: 1.636 MB / 0.7783 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008656/1.232, allocations: 53.7 kB / 0.7783 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007418/1.233, allocations: 1.714 MB / 0.78 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006624/1.233, allocations: 0.5999 MB / 0.7806 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/1.235, allocations: 0.6523 MB / 0.7812 GB, free: 157 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.981e-05/1.235, allocations: 301.1 kB / 0.7815 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003162/1.238, allocations: 2.477 MB / 0.7839 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/1.241, allocations: 3.238 MB / 0.7871 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/1.248, allocations: 5.818 MB / 0.7928 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.248, allocations: 8 kB / 0.7928 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01329/1.261, allocations: 6.94 MB / 0.7996 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.261, allocations: 16 kB / 0.7996 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.611e-05/1.261, allocations: 24 kB / 0.7996 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01567/1.277, allocations: 2.783 MB / 0.8023 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/1.289, allocations: 1.139 MB / 0.8034 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.301, allocations: 8.695 MB / 0.8119 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/1.305, allocations: 128.4 kB / 0.8121 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000633/1.306, allocations: 417.3 kB / 0.8125 GB, free: 124 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.002686/1.309, allocations: 0.8782 MB / 0.8133 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008454/1.309, allocations: 210.6 kB / 0.8135 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.325, allocations: 6.811 MB / 0.8202 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/1.325, allocations: 18.69 kB / 0.8202 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.325, allocations: 0 / 0.8202 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/1.325, allocations: 15.91 kB / 0.8202 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.345, allocations: 8.951 MB / 0.8289 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.345, allocations: 4 kB / 0.8289 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008887/1.354, allocations: 0.7282 MB / 0.8296 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01664/1.371, allocations: 2.938 MB / 0.8325 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006087/1.371, allocations: 95.94 kB / 0.8326 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/1.385, allocations: 9.679 MB / 0.8421 GB, free: 93.33 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.002071/1.387, allocations: 0.7331 MB / 0.8428 GB, free: 92.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.401, allocations: 6.262 MB / 0.8489 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/1.402, allocations: 178.6 kB / 0.8491 GB, free: 86.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/1.402, allocations: 43.89 kB / 0.8491 GB, free: 86.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.404, allocations: 66.55 kB / 0.8492 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004993/1.404, allocations: 185 kB / 0.8493 GB, free: 85.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/1.404, allocations: 179.9 kB / 0.8495 GB, free: 85.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001587/1.406, allocations: 1.402 MB / 0.8509 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.406, allocations: 0 / 0.8509 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003239/1.409, allocations: 0.816 MB / 0.8517 GB, free: 83.38 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 {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008402/1.41, allocations: 433.3 kB / 0.8521 GB, free: 82.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.421, allocations: 4.722 MB / 0.8567 GB, free: 78.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.421, allocations: 3.938 kB / 0.8567 GB, free: 78.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006867/1.428, allocations: 2.128 MB / 0.8588 GB, free: 76.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.43, allocations: 456.4 kB / 0.8592 GB, free: 75.65 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.0499145411886275] Failed to read output from testmodel.py, exit status != 0: 1.4395985128358006 1.448714722 0.698580097 Calling exit ...