Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001316/0.001316, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001484/0.001484, allocations: 209.8 kB / 22.99 MB, free: 4.957 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.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1605/0.1605, allocations: 23.87 MB / 337.1 MB, free: 11.04 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002034/0.002034, allocations: 67.89 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 59.87 MB / 0.5197 GB, free: 9.727 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/Interfaces.mo:1819:5-1819: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.08169/0.447, allocations: 31.4 MB / 0.5504 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1803/0.6273, allocations: 129.5 MB / 0.6769 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.6303, allocations: 39.81 kB / 0.677 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003935/0.6342, allocations: 1.138 MB / 0.6781 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.639, allocations: 1.222 MB / 0.6793 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006437/0.6454, allocations: 1.537 MB / 0.6808 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008528/0.6539, allocations: 3.308 MB / 0.684 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.656, allocations: 0.6121 MB / 0.6846 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.6588, allocations: 1.16 MB / 0.6857 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.6621, allocations: 1.377 MB / 0.6871 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009513/0.6631, allocations: 304 kB / 0.6874 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005791/0.6688, allocations: 1.268 MB / 0.6886 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.6703, allocations: 0.9187 MB / 0.6895 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003072/0.6734, allocations: 1.325 MB / 0.6908 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.6874, allocations: 5.281 MB / 0.696 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.6874, allocations: 0 / 0.696 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6874, allocations: 0 / 0.696 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001634/0.6876, allocations: 3.938 kB / 0.696 GB, free: 4.844 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.01119/0.6988, allocations: 3.728 MB / 0.6996 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.6988, allocations: 8.031 kB / 0.6996 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/0.7028, allocations: 0.7557 MB / 0.7003 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00476/0.7076, allocations: 1.543 MB / 0.7018 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000757/0.7083, allocations: 0.5357 MB / 0.7024 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006252/0.7089, allocations: 296.3 kB / 0.7027 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.731, allocations: 11.97 MB / 0.7143 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.543e-05/0.7311, allocations: 0 / 0.7143 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.7314, allocations: 123.9 kB / 0.7145 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007575/0.7322, allocations: 486.9 kB / 0.7149 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3889/1.121, allocations: 20.74 MB / 0.7352 GB, free: 186.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.05259/1.174, allocations: 27.14 MB / 0.7617 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/1.18, allocations: 5.372 MB / 0.7669 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/1.185, allocations: 4.187 MB / 0.771 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.187, allocations: 0.7001 MB / 0.7717 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.187, allocations: 47.88 kB / 0.7718 GB, free: 167 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 4.298e-06/1.187, allocations: 0 / 0.7718 GB, free: 167 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1251/1.312, allocations: 40.47 MB / 0.8113 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02137/1.333, allocations: 12.51 MB / 0.8235 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/1.335, allocations: 1.684 MB / 0.8251 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.336, allocations: 53.7 kB / 0.8252 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/1.337, allocations: 1.579 MB / 0.8267 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.338, allocations: 0.7036 MB / 0.8274 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/1.34, allocations: 0.7296 MB / 0.8281 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/1.34, allocations: 301.1 kB / 0.8284 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007675/1.348, allocations: 7.198 MB / 0.8354 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0084/1.356, allocations: 7.554 MB / 0.8428 GB, free: 94.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2181/1.574, allocations: 41.45 MB / 0.8833 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/1.574, allocations: 0 / 0.8833 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02488/1.599, allocations: 15.77 MB / 0.8987 GB, free: 37.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/1.599, allocations: 8 kB / 0.8987 GB, free: 37.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/1.599, allocations: 12 kB / 0.8987 GB, free: 37.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02393/1.623, allocations: 5.48 MB / 0.9041 GB, free: 31.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01533/1.638, allocations: 1.557 MB / 0.9056 GB, free: 30.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/1.655, allocations: 15.44 MB / 0.9207 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005457/1.661, allocations: 246.3 kB / 0.9209 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.662, allocations: 0.4984 MB / 0.9214 GB, free: 13.91 MB / 0.5606 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 201 * Array equations: 2 * 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%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.003227/1.665, allocations: 0.8504 MB / 0.9222 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/1.667, allocations: 198.9 kB / 0.9224 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02571/1.693, allocations: 11.67 MB / 0.9338 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02438/1.717, allocations: 9.338 MB / 0.9429 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/1.717, allocations: 3.938 kB / 0.9429 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.375e-05/1.717, allocations: 15.95 kB / 0.9429 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.37/2.087, allocations: 16.12 MB / 0.9587 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/2.087, allocations: 9.172 kB / 0.9587 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009105/2.096, allocations: 0.7814 MB / 0.9595 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02643/2.123, allocations: 4.147 MB / 0.9635 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008668/2.124, allocations: 116.8 kB / 0.9636 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/2.143, allocations: 12.58 MB / 0.9759 GB, free: 183.6 MB / 0.5762 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.002291/2.146, allocations: 0.7511 MB / 0.9766 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02224/2.168, allocations: 10.87 MB / 0.9873 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009913/2.169, allocations: 228.1 kB / 0.9875 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/2.17, allocations: 57.09 kB / 0.9875 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/2.172, allocations: 108.9 kB / 0.9876 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007351/2.173, allocations: 282.3 kB / 0.9879 GB, free: 178 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003045/2.173, allocations: 223.2 kB / 0.9881 GB, free: 178 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001927/2.175, allocations: 1.833 MB / 0.9899 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.175, allocations: 0 / 0.9899 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003736/2.179, allocations: 1.155 MB / 0.991 GB, free: 177.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 3 ($cse30,$cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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%), (4,3,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,28), (9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009434/2.18, allocations: 420.6 kB / 0.9914 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01493/2.194, allocations: 9.64 MB / 1.001 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/2.195, allocations: 4 kB / 1.001 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008017/2.203, allocations: 3.219 MB / 1.004 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/2.205, allocations: 483 kB / 1.004 GB, free: 164.4 MB / 0.5762 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 658] [Calling sys.exit(0), Time elapsed: 4.797341134995804] Failed to read output from testmodel.py, exit status != 0: 2.21431062699412 2.223146551 1.533310634 Calling exit ...