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.0008123/0.0008123, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007507/0.0007507, allocations: 170.2 kB / 23.18 MB, free: 1.383 MB / 18.57 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.067/1.067, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] 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.1176/0.1176, allocations: 17.38 MB / 277.4 MB, free: 11.88 MB / 266.7 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.0009337/0.0009337, allocations: 67.91 kB / 412.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3528, allocations: 59.84 MB / 472.6 MB, free: 29.81 MB / 410.7 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.03767/0.3904, allocations: 31.73 MB / 0.4925 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1399/0.5304, allocations: 129.6 MB / 0.6191 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.5325, allocations: 31.88 kB / 0.6191 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.5355, allocations: 1.133 MB / 0.6202 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.5388, allocations: 1.226 MB / 0.6214 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.5425, allocations: 1.548 MB / 0.6229 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002855/0.5453, allocations: 3.316 MB / 0.6262 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.546, allocations: 0.5968 MB / 0.6267 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.5473, allocations: 1.831 MB / 0.6285 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008767/0.5482, allocations: 1.185 MB / 0.6297 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.5484, allocations: 304 kB / 0.63 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.5503, allocations: 1.233 MB / 0.6312 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.5508, allocations: 0.9226 MB / 0.6321 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008894/0.5517, allocations: 1.321 MB / 0.6334 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.3153/0.8671, allocations: 5.288 MB / 0.6385 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.8671, allocations: 0 / 0.6385 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.896e-06/0.8671, allocations: 0.8438 kB / 0.6385 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000222/0.8673, allocations: 0 / 0.6385 GB, free: 17.7 MB / 0.5261 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.009913/0.8772, allocations: 3.725 MB / 0.6422 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8773, allocations: 8.438 kB / 0.6422 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.8797, allocations: 0.7611 MB / 0.6429 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.8838, allocations: 1.538 MB / 0.6444 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009208/0.8847, allocations: 0.5392 MB / 0.645 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.886, allocations: 296.8 kB / 0.6452 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.905, allocations: 11.97 MB / 0.6569 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.9051, allocations: 0 / 0.6569 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/0.9053, allocations: 118.2 kB / 0.657 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006443/0.906, allocations: 493.3 kB / 0.6575 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02943/0.9354, allocations: 20.74 MB / 0.6778 GB, free: 12.57 MB / 0.5261 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.03762/0.973, allocations: 27.15 MB / 0.7043 GB, free: 324 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006269/0.9793, allocations: 5.495 MB / 0.7096 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004098/0.9834, allocations: 4.186 MB / 0.7137 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.9848, allocations: 0.709 MB / 0.7144 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.9848, allocations: 44.53 kB / 0.7145 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=133): time 4.789e-06/0.9848, allocations: 2.656 kB / 0.7145 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=200): time 0.07752/1.062, allocations: 40.55 MB / 0.7541 GB, free: 6.465 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01414/1.076, allocations: 12.49 MB / 0.7663 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.078, allocations: 1.684 MB / 0.7679 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004651/1.079, allocations: 57.7 kB / 0.768 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007268/1.079, allocations: 1.57 MB / 0.7695 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006779/1.08, allocations: 0.7092 MB / 0.7702 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/1.081, allocations: 0.7285 MB / 0.7709 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/1.081, allocations: 305.1 kB / 0.7712 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006724/1.088, allocations: 7.197 MB / 0.7782 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007974/1.096, allocations: 7.546 MB / 0.7856 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1249/1.221, allocations: 41.75 MB / 0.8264 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/1.221, allocations: 7.984 kB / 0.8264 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02566/1.247, allocations: 15.77 MB / 0.8418 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/1.247, allocations: 13.86 kB / 0.8418 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/1.247, allocations: 8 kB / 0.8418 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.015/1.262, allocations: 5.521 MB / 0.8472 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008893/1.271, allocations: 1.563 MB / 0.8487 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.287, allocations: 15.43 MB / 0.8638 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/1.291, allocations: 238.2 kB / 0.864 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.293, allocations: 0.4958 MB / 0.8645 GB, free: 5.27 MB / 0.6823 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.003542/1.296, allocations: 0.8539 MB / 0.8653 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.297, allocations: 208.1 kB / 0.8655 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01873/1.316, allocations: 11.67 MB / 0.8769 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.297/1.613, allocations: 9.341 MB / 0.886 GB, free: 312.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/1.613, allocations: 2.125 kB / 0.886 GB, free: 312.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-05/1.613, allocations: 11.3 kB / 0.8861 GB, free: 312.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.64, allocations: 16.12 MB / 0.9018 GB, free: 306.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/1.64, allocations: 8.25 kB / 0.9018 GB, free: 306.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00457/1.645, allocations: 0.7934 MB / 0.9026 GB, free: 306.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0145/1.659, allocations: 4.192 MB / 0.9067 GB, free: 305.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007227/1.66, allocations: 117.1 kB / 0.9068 GB, free: 305.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/1.675, allocations: 12.58 MB / 0.9191 GB, free: 297.4 MB / 0.698 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.001259/1.676, allocations: 0.7537 MB / 0.9198 GB, free: 296.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/1.693, allocations: 10.87 MB / 0.9304 GB, free: 292 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008364/1.694, allocations: 236.4 kB / 0.9306 GB, free: 292 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006036/1.695, allocations: 47.59 kB / 0.9307 GB, free: 292 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.696, allocations: 107.1 kB / 0.9308 GB, free: 291.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/1.696, allocations: 277.2 kB / 0.9311 GB, free: 291.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/1.697, allocations: 231.8 kB / 0.9313 GB, free: 291.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00177/1.698, allocations: 1.831 MB / 0.9331 GB, free: 291 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/1.698, allocations: 0 / 0.9331 GB, free: 291 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003671/1.702, allocations: 1.158 MB / 0.9342 GB, free: 290.9 MB / 0.698 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.0007833/1.703, allocations: 424.6 kB / 0.9346 GB, free: 290.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.714, allocations: 9.637 MB / 0.944 GB, free: 284.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.714, allocations: 0 / 0.944 GB, free: 284.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005/1.719, allocations: 3.234 MB / 0.9472 GB, free: 281.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/1.721, allocations: 476.2 kB / 0.9476 GB, free: 281.5 MB / 0.698 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: 3.767718489980325] Failed to read output from testmodel.py, exit status != 0: 1.728358370019123 1.7345973540000001 0.8659609620000001 Calling exit ...