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.00141/0.00141, allocations: 80.98 kB / 19.18 MB, free: 2.527 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.001572/0.001572, allocations: 169.3 kB / 22.46 MB, free: 5.355 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.469/1.469, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.1374/0.1374, allocations: 17.46 MB / 276.6 MB, free: 15.21 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: Performance of FrontEnd - loaded program: time 3.787e-06/3.787e-06, allocations: 4 kB / 412.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/3.125e-05, allocations: 2.281 kB / 412.1 MB, free: 4.297 MB / 334.1 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.04463/0.04466, allocations: 32.45 MB / 444.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3563/0.401, allocations: 131.6 MB / 0.5626 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.4031, allocations: 83.31 kB / 0.5627 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004101/0.4072, allocations: 1.217 MB / 0.5639 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.4126, allocations: 1.59 MB / 0.5654 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005262/0.4178, allocations: 1.836 MB / 0.5672 GB, free: 120 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006333/0.4241, allocations: 3.72 MB / 0.5709 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.4253, allocations: 0.6128 MB / 0.5715 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.4283, allocations: 1.905 MB / 0.5733 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.4308, allocations: 1.399 MB / 0.5747 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006031/0.4314, allocations: 296 kB / 0.575 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006323/0.4377, allocations: 1.47 MB / 0.5764 GB, free: 6.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.4395, allocations: 0.9771 MB / 0.5774 GB, free: 5.672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.4419, allocations: 1.091 MB / 0.5784 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009646/0.4515, allocations: 5.382 MB / 0.5837 GB, free: 15.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4515, allocations: 0 / 0.5837 GB, free: 15.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4515, allocations: 0 / 0.5837 GB, free: 15.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.462e-05/0.4516, allocations: 0 / 0.5837 GB, free: 15.18 MB / 478.1 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.006585/0.4582, allocations: 3.786 MB / 0.5874 GB, free: 11.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4582, allocations: 8.031 kB / 0.5874 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.4605, allocations: 0.732 MB / 0.5881 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/0.4644, allocations: 1.856 MB / 0.5899 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/0.465, allocations: 416.7 kB / 0.5903 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006403/0.4656, allocations: 300.3 kB / 0.5906 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01433/0.4799, allocations: 10.23 MB / 0.6006 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.3e-05/0.48, allocations: 192 / 0.6006 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.4803, allocations: 132.3 kB / 0.6007 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005693/0.4809, allocations: 467 kB / 0.6012 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/0.5056, allocations: 19.22 MB / 0.6199 GB, free: 9.891 MB / 0.4981 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.2411/0.7467, allocations: 16.35 MB / 0.6359 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.7504, allocations: 2.251 MB / 0.6381 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.753, allocations: 1.669 MB / 0.6397 GB, free: 173.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/0.7685, allocations: 7.88 MB / 0.6474 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.7686, allocations: 45.28 kB / 0.6475 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.058e-06/0.7686, allocations: 5.062 kB / 0.6475 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171): time 0.08214/0.8507, allocations: 20.65 MB / 0.6676 GB, free: 156.4 MB / 0.4981 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.002119/0.8528, allocations: 0.9711 MB / 0.6686 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.855, allocations: 1.652 MB / 0.6702 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006932/0.8557, allocations: 53.7 kB / 0.6702 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000895/0.8566, allocations: 1.744 MB / 0.6719 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009626/0.8576, allocations: 0.5993 MB / 0.6725 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/0.8596, allocations: 0.6696 MB / 0.6732 GB, free: 150.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.8597, allocations: 301.1 kB / 0.6735 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/0.8634, allocations: 2.537 MB / 0.676 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/0.8673, allocations: 3.306 MB / 0.6792 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/0.8751, allocations: 5.959 MB / 0.685 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-05/0.8751, allocations: 8 kB / 0.685 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.0141/0.8892, allocations: 7.101 MB / 0.6919 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.8892, allocations: 16 kB / 0.692 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/0.8893, allocations: 26.66 kB / 0.692 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01509/0.9044, allocations: 2.835 MB / 0.6948 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/0.9166, allocations: 1.348 MB / 0.6961 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.9292, allocations: 8.665 MB / 0.7045 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.9333, allocations: 146.5 kB / 0.7047 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/0.9344, allocations: 423.8 kB / 0.7051 GB, free: 117.3 MB / 0.4981 GB 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.002839/0.9373, allocations: 0.8879 MB / 0.7059 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/0.9383, allocations: 226.6 kB / 0.7062 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.9559, allocations: 7.039 MB / 0.713 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.9559, allocations: 20 kB / 0.7131 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.9559, allocations: 9.234 kB / 0.7131 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-05/0.9559, allocations: 7.969 kB / 0.7131 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/0.9771, allocations: 9.188 MB / 0.722 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.9771, allocations: 4 kB / 0.722 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009361/0.9865, allocations: 0.9476 MB / 0.723 GB, free: 99.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01678/1.003, allocations: 2.982 MB / 0.7259 GB, free: 96.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000881/1.004, allocations: 103.9 kB / 0.726 GB, free: 96.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.019, allocations: 9.661 MB / 0.7354 GB, free: 85.98 MB / 0.4981 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.001966/1.021, allocations: 0.7392 MB / 0.7361 GB, free: 85.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/1.036, allocations: 6.602 MB / 0.7426 GB, free: 78.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/1.037, allocations: 182.6 kB / 0.7428 GB, free: 78.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009499/1.038, allocations: 38.69 kB / 0.7428 GB, free: 78.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.04, allocations: 75.95 kB / 0.7429 GB, free: 78.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000715/1.04, allocations: 195.5 kB / 0.7431 GB, free: 78.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004225/1.041, allocations: 199.9 kB / 0.7432 GB, free: 77.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00222/1.043, allocations: 1.406 MB / 0.7446 GB, free: 76.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/1.043, allocations: 0 / 0.7446 GB, free: 76.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004732/1.048, allocations: 0.8668 MB / 0.7455 GB, free: 75.6 MB / 0.4981 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 (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.001392/1.049, allocations: 448.1 kB / 0.7459 GB, free: 75.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.061, allocations: 4.911 MB / 0.7507 GB, free: 70.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.061, allocations: 0 / 0.7507 GB, free: 70.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007194/1.068, allocations: 2.232 MB / 0.7529 GB, free: 68.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/1.072, allocations: 470.8 kB / 0.7533 GB, free: 67.62 MB / 0.4981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.500750534236431] Failed to read output from testmodel.py, exit status != 0: 1.0821054130792618 1.092558369 0.6384732479999999 Calling exit ...