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.002569/0.002569, allocations: 77.5 kB / 19.44 MB, free: 340 kB / 13.93 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.003146/0.003146, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.631/1.631, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.1507/0.1507, allocations: 17.45 MB / 277 MB, free: 11.59 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.844e-06/1.844e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.763e-05, allocations: 2.312 kB / 352.8 MB, free: 10.2 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.05432/0.05435, allocations: 34.18 MB / 387 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3457/0.4, allocations: 144.6 MB / 0.5192 GB, free: 5.934 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.4031, allocations: 83.31 kB / 0.5192 GB, free: 5.852 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.4077, allocations: 1.209 MB / 0.5204 GB, free: 4.664 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006182/0.4138, allocations: 1.59 MB / 0.522 GB, free: 3.062 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.4195, allocations: 1.89 MB / 0.5238 GB, free: 1.164 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007062/0.4265, allocations: 3.726 MB / 0.5275 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.4278, allocations: 0.6011 MB / 0.528 GB, free: 12.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.4309, allocations: 1.902 MB / 0.5299 GB, free: 10.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.4335, allocations: 1.422 MB / 0.5313 GB, free: 9.441 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005287/0.434, allocations: 296 kB / 0.5316 GB, free: 9.152 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.4381, allocations: 1.474 MB / 0.533 GB, free: 7.676 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.4391, allocations: 0.9693 MB / 0.534 GB, free: 6.703 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.441, allocations: 1.102 MB / 0.535 GB, free: 5.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009609/0.4506, allocations: 5.397 MB / 0.5403 GB, free: 188 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4506, allocations: 3.984 kB / 0.5403 GB, free: 184 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4506, allocations: 0 / 0.5403 GB, free: 184 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.4507, allocations: 0 / 0.5403 GB, free: 184 kB / 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.00887/0.4596, allocations: 4.363 MB / 0.5446 GB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4596, allocations: 12.03 kB / 0.5446 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/0.463, allocations: 1.496 MB / 0.546 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/0.4666, allocations: 1.891 MB / 0.5479 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/0.467, allocations: 412.8 kB / 0.5483 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/0.4675, allocations: 304.3 kB / 0.5486 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007653/0.4751, allocations: 3.928 MB / 0.5524 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/0.4752, allocations: 192 / 0.5524 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.4755, allocations: 120.4 kB / 0.5525 GB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005986/0.4761, allocations: 470.9 kB / 0.553 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1623/0.6384, allocations: 8.608 MB / 0.5614 GB, free: 154.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.6629, allocations: 17.31 MB / 0.5783 GB, free: 141.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.6649, allocations: 1.28 MB / 0.5795 GB, free: 140.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.6663, allocations: 0.889 MB / 0.5804 GB, free: 139.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.6792, allocations: 6.888 MB / 0.5871 GB, free: 132.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.6792, allocations: 51.73 kB / 0.5872 GB, free: 132.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.526e-06/0.6792, allocations: 0 / 0.5872 GB, free: 132.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.07625/0.7555, allocations: 15.8 MB / 0.6026 GB, free: 117.1 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.002232/0.7577, allocations: 1.13 MB / 0.6037 GB, free: 115.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.76, allocations: 2.087 MB / 0.6058 GB, free: 113.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006535/0.7606, allocations: 53.7 kB / 0.6058 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000987/0.7616, allocations: 1.97 MB / 0.6077 GB, free: 111.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006755/0.7623, allocations: 0.6459 MB / 0.6084 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.7635, allocations: 0.7286 MB / 0.6091 GB, free: 110.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.7636, allocations: 476.8 kB / 0.6095 GB, free: 110.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/0.7661, allocations: 1.577 MB / 0.6111 GB, free: 108.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.7691, allocations: 2.739 MB / 0.6137 GB, free: 105.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005961/0.775, allocations: 4.656 MB / 0.6183 GB, free: 100.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/0.775, allocations: 8 kB / 0.6183 GB, free: 100.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01244/0.7875, allocations: 5.255 MB / 0.6234 GB, free: 94.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.7875, allocations: 19.94 kB / 0.6234 GB, free: 94.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/0.7876, allocations: 24 kB / 0.6235 GB, free: 94.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01633/0.8039, allocations: 2.745 MB / 0.6261 GB, free: 92.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01205/0.8159, allocations: 1.235 MB / 0.6274 GB, free: 90.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.8277, allocations: 10.59 MB / 0.6377 GB, free: 79.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/0.8313, allocations: 127.9 kB / 0.6378 GB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006919/0.832, allocations: 403.8 kB / 0.6382 GB, free: 79.37 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.001724/0.8337, allocations: 0.5219 MB / 0.6387 GB, free: 78.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009792/0.8347, allocations: 290.6 kB / 0.639 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.8495, allocations: 5.671 MB / 0.6445 GB, free: 73.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.8495, allocations: 22.66 kB / 0.6445 GB, free: 73.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.8495, allocations: 0 / 0.6445 GB, free: 73.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/0.8495, allocations: 7.969 kB / 0.6446 GB, free: 73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.8687, allocations: 9.089 MB / 0.6534 GB, free: 63.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.8688, allocations: 4 kB / 0.6534 GB, free: 63.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009004/0.8778, allocations: 0.8492 MB / 0.6543 GB, free: 62.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01791/0.8957, allocations: 3.025 MB / 0.6572 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004471/0.8961, allocations: 95.95 kB / 0.6573 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/0.9095, allocations: 11.55 MB / 0.6686 GB, free: 47.83 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 postOpt calculateStateSetsJacobians (simulation): time 0.001942/0.9115, allocations: 0.9821 MB / 0.6695 GB, free: 46.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.9239, allocations: 4.99 MB / 0.6744 GB, free: 41.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.9245, allocations: 178.5 kB / 0.6746 GB, free: 41.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/0.9249, allocations: 51.88 kB / 0.6746 GB, free: 41.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.9262, allocations: 62.62 kB / 0.6747 GB, free: 41.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005784/0.9268, allocations: 196.9 kB / 0.6749 GB, free: 41.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/0.927, allocations: 187.9 kB / 0.6751 GB, free: 41.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001634/0.9287, allocations: 1.226 MB / 0.6763 GB, free: 39.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9287, allocations: 3.938 kB / 0.6763 GB, free: 39.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003119/0.9318, allocations: 0.859 MB / 0.6771 GB, free: 38.96 MB / 426.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.0007424/0.9325, allocations: 437.1 kB / 0.6775 GB, free: 38.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009793/0.9423, allocations: 4.159 MB / 0.6816 GB, free: 34.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.9423, allocations: 0 / 0.6816 GB, free: 34.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006395/0.9487, allocations: 2.159 MB / 0.6837 GB, free: 32.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.9512, allocations: 0.5683 MB / 0.6842 GB, free: 31.68 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848: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: 3.43810962093994]