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.001465/0.001465, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001737/0.001737, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.35/1.35, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.1208/0.1208, allocations: 17.36 MB / 277.1 MB, free: 15.29 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.002006/0.002006, allocations: 62.41 kB / 412.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.111, allocations: 59.85 MB / 472.3 MB, free: 9.797 MB / 446.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.2702/0.3812, allocations: 31.54 MB / 0.492 GB, free: 37.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1486/0.5298, allocations: 129.6 MB / 0.6185 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.5314, allocations: 39.75 kB / 0.6185 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.5349, allocations: 1.141 MB / 0.6197 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.5381, allocations: 1.21 MB / 0.6208 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.5417, allocations: 1.54 MB / 0.6223 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004404/0.5461, allocations: 3.32 MB / 0.6256 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.547, allocations: 0.5968 MB / 0.6262 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.5484, allocations: 1.164 MB / 0.6273 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.5498, allocations: 1.185 MB / 0.6285 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003518/0.5501, allocations: 304 kB / 0.6288 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.5531, allocations: 1.233 MB / 0.63 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007708/0.5539, allocations: 0.9226 MB / 0.6309 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.5552, allocations: 1.317 MB / 0.6321 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006235/0.5614, allocations: 5.281 MB / 0.6373 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5614, allocations: 0 / 0.6373 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5614, allocations: 0 / 0.6373 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.716e-05/0.5614, allocations: 0 / 0.6373 GB, free: 10.59 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.00555/0.567, allocations: 3.732 MB / 0.641 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.567, allocations: 8.031 kB / 0.641 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.5693, allocations: 0.7479 MB / 0.6417 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.5716, allocations: 1.559 MB / 0.6432 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004991/0.5721, allocations: 0.5318 MB / 0.6437 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/0.5725, allocations: 292.3 kB / 0.644 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.5856, allocations: 11.97 MB / 0.6557 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/0.5857, allocations: 0 / 0.6557 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.5859, allocations: 123.9 kB / 0.6558 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000511/0.5864, allocations: 486.9 kB / 0.6563 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/0.608, allocations: 20.74 MB / 0.6765 GB, free: 2.234 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.3004/0.9085, allocations: 27.14 MB / 0.703 GB, free: 67.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005479/0.914, allocations: 5.369 MB / 0.7083 GB, free: 67.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/0.9181, allocations: 4.185 MB / 0.7124 GB, free: 67.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.9198, allocations: 0.7032 MB / 0.7131 GB, free: 67.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.9199, allocations: 45.47 kB / 0.7131 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.366e-06/0.9199, allocations: 0 / 0.7131 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.1276/1.047, allocations: 40.54 MB / 0.7527 GB, free: 56.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01935/1.067, allocations: 12.5 MB / 0.7649 GB, free: 48.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/1.069, allocations: 1.678 MB / 0.7665 GB, free: 47.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008773/1.07, allocations: 56.48 kB / 0.7666 GB, free: 47.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/1.07, allocations: 1.574 MB / 0.7681 GB, free: 46.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009011/1.071, allocations: 0.7063 MB / 0.7688 GB, free: 45.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/1.073, allocations: 0.726 MB / 0.7695 GB, free: 45.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/1.073, allocations: 309.2 kB / 0.7698 GB, free: 45.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007411/1.08, allocations: 7.193 MB / 0.7769 GB, free: 41.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007429/1.088, allocations: 7.553 MB / 0.7842 GB, free: 35.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2154/1.303, allocations: 41.74 MB / 0.825 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/1.303, allocations: 4 kB / 0.825 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02923/1.332, allocations: 15.79 MB / 0.8404 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.333, allocations: 8 kB / 0.8404 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.333, allocations: 8 kB / 0.8404 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02437/1.357, allocations: 5.508 MB / 0.8458 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0151/1.372, allocations: 1.57 MB / 0.8473 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/1.393, allocations: 15.44 MB / 0.8624 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/1.399, allocations: 246.5 kB / 0.8627 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.4, allocations: 0.4958 MB / 0.8631 GB, free: 2.727 MB / 0.6231 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.002587/1.402, allocations: 0.8456 MB / 0.864 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.403, allocations: 206.6 kB / 0.8642 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02735/1.431, allocations: 11.67 MB / 0.8756 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02173/1.453, allocations: 9.347 MB / 0.8847 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.453, allocations: 1.203 kB / 0.8847 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/1.453, allocations: 11.97 kB / 0.8847 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.486, allocations: 16.12 MB / 0.9004 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.486, allocations: 10.69 kB / 0.9004 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008021/1.494, allocations: 0.7848 MB / 0.9012 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02451/1.519, allocations: 4.208 MB / 0.9053 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000389/1.519, allocations: 115.9 kB / 0.9054 GB, free: 7.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/1.54, allocations: 12.56 MB / 0.9177 GB, free: 10.61 MB / 0.6856 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.00218/1.542, allocations: 0.7607 MB / 0.9184 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/1.565, allocations: 10.87 MB / 0.9291 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/1.566, allocations: 240.9 kB / 0.9293 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/1.566, allocations: 59.88 kB / 0.9293 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/1.568, allocations: 99.89 kB / 0.9294 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006564/1.569, allocations: 283.7 kB / 0.9297 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004026/1.569, allocations: 219.9 kB / 0.9299 GB, free: 14 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002685/1.572, allocations: 1.834 MB / 0.9317 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/1.572, allocations: 2.656 kB / 0.9317 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003544/1.575, allocations: 1.148 MB / 0.9328 GB, free: 11.03 MB / 0.7012 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.000844/1.576, allocations: 422.7 kB / 0.9332 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01765/1.594, allocations: 9.643 MB / 0.9427 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.594, allocations: 0 / 0.9427 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00833/1.602, allocations: 3.223 MB / 0.9458 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/1.604, allocations: 477.3 kB / 0.9463 GB, free: 13.49 MB / 0.7169 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.0473537689540535] Failed to read output from testmodel.py, exit status != 0: 1.613291313056834 1.795256555 1.062818779 Calling exit ...