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.001293/0.001293, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001418/0.001418, allocations: 212.6 kB / 22.99 MB, free: 4.984 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1279/0.1279, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.001952/0.001952, allocations: 67.88 kB / 472.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2913, allocations: 59.88 MB / 0.5198 GB, free: 9.734 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.07296/0.3642, allocations: 31.41 MB / 0.5505 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1617/0.5259, allocations: 129.6 MB / 0.677 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.5284, allocations: 51.75 kB / 0.6771 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/0.5319, allocations: 1.083 MB / 0.6781 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.5361, allocations: 1.257 MB / 0.6794 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.5401, allocations: 1.54 MB / 0.6809 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005085/0.5452, allocations: 3.3 MB / 0.6841 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.5462, allocations: 0.6121 MB / 0.6847 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.5476, allocations: 1.179 MB / 0.6858 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.5497, allocations: 1.623 MB / 0.6874 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.5501, allocations: 292 kB / 0.6877 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.5528, allocations: 1.17 MB / 0.6888 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00077/0.5535, allocations: 0.8602 MB / 0.6897 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.5548, allocations: 1.262 MB / 0.6909 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006738/0.5615, allocations: 5.09 MB / 0.6959 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5615, allocations: 4 kB / 0.6959 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5615, allocations: 0 / 0.6959 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.961e-05/0.5616, allocations: 4 kB / 0.6959 GB, free: 4.938 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.006097/0.5677, allocations: 3.661 MB / 0.6995 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5677, allocations: 8.031 kB / 0.6995 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.5698, allocations: 0.701 MB / 0.7002 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.572, allocations: 1.3 MB / 0.7014 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.5723, allocations: 400.6 kB / 0.7018 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.5727, allocations: 300.3 kB / 0.7021 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.5849, allocations: 9.847 MB / 0.7117 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.585, allocations: 0 / 0.7117 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.5852, allocations: 120 kB / 0.7118 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005092/0.5857, allocations: 466.8 kB / 0.7123 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.6053, allocations: 18.11 MB / 0.73 GB, free: 1.875 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.2289/0.8343, allocations: 15.78 MB / 0.7454 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.8373, allocations: 2.177 MB / 0.7475 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.8394, allocations: 1.579 MB / 0.749 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/0.853, allocations: 7.523 MB / 0.7564 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.853, allocations: 44.59 kB / 0.7564 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=119): time 3.817e-06/0.853, allocations: 3.281 kB / 0.7564 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168): time 0.08244/0.9355, allocations: 20.48 MB / 0.7764 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.002167/0.9376, allocations: 0.9747 MB / 0.7774 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.9392, allocations: 1.643 MB / 0.779 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003993/0.9396, allocations: 49.7 kB / 0.779 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.9403, allocations: 1.716 MB / 0.7807 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/0.9409, allocations: 0.6008 MB / 0.7813 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.9422, allocations: 0.6483 MB / 0.7819 GB, free: 157 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.9422, allocations: 303.7 kB / 0.7822 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/0.9455, allocations: 2.476 MB / 0.7846 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.9488, allocations: 3.234 MB / 0.7878 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006609/0.9554, allocations: 5.822 MB / 0.7935 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.9554, allocations: 10.59 kB / 0.7935 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.01327/0.9687, allocations: 6.93 MB / 0.8003 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.9687, allocations: 16 kB / 0.8003 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.9688, allocations: 30.89 kB / 0.8003 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/0.9841, allocations: 2.773 MB / 0.803 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/0.9957, allocations: 1.148 MB / 0.8041 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/1.007, allocations: 8.689 MB / 0.8126 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/1.011, allocations: 134.6 kB / 0.8127 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009061/1.012, allocations: 407.8 kB / 0.8131 GB, free: 124.1 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.002252/1.014, allocations: 0.8781 MB / 0.814 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008891/1.015, allocations: 217.2 kB / 0.8142 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/1.031, allocations: 6.815 MB / 0.8209 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.031, allocations: 16 kB / 0.8209 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.031, allocations: 4 kB / 0.8209 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/1.031, allocations: 10.66 kB / 0.8209 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/1.051, allocations: 8.949 MB / 0.8296 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.051, allocations: 4 kB / 0.8296 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008951/1.06, allocations: 0.7323 MB / 0.8303 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01684/1.077, allocations: 2.937 MB / 0.8332 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004342/1.078, allocations: 98.59 kB / 0.8333 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/1.091, allocations: 9.672 MB / 0.8427 GB, free: 93.37 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.002054/1.093, allocations: 0.7312 MB / 0.8435 GB, free: 92.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.107, allocations: 6.265 MB / 0.8496 GB, free: 86.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/1.107, allocations: 174.7 kB / 0.8497 GB, free: 86.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/1.108, allocations: 43.89 kB / 0.8498 GB, free: 86.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.11, allocations: 64.08 kB / 0.8499 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/1.11, allocations: 191.5 kB / 0.85 GB, free: 85.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/1.11, allocations: 183.9 kB / 0.8502 GB, free: 85.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001797/1.112, allocations: 1.405 MB / 0.8516 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.112, allocations: 0 / 0.8516 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002898/1.115, allocations: 0.8121 MB / 0.8524 GB, free: 83.42 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.0007554/1.116, allocations: 417.5 kB / 0.8528 GB, free: 83.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01035/1.126, allocations: 4.732 MB / 0.8574 GB, free: 78.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.126, allocations: 0 / 0.8574 GB, free: 78.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00647/1.133, allocations: 2.136 MB / 0.8595 GB, free: 76.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.135, allocations: 464 kB / 0.8599 GB, free: 75.68 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.4546591249963967] Failed to read output from testmodel.py, exit status != 0: 1.1433530500071356 1.152197817 0.588465473 Calling exit ...