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.0007691/0.0007691, allocations: 93.06 kB / 19.65 MB, free: 280 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.0008925/0.0008925, allocations: 173 kB / 23.03 MB, free: 1.547 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.1007/0.1007, allocations: 17.38 MB / 277.3 MB, free: 11.64 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 353.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.745e-05, allocations: 2.312 kB / 353.4 MB, free: 9.988 MB / 282.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.03919/0.03922, allocations: 35.98 MB / 389.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3145/0.3538, allocations: 143 MB / 0.5199 GB, free: 6.254 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.3559, allocations: 35.81 kB / 0.52 GB, free: 6.219 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.3592, allocations: 1.143 MB / 0.5211 GB, free: 5.094 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.3622, allocations: 1.268 MB / 0.5223 GB, free: 3.816 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.3657, allocations: 1.613 MB / 0.5239 GB, free: 2.199 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004156/0.3699, allocations: 3.431 MB / 0.5272 GB, free: 14.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008555/0.3707, allocations: 0.6011 MB / 0.5278 GB, free: 14.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.3727, allocations: 1.754 MB / 0.5295 GB, free: 12.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.374, allocations: 1.013 MB / 0.5305 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005555/0.3745, allocations: 300 kB / 0.5308 GB, free: 11.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.3771, allocations: 1.244 MB / 0.532 GB, free: 9.797 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005306/0.3776, allocations: 0.9342 MB / 0.5329 GB, free: 8.859 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.3791, allocations: 1.052 MB / 0.534 GB, free: 7.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004497/0.3836, allocations: 3.916 MB / 0.5378 GB, free: 3.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3836, allocations: 0 / 0.5378 GB, free: 3.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3836, allocations: 0 / 0.5378 GB, free: 3.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001527/0.3838, allocations: 0 / 0.5378 GB, free: 3.875 MB / 410.7 MB 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.004804/0.3886, allocations: 4.019 MB / 0.5417 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3886, allocations: 8.031 kB / 0.5417 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.3904, allocations: 1.516 MB / 0.5432 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.3918, allocations: 1.408 MB / 0.5446 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.3922, allocations: 0.5318 MB / 0.5451 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.3924, allocations: 304.2 kB / 0.5454 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/0.3966, allocations: 3.791 MB / 0.5491 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.3966, allocations: 4.188 kB / 0.5491 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.3968, allocations: 120.3 kB / 0.5492 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003233/0.3971, allocations: 494.8 kB / 0.5497 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005769/0.4028, allocations: 5.467 MB / 0.555 GB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.262/0.6648, allocations: 15.87 MB / 0.5705 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.667, allocations: 1.004 MB / 0.5715 GB, free: 27.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.6683, allocations: 0.6021 MB / 0.5721 GB, free: 27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.6693, allocations: 0.6944 MB / 0.5728 GB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.6694, allocations: 59.08 kB / 0.5728 GB, free: 26.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 4.959e-06/0.6694, allocations: 0 / 0.5728 GB, free: 26.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.05745/0.7268, allocations: 17.01 MB / 0.5894 GB, free: 25.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01013/0.737, allocations: 6.655 MB / 0.5959 GB, free: 21.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.7389, allocations: 1.516 MB / 0.5974 GB, free: 21.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001259/0.7401, allocations: 59.33 kB / 0.5975 GB, free: 21.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.7413, allocations: 1.708 MB / 0.5991 GB, free: 20.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/0.7425, allocations: 0.6925 MB / 0.5998 GB, free: 20.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.7441, allocations: 0.6729 MB / 0.6005 GB, free: 20.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.7442, allocations: 479.3 kB / 0.6009 GB, free: 19.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/0.7469, allocations: 1.276 MB / 0.6022 GB, free: 19.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/0.7497, allocations: 1.746 MB / 0.6039 GB, free: 19.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007353/0.757, allocations: 4.475 MB / 0.6082 GB, free: 18.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/0.757, allocations: 0 / 0.6082 GB, free: 18.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009964/0.767, allocations: 4.485 MB / 0.6126 GB, free: 15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.767, allocations: 16.83 kB / 0.6126 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.7671, allocations: 9.094 kB / 0.6126 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.7786, allocations: 4.185 MB / 0.6167 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007295/0.7859, allocations: 1.549 MB / 0.6182 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007517/0.7934, allocations: 8.967 MB / 0.627 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/0.7964, allocations: 230.8 kB / 0.6272 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006204/0.797, allocations: 0.4968 MB / 0.6277 GB, free: 15.79 MB / 442.7 MB 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.001776/0.7988, allocations: 278 kB / 0.628 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009781/0.7997, allocations: 265.8 kB / 0.6282 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.8112, allocations: 5.765 MB / 0.6339 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008156/0.8194, allocations: 3.588 MB / 0.6374 GB, free: 5.973 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.8194, allocations: 4 kB / 0.6374 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.8194, allocations: 12.67 kB / 0.6374 GB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/0.8356, allocations: 9.296 MB / 0.6465 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.8356, allocations: 8 kB / 0.6465 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/0.8392, allocations: 0.7839 MB / 0.6472 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01288/0.8521, allocations: 3.676 MB / 0.6508 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006726/0.8527, allocations: 127.9 kB / 0.6509 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.8644, allocations: 10.89 MB / 0.6616 GB, free: 12.64 MB / 474.7 MB 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.00115/0.8655, allocations: 0.9473 MB / 0.6625 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009123/0.8747, allocations: 4.1 MB / 0.6665 GB, free: 7.414 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/0.8753, allocations: 230.8 kB / 0.6667 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.8756, allocations: 55.91 kB / 0.6668 GB, free: 7.133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007813/0.8764, allocations: 99.91 kB / 0.6669 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/0.877, allocations: 258.1 kB / 0.6671 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/0.8773, allocations: 219.9 kB / 0.6673 GB, free: 6.578 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.8785, allocations: 1.126 MB / 0.6684 GB, free: 5.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.8785, allocations: 0 / 0.6684 GB, free: 5.457 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003694/0.8822, allocations: 1.152 MB / 0.6696 GB, free: 4.305 MB / 474.7 MB 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.0009467/0.8831, allocations: 424 kB / 0.67 GB, free: 3.945 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007671/0.8908, allocations: 3.244 MB / 0.6731 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.8908, allocations: 0 / 0.6731 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004299/0.8951, allocations: 1.993 MB / 0.6751 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.8972, allocations: 0.5801 MB / 0.6756 GB, free: 14.17 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.7223557010293007]