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.001467/0.001467, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001653/0.001653, allocations: 220.3 kB / 23 MB, free: 4.914 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1436/0.1436, allocations: 23.99 MB / 337.2 MB, free: 10.88 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.002078/0.002078, allocations: 67.91 kB / 472.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3702, allocations: 59.91 MB / 0.5199 GB, free: 9.668 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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:1841:5-1841: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:1841:5-1841: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.08269/0.4529, allocations: 31.76 MB / 0.551 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1846/0.6375, allocations: 129.9 MB / 0.6778 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.6408, allocations: 55.69 kB / 0.6778 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.6452, allocations: 1.083 MB / 0.6789 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.6507, allocations: 1.284 MB / 0.6801 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004788/0.6555, allocations: 1.599 MB / 0.6817 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00637/0.6619, allocations: 3.359 MB / 0.685 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.6631, allocations: 0.605 MB / 0.6856 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.665, allocations: 1.203 MB / 0.6867 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.6673, allocations: 1.47 MB / 0.6882 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.6679, allocations: 292 kB / 0.6885 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.6722, allocations: 1.213 MB / 0.6896 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009434/0.6732, allocations: 0.8641 MB / 0.6905 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.6749, allocations: 1.297 MB / 0.6918 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007311/0.6822, allocations: 5.187 MB / 0.6968 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.6822, allocations: 4 kB / 0.6968 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6822, allocations: 3.938 kB / 0.6968 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.878e-05/0.6823, allocations: 0 / 0.6968 GB, free: 4.02 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: 932 * Number of variables: 932 Notification: Performance of Generate backend data structure: time 0.005822/0.6881, allocations: 3.72 MB / 0.7005 GB, free: 252 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6881, allocations: 12.03 kB / 0.7005 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.6901, allocations: 0.701 MB / 0.7012 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.6922, allocations: 1.309 MB / 0.7024 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/0.6926, allocations: 412.7 kB / 0.7028 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/0.693, allocations: 300.3 kB / 0.7031 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.7053, allocations: 10.24 MB / 0.7131 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/0.7053, allocations: 0 / 0.7131 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.7055, allocations: 123.9 kB / 0.7132 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005254/0.7061, allocations: 471 kB / 0.7137 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3169/1.023, allocations: 19.21 MB / 0.7324 GB, free: 187.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.0319/1.055, allocations: 16.34 MB / 0.7484 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/1.059, allocations: 2.226 MB / 0.7506 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/1.061, allocations: 1.646 MB / 0.7522 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/1.078, allocations: 7.876 MB / 0.7599 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/1.078, allocations: 49.05 kB / 0.7599 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=122): time 4.469e-06/1.078, allocations: 0 / 0.7599 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.07959/1.157, allocations: 20.63 MB / 0.7801 GB, free: 158.9 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.001966/1.159, allocations: 0.967 MB / 0.781 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/1.161, allocations: 1.644 MB / 0.7826 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005174/1.162, allocations: 57.7 kB / 0.7827 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008266/1.163, allocations: 1.753 MB / 0.7844 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005617/1.163, allocations: 0.6148 MB / 0.785 GB, free: 154 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/1.164, allocations: 0.6524 MB / 0.7856 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/1.164, allocations: 305.1 kB / 0.7859 GB, free: 153 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.167, allocations: 2.447 MB / 0.7883 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/1.171, allocations: 3.226 MB / 0.7914 GB, free: 147 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006858/1.178, allocations: 5.89 MB / 0.7972 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/1.178, allocations: 8 kB / 0.7972 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01269/1.19, allocations: 6.971 MB / 0.804 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/1.19, allocations: 16 kB / 0.804 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/1.19, allocations: 29.06 kB / 0.8041 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01407/1.205, allocations: 2.779 MB / 0.8068 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01143/1.216, allocations: 1.337 MB / 0.8081 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/1.227, allocations: 8.678 MB / 0.8166 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/1.231, allocations: 146.5 kB / 0.8167 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007552/1.231, allocations: 407.8 kB / 0.8171 GB, free: 120.1 MB / 0.5606 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.002122/1.233, allocations: 0.8795 MB / 0.8179 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/1.234, allocations: 218.5 kB / 0.8182 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/1.249, allocations: 6.97 MB / 0.825 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/1.249, allocations: 16 kB / 0.825 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.249, allocations: 0 / 0.825 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.249, allocations: 11.97 kB / 0.825 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.267, allocations: 9.051 MB / 0.8338 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/1.267, allocations: 4 kB / 0.8338 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008754/1.276, allocations: 0.9391 MB / 0.8347 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/1.291, allocations: 2.901 MB / 0.8376 GB, free: 99.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004963/1.292, allocations: 99.95 kB / 0.8377 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/1.304, allocations: 9.586 MB / 0.847 GB, free: 89.06 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.001779/1.306, allocations: 0.7352 MB / 0.8478 GB, free: 88.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/1.319, allocations: 6.519 MB / 0.8541 GB, free: 81.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/1.319, allocations: 174.7 kB / 0.8543 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/1.32, allocations: 54.56 kB / 0.8543 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.321, allocations: 71.95 kB / 0.8544 GB, free: 81.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004808/1.321, allocations: 196.9 kB / 0.8546 GB, free: 81.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/1.321, allocations: 198.6 kB / 0.8548 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001764/1.323, allocations: 1.301 MB / 0.8561 GB, free: 79.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.323, allocations: 0 / 0.8561 GB, free: 79.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004609/1.328, allocations: 0.8238 MB / 0.8569 GB, free: 78.89 MB / 0.5606 GB 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 {(4,18), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009772/1.329, allocations: 428.8 kB / 0.8573 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009924/1.339, allocations: 4.805 MB / 0.862 GB, free: 73.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.339, allocations: 0.6562 kB / 0.862 GB, free: 73.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005655/1.344, allocations: 2.197 MB / 0.8641 GB, free: 71.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.347, allocations: 458.5 kB / 0.8645 GB, free: 71.03 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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: 3.8921276023611426] Failed to read output from testmodel.py, exit status != 0: 1.3555508302524686 1.364303205 0.679772987 Calling exit ...