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.001568/0.001568, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001474/0.001474, allocations: 212.1 kB / 23.01 MB, free: 4.566 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.1359/0.1359, allocations: 23.85 MB / 337 MB, free: 11.21 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.002145/0.002145, allocations: 63.89 kB / 472.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3205, allocations: 59.86 MB / 0.5198 GB, free: 9.879 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.04853/0.369, allocations: 33.29 MB / 0.5523 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1878/0.5568, allocations: 151.3 MB / 0.7 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004189/0.561, allocations: 31.88 kB / 0.7 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004677/0.5657, allocations: 1.227 MB / 0.7012 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.5705, allocations: 1.218 MB / 0.7024 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004618/0.5751, allocations: 1.607 MB / 0.704 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006158/0.5813, allocations: 3.319 MB / 0.7072 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.5825, allocations: 0.6122 MB / 0.7078 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.5843, allocations: 1.163 MB / 0.709 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.5862, allocations: 1.373 MB / 0.7103 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004132/0.5866, allocations: 300 kB / 0.7106 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.5912, allocations: 1.845 MB / 0.7124 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008923/0.5921, allocations: 0.9226 MB / 0.7133 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.5942, allocations: 1.756 MB / 0.715 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008871/0.6031, allocations: 5.429 MB / 0.7203 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6031, allocations: 0 / 0.7203 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6031, allocations: 0 / 0.7203 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.554e-05/0.6032, allocations: 0 / 0.7203 GB, free: 12.11 MB / 0.5606 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.006848/0.61, allocations: 3.728 MB / 0.724 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.864e-05/0.6101, allocations: 8.031 kB / 0.724 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.6119, allocations: 0.666 MB / 0.7246 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.6146, allocations: 1.547 MB / 0.7261 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006215/0.6152, allocations: 0.524 MB / 0.7266 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/0.6157, allocations: 300.3 kB / 0.7269 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2604/0.8761, allocations: 11.94 MB / 0.7386 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/0.8761, allocations: 0 / 0.7386 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.8763, allocations: 115.1 kB / 0.7387 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007163/0.8771, allocations: 488.8 kB / 0.7392 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.8973, allocations: 20.73 MB / 0.7594 GB, free: 178.5 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.03243/0.9297, allocations: 29.93 MB / 0.7886 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.935, allocations: 5.345 MB / 0.7938 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/0.9388, allocations: 4.156 MB / 0.7979 GB, free: 141 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002383/0.9411, allocations: 0.7914 MB / 0.7987 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.9412, allocations: 55.25 kB / 0.7987 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 4.007e-06/0.9412, allocations: 0 / 0.7987 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200): time 0.1342/1.075, allocations: 40.46 MB / 0.8382 GB, free: 100 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02905/1.104, allocations: 12.75 MB / 0.8507 GB, free: 87.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006573/1.111, allocations: 3.606 MB / 0.8542 GB, free: 83.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.112, allocations: 57.7 kB / 0.8543 GB, free: 83.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.113, allocations: 1.536 MB / 0.8558 GB, free: 81.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.115, allocations: 0.6971 MB / 0.8564 GB, free: 81.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/1.117, allocations: 0.7218 MB / 0.8572 GB, free: 80.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.513e-05/1.117, allocations: 301.1 kB / 0.8574 GB, free: 80.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007385/1.125, allocations: 7.155 MB / 0.8644 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007579/1.132, allocations: 7.517 MB / 0.8718 GB, free: 65.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2235/1.356, allocations: 42.91 MB / 0.9137 GB, free: 22.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/1.356, allocations: 4 kB / 0.9137 GB, free: 22.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02384/1.38, allocations: 15.83 MB / 0.9291 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.38, allocations: 8 kB / 0.9291 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.38, allocations: 11.98 kB / 0.9292 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02207/1.402, allocations: 5.47 MB / 0.9345 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/1.417, allocations: 1.546 MB / 0.936 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2726/1.689, allocations: 15.61 MB / 0.9513 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/1.694, allocations: 229.1 kB / 0.9515 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.695, allocations: 0.4986 MB / 0.952 GB, free: 192.9 MB / 0.5762 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.00213/1.697, allocations: 0.843 MB / 0.9528 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.699, allocations: 323.2 kB / 0.9531 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.726, allocations: 11.73 MB / 0.9645 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02122/1.747, allocations: 9.271 MB / 0.9736 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.747, allocations: 5.359 kB / 0.9736 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/1.747, allocations: 13.5 kB / 0.9736 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/1.777, allocations: 17.36 MB / 0.9906 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.777, allocations: 7.625 kB / 0.9906 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007559/1.784, allocations: 0.7742 MB / 0.9913 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02233/1.807, allocations: 4.143 MB / 0.9954 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000318/1.807, allocations: 122.2 kB / 0.9955 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/1.824, allocations: 12.95 MB / 1.008 GB, free: 162 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.0019/1.826, allocations: 0.7554 MB / 1.009 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/1.844, allocations: 10.92 MB / 1.02 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/1.845, allocations: 456.4 kB / 1.02 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006281/1.845, allocations: 59.73 kB / 1.02 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.847, allocations: 87.92 kB / 1.02 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/1.847, allocations: 278.7 kB / 1.02 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003396/1.848, allocations: 219.9 kB / 1.021 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003832/1.852, allocations: 3.223 MB / 1.024 GB, free: 146 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.852, allocations: 0 / 1.024 GB, free: 146 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003496/1.855, allocations: 1.187 MB / 1.025 GB, free: 144.9 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.0008114/1.856, allocations: 429.6 kB / 1.025 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01465/1.871, allocations: 9.56 MB / 1.035 GB, free: 135 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.871, allocations: 0 / 1.035 GB, free: 135 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007061/1.878, allocations: 3.183 MB / 1.038 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/1.881, allocations: 0.6951 MB / 1.038 GB, free: 131.2 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.308472278062254] Failed to read output from testmodel.py, exit status != 0: 1.8899588340427727 1.8992404360000001 1.293766374 Calling exit ...