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.001524/0.001524, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001938/0.001938, allocations: 218.7 kB / 22.3 MB, free: 5.301 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.527/1.527, allocations: 230.6 MB / 256.1 MB, free: 7.773 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.1499/0.1499, allocations: 23.89 MB / 336.4 MB, free: 10.93 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.002138/0.002138, allocations: 67.88 kB / 471.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4385, allocations: 59.86 MB / 0.5191 GB, free: 9.828 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.09165/0.5302, allocations: 31.55 MB / 0.5499 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.211/0.7412, allocations: 129.5 MB / 0.6764 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004784/0.746, allocations: 35.88 kB / 0.6765 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005835/0.7518, allocations: 1.134 MB / 0.6776 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007135/0.7589, allocations: 1.226 MB / 0.6788 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.7653, allocations: 1.537 MB / 0.6803 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008345/0.7736, allocations: 3.319 MB / 0.6835 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.7757, allocations: 0.5968 MB / 0.6841 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.7787, allocations: 1.156 MB / 0.6852 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.782, allocations: 1.189 MB / 0.6864 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.7834, allocations: 307.9 kB / 0.6867 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005816/0.7892, allocations: 1.233 MB / 0.6879 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001798/0.791, allocations: 0.9188 MB / 0.6888 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003895/0.7949, allocations: 1.329 MB / 0.6901 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.806, allocations: 5.277 MB / 0.6952 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.806, allocations: 4 kB / 0.6952 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.765e-06/0.806, allocations: 0 / 0.6952 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001415/0.8062, allocations: 0 / 0.6952 GB, free: 4.91 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.008349/0.8145, allocations: 3.735 MB / 0.6989 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.8146, allocations: 12.03 kB / 0.6989 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.8173, allocations: 0.7557 MB / 0.6996 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.8204, allocations: 1.543 MB / 0.7011 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006251/0.821, allocations: 0.5357 MB / 0.7017 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004173/0.8215, allocations: 292.3 kB / 0.7019 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.8375, allocations: 11.97 MB / 0.7136 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/0.8376, allocations: 0 / 0.7136 GB, free: 1.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.8378, allocations: 120 kB / 0.7137 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00059/0.8384, allocations: 486.9 kB / 0.7142 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3774/1.216, allocations: 20.73 MB / 0.7345 GB, free: 187.1 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.04797/1.264, allocations: 27.15 MB / 0.761 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008064/1.272, allocations: 5.372 MB / 0.7662 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004327/1.276, allocations: 4.191 MB / 0.7703 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/1.278, allocations: 0.6997 MB / 0.771 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.278, allocations: 43.88 kB / 0.771 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 4.058e-06/1.278, allocations: 3.656 kB / 0.771 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1291/1.407, allocations: 40.53 MB / 0.8106 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02071/1.428, allocations: 12.5 MB / 0.8228 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/1.43, allocations: 1.674 MB / 0.8245 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001309/1.432, allocations: 56.39 kB / 0.8245 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/1.433, allocations: 1.587 MB / 0.8261 GB, free: 111 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/1.435, allocations: 0.7079 MB / 0.8268 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003632/1.438, allocations: 0.7218 MB / 0.8275 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/1.438, allocations: 301.1 kB / 0.8277 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008512/1.447, allocations: 7.194 MB / 0.8348 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008774/1.456, allocations: 7.554 MB / 0.8421 GB, free: 94.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2136/1.669, allocations: 41.75 MB / 0.8829 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/1.669, allocations: 7.922 kB / 0.8829 GB, free: 52.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02616/1.695, allocations: 15.77 MB / 0.8983 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/1.695, allocations: 8 kB / 0.8983 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/1.695, allocations: 12 kB / 0.8983 GB, free: 37.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02185/1.717, allocations: 5.52 MB / 0.9037 GB, free: 31.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01415/1.731, allocations: 1.557 MB / 0.9053 GB, free: 30.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.749, allocations: 15.45 MB / 0.9203 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005567/1.754, allocations: 242.3 kB / 0.9206 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.756, allocations: 0.4958 MB / 0.9211 GB, free: 13.56 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.003524/1.759, allocations: 0.8474 MB / 0.9219 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.761, allocations: 202.7 kB / 0.9221 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02516/1.786, allocations: 11.68 MB / 0.9335 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02371/1.81, allocations: 9.334 MB / 0.9426 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/1.81, allocations: 11.94 kB / 0.9426 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-05/1.81, allocations: 11.95 kB / 0.9426 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3208/2.131, allocations: 16.12 MB / 0.9584 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/2.131, allocations: 8.375 kB / 0.9584 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00799/2.139, allocations: 0.7889 MB / 0.9592 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02414/2.163, allocations: 4.181 MB / 0.9632 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007479/2.164, allocations: 118.8 kB / 0.9633 GB, free: 192 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/2.182, allocations: 12.58 MB / 0.9756 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.002006/2.184, allocations: 0.7482 MB / 0.9764 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02022/2.204, allocations: 10.88 MB / 0.987 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007953/2.205, allocations: 229.6 kB / 0.9872 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005397/2.206, allocations: 51.86 kB / 0.9873 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/2.207, allocations: 105.8 kB / 0.9874 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007282/2.208, allocations: 278.3 kB / 0.9876 GB, free: 178 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/2.208, allocations: 227.7 kB / 0.9878 GB, free: 178 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002011/2.21, allocations: 1.829 MB / 0.9896 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.21, allocations: 2.734 kB / 0.9896 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003232/2.214, allocations: 1.159 MB / 0.9908 GB, free: 177 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.00075/2.214, allocations: 429.7 kB / 0.9912 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01405/2.228, allocations: 9.636 MB / 1.001 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/2.228, allocations: 0 / 1.001 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007506/2.236, allocations: 3.22 MB / 1.004 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/2.238, allocations: 476.7 kB / 1.004 GB, free: 163.9 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747: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 658] [Calling sys.exit(0), Time elapsed: 4.862638654187322] Failed to read output from testmodel.py, exit status != 0: 2.2480823770165443 2.256780064 1.448257234 Calling exit ...