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.001938/0.001938, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002578/0.002578, allocations: 204 kB / 20.09 MB, free: 2.977 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.73/1.73, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1527/0.1527, allocations: 23.86 MB / 333.4 MB, free: 1.219 MB / 254.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.002009/0.002009, allocations: 67.48 kB / 467.1 MB, free: 30.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1232, allocations: 59.83 MB / 0.5146 GB, free: 12.59 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.05355/0.1768, allocations: 33.09 MB / 0.5469 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5646/0.7414, allocations: 151.2 MB / 0.6946 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/0.745, allocations: 39.81 kB / 0.6947 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004693/0.7496, allocations: 1.247 MB / 0.6959 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.7549, allocations: 1.234 MB / 0.6971 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005344/0.7603, allocations: 1.618 MB / 0.6987 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00734/0.7676, allocations: 3.317 MB / 0.7019 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.7691, allocations: 0.657 MB / 0.7025 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.7713, allocations: 1.16 MB / 0.7037 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.7733, allocations: 1.381 MB / 0.705 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000446/0.7738, allocations: 300 kB / 0.7053 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005165/0.7789, allocations: 1.845 MB / 0.7071 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.7799, allocations: 0.9148 MB / 0.708 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.7822, allocations: 1.756 MB / 0.7097 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.7931, allocations: 5.437 MB / 0.715 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7931, allocations: 0 / 0.715 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7931, allocations: 4 kB / 0.715 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001117/0.7932, allocations: 0 / 0.715 GB, free: 2.191 MB / 0.4981 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.007819/0.801, allocations: 3.803 MB / 0.7187 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.8011, allocations: 8.031 kB / 0.7188 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.8029, allocations: 0.6589 MB / 0.7194 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.8056, allocations: 1.605 MB / 0.721 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/0.8062, allocations: 455.5 kB / 0.7214 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/0.8067, allocations: 296.3 kB / 0.7217 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.8226, allocations: 11.42 MB / 0.7328 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.8227, allocations: 0 / 0.7328 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.8229, allocations: 120 kB / 0.7329 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005719/0.8235, allocations: 482.9 kB / 0.7334 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/0.8476, allocations: 19.86 MB / 0.7528 GB, free: 11.32 MB / 0.545 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.04772/0.8953, allocations: 29.39 MB / 0.7815 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007508/0.9028, allocations: 5.266 MB / 0.7867 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005442/0.9083, allocations: 4.104 MB / 0.7907 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003372/0.9116, allocations: 1.83 MB / 0.7924 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.9117, allocations: 51.81 kB / 0.7925 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.446e-06/0.9117, allocations: 0 / 0.7925 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.4714/1.383, allocations: 40.52 MB / 0.8321 GB, free: 231.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02512/1.408, allocations: 12.75 MB / 0.8445 GB, free: 224.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/1.414, allocations: 3.6 MB / 0.848 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001078/1.415, allocations: 57.58 kB / 0.8481 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.416, allocations: 1.537 MB / 0.8496 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.418, allocations: 0.7006 MB / 0.8503 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/1.419, allocations: 0.719 MB / 0.851 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/1.42, allocations: 307.8 kB / 0.8513 GB, free: 221 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008807/1.428, allocations: 7.042 MB / 0.8581 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008501/1.437, allocations: 7.389 MB / 0.8654 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.226/1.663, allocations: 42.79 MB / 0.9072 GB, free: 172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/1.663, allocations: 1.969 kB / 0.9072 GB, free: 172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02468/1.688, allocations: 15.63 MB / 0.9224 GB, free: 156.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/1.688, allocations: 8 kB / 0.9224 GB, free: 156.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/1.688, allocations: 8 kB / 0.9224 GB, free: 156.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0226/1.71, allocations: 5.39 MB / 0.9277 GB, free: 151 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/1.725, allocations: 1.546 MB / 0.9292 GB, free: 149.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.741, allocations: 15.56 MB / 0.9444 GB, free: 133.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.747, allocations: 227 kB / 0.9446 GB, free: 133.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/1.749, allocations: 0.4997 MB / 0.9451 GB, free: 132.8 MB / 0.6075 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.003124/1.752, allocations: 0.8537 MB / 0.9459 GB, free: 132 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/1.753, allocations: 321.9 kB / 0.9462 GB, free: 131.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02512/1.778, allocations: 11.7 MB / 0.9577 GB, free: 120 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01923/1.798, allocations: 9.259 MB / 0.9667 GB, free: 110.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/1.798, allocations: 0 / 0.9667 GB, free: 110.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-05/1.798, allocations: 7.969 kB / 0.9667 GB, free: 110.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02895/1.827, allocations: 17.22 MB / 0.9835 GB, free: 93.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/1.827, allocations: 9.312 kB / 0.9835 GB, free: 93.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007604/1.834, allocations: 0.7634 MB / 0.9843 GB, free: 92.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02295/1.857, allocations: 4.16 MB / 0.9884 GB, free: 88.56 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005216/1.858, allocations: 123 kB / 0.9885 GB, free: 88.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.875, allocations: 13.36 MB / 1.002 GB, free: 74.55 MB / 0.6075 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.001995/1.877, allocations: 0.7638 MB / 1.002 GB, free: 73.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/1.896, allocations: 10.87 MB / 1.013 GB, free: 62.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.897, allocations: 0.5203 MB / 1.013 GB, free: 62.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009656/1.898, allocations: 53.92 kB / 1.013 GB, free: 62.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.9, allocations: 94.53 kB / 1.014 GB, free: 62.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007878/1.901, allocations: 264.1 kB / 1.014 GB, free: 61.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004178/1.902, allocations: 223.9 kB / 1.014 GB, free: 61.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004218/1.906, allocations: 3.212 MB / 1.017 GB, free: 58.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/1.906, allocations: 0 / 1.017 GB, free: 58.44 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003963/1.91, allocations: 1.19 MB / 1.018 GB, free: 57.27 MB / 0.6075 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.001007/1.911, allocations: 424.2 kB / 1.019 GB, free: 56.95 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01426/1.925, allocations: 9.423 MB / 1.028 GB, free: 47.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.925, allocations: 0 / 1.028 GB, free: 47.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007283/1.932, allocations: 3.178 MB / 1.031 GB, free: 44.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.936, allocations: 0.6973 MB / 1.032 GB, free: 43.7 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.908139484003186] Failed to read output from testmodel.py, exit status != 0: 1.9435787620022893 1.951566219 1.156336915 Calling exit ...