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.001337/0.001337, allocations: 104.4 kB / 19.7 MB, free: 2.125 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: 216.9 kB / 22.99 MB, free: 4.945 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1474/0.1474, allocations: 23.88 MB / 337.1 MB, free: 10.96 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.002063/0.002063, allocations: 63.89 kB / 472.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3651, allocations: 59.86 MB / 0.5197 GB, free: 9.766 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.07871/0.4438, allocations: 31.58 MB / 0.5506 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1852/0.6291, allocations: 129.5 MB / 0.6771 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/0.6336, allocations: 43.81 kB / 0.6771 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.6385, allocations: 1.13 MB / 0.6782 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005909/0.6444, allocations: 1.214 MB / 0.6794 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.6498, allocations: 1.54 MB / 0.6809 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006793/0.6566, allocations: 3.316 MB / 0.6842 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.6578, allocations: 0.5966 MB / 0.6847 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.6597, allocations: 1.16 MB / 0.6859 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.6612, allocations: 1.185 MB / 0.687 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.6616, allocations: 304 kB / 0.6873 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/0.6653, allocations: 1.237 MB / 0.6885 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008832/0.6662, allocations: 0.9226 MB / 0.6894 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.6682, allocations: 1.325 MB / 0.6907 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009914/0.6781, allocations: 5.277 MB / 0.6959 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6781, allocations: 0 / 0.6959 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6781, allocations: 4 kB / 0.6959 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001114/0.6782, allocations: 4 kB / 0.6959 GB, free: 4.93 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.007155/0.6854, allocations: 3.728 MB / 0.6995 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6854, allocations: 16.02 kB / 0.6995 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.6878, allocations: 0.7518 MB / 0.7003 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.6906, allocations: 1.547 MB / 0.7018 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005781/0.6911, allocations: 0.5357 MB / 0.7023 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/0.6915, allocations: 292.3 kB / 0.7026 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.7063, allocations: 11.97 MB / 0.7143 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.7063, allocations: 4 kB / 0.7143 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.7065, allocations: 124 kB / 0.7144 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005367/0.7071, allocations: 486.9 kB / 0.7149 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.315/1.022, allocations: 20.73 MB / 0.7351 GB, free: 187 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.04129/1.063, allocations: 27.16 MB / 0.7616 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/1.069, allocations: 5.37 MB / 0.7669 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003892/1.073, allocations: 4.187 MB / 0.771 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/1.075, allocations: 0.7046 MB / 0.7716 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.075, allocations: 43.88 kB / 0.7717 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.677e-06/1.075, allocations: 0 / 0.7717 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1145/1.189, allocations: 40.48 MB / 0.8112 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01907/1.208, allocations: 12.5 MB / 0.8234 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.21, allocations: 1.674 MB / 0.8251 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/1.211, allocations: 57.7 kB / 0.8251 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/1.212, allocations: 1.576 MB / 0.8267 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008715/1.213, allocations: 0.7079 MB / 0.8273 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/1.214, allocations: 0.7335 MB / 0.8281 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/1.215, allocations: 301.1 kB / 0.8284 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007203/1.222, allocations: 7.194 MB / 0.8354 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007504/1.229, allocations: 7.551 MB / 0.8427 GB, free: 94.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2045/1.434, allocations: 41.45 MB / 0.8832 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/1.434, allocations: 3.938 kB / 0.8832 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02302/1.457, allocations: 15.78 MB / 0.8986 GB, free: 37.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/1.457, allocations: 10.66 kB / 0.8987 GB, free: 37.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.457, allocations: 12 kB / 0.8987 GB, free: 37.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02176/1.479, allocations: 5.468 MB / 0.904 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/1.493, allocations: 1.558 MB / 0.9055 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/1.509, allocations: 15.44 MB / 0.9206 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/1.514, allocations: 235.8 kB / 0.9208 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.515, allocations: 0.5062 MB / 0.9213 GB, free: 14.03 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.002824/1.518, allocations: 0.8528 MB / 0.9222 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.519, allocations: 202.7 kB / 0.9223 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02349/1.543, allocations: 11.68 MB / 0.9338 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0224/1.565, allocations: 9.327 MB / 0.9429 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/1.565, allocations: 10.59 kB / 0.9429 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/1.565, allocations: 11.95 kB / 0.9429 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2825/1.848, allocations: 16.12 MB / 0.9586 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.848, allocations: 8.656 kB / 0.9586 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007632/1.855, allocations: 0.7898 MB / 0.9594 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02303/1.878, allocations: 4.138 MB / 0.9635 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006945/1.879, allocations: 117.6 kB / 0.9636 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.897, allocations: 12.57 MB / 0.9758 GB, free: 183.7 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.001914/1.899, allocations: 0.7556 MB / 0.9766 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/1.919, allocations: 10.86 MB / 0.9872 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/1.919, allocations: 239.5 kB / 0.9874 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007351/1.92, allocations: 46.56 kB / 0.9875 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.922, allocations: 109 kB / 0.9876 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006525/1.922, allocations: 274.4 kB / 0.9878 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.923, allocations: 228.5 kB / 0.988 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001861/1.925, allocations: 1.832 MB / 0.9898 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.925, allocations: 0 / 0.9898 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003221/1.928, allocations: 1.153 MB / 0.991 GB, free: 177.2 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.0007305/1.929, allocations: 440 kB / 0.9914 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.942, allocations: 9.619 MB / 1.001 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.942, allocations: 0 / 1.001 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007147/1.949, allocations: 3.206 MB / 1.004 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/1.952, allocations: 484.3 kB / 1.004 GB, free: 164.5 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.534295737743378] Failed to read output from testmodel.py, exit status != 0: 1.9605945888906717 1.968883528 1.288568734 Calling exit ...