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.001413/0.001413, allocations: 92.7 kB / 19.44 MB, free: 320 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.00161/0.00161, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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.1516/0.1516, allocations: 17.37 MB / 276.9 MB, free: 11.65 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.904e-06/1.904e-06, allocations: 0 / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.87e-05, allocations: 2.312 kB / 352.7 MB, free: 10.31 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.04669/0.04671, allocations: 32.04 MB / 384.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.334/0.3807, allocations: 129.6 MB / 0.5023 GB, free: 5.395 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/0.3834, allocations: 39.81 kB / 0.5023 GB, free: 5.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004632/0.3881, allocations: 1.15 MB / 0.5034 GB, free: 4.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.393, allocations: 1.26 MB / 0.5047 GB, free: 2.957 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005103/0.3981, allocations: 1.552 MB / 0.5062 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006917/0.405, allocations: 3.442 MB / 0.5095 GB, free: 13.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.4067, allocations: 0.5967 MB / 0.5101 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.4108, allocations: 1.754 MB / 0.5118 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.4135, allocations: 0.9932 MB / 0.5128 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009307/0.4144, allocations: 307.9 kB / 0.5131 GB, free: 10.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/0.4191, allocations: 1.24 MB / 0.5143 GB, free: 9.008 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.4208, allocations: 0.9342 MB / 0.5152 GB, free: 8.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003575/0.4244, allocations: 1.052 MB / 0.5163 GB, free: 7.016 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4382, allocations: 5.269 MB / 0.5214 GB, free: 1.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.4382, allocations: 0 / 0.5214 GB, free: 1.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4382, allocations: 0 / 0.5214 GB, free: 1.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001894/0.4384, allocations: 0 / 0.5214 GB, free: 1.73 MB / 394.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.009515/0.4479, allocations: 3.685 MB / 0.525 GB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.448, allocations: 8.031 kB / 0.525 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/0.4519, allocations: 1.563 MB / 0.5265 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.4556, allocations: 1.562 MB / 0.5281 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008051/0.4564, allocations: 0.5357 MB / 0.5286 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005662/0.457, allocations: 296.3 kB / 0.5289 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/0.4756, allocations: 11.97 MB / 0.5405 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.499e-05/0.4756, allocations: 192 / 0.5405 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006999/0.4763, allocations: 120.3 kB / 0.5407 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007331/0.4771, allocations: 494.8 kB / 0.5411 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02959/0.5067, allocations: 20.73 MB / 0.5614 GB, free: 8.613 MB / 442.7 MB 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.2357/0.7424, allocations: 27.28 MB / 0.588 GB, free: 161.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/0.7482, allocations: 5.362 MB / 0.5933 GB, free: 157 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004245/0.7525, allocations: 4.197 MB / 0.5974 GB, free: 152.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/0.7543, allocations: 0.7049 MB / 0.598 GB, free: 152.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.7544, allocations: 47.81 kB / 0.5981 GB, free: 152.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 3.407e-06/0.7544, allocations: 3.125 kB / 0.5981 GB, free: 152.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=200): time 0.1207/0.875, allocations: 40.58 MB / 0.6377 GB, free: 111.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02116/0.8962, allocations: 12.54 MB / 0.65 GB, free: 99.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.898, allocations: 1.674 MB / 0.6516 GB, free: 97.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/0.8991, allocations: 61.38 kB / 0.6517 GB, free: 97.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007376/0.8998, allocations: 1.576 MB / 0.6532 GB, free: 96.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.9008, allocations: 0.6961 MB / 0.6539 GB, free: 95.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001944/0.9028, allocations: 0.7257 MB / 0.6546 GB, free: 94.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.9028, allocations: 311.8 kB / 0.6549 GB, free: 94.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007671/0.9105, allocations: 7.186 MB / 0.6619 GB, free: 87.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008158/0.9187, allocations: 7.55 MB / 0.6693 GB, free: 79.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2107/1.129, allocations: 41.75 MB / 0.71 GB, free: 38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/1.129, allocations: 4 kB / 0.7101 GB, free: 38 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.02648/1.156, allocations: 16.01 MB / 0.7257 GB, free: 22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.156, allocations: 8 kB / 0.7257 GB, free: 21.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1.156, allocations: 12 kB / 0.7257 GB, free: 21.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02511/1.181, allocations: 6.645 MB / 0.7322 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01497/1.196, allocations: 1.561 MB / 0.7337 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1835/1.379, allocations: 15.45 MB / 0.7488 GB, free: 162.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005326/1.385, allocations: 237.5 kB / 0.749 GB, free: 162.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.386, allocations: 0.507 MB / 0.7495 GB, free: 162.1 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.002567/1.389, allocations: 0.8553 MB / 0.7504 GB, free: 162 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/1.39, allocations: 266.9 kB / 0.7506 GB, free: 162 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02726/1.417, allocations: 11.67 MB / 0.762 GB, free: 158.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01868/1.436, allocations: 9.344 MB / 0.7711 GB, free: 153.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.436, allocations: 6.625 kB / 0.7711 GB, free: 153.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.436, allocations: 7.969 kB / 0.7712 GB, free: 153.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.462, allocations: 16.24 MB / 0.787 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/1.462, allocations: 8 kB / 0.787 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007778/1.47, allocations: 0.7933 MB / 0.7878 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02652/1.497, allocations: 4.636 MB / 0.7923 GB, free: 131.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/1.497, allocations: 119.9 kB / 0.7924 GB, free: 131.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/1.515, allocations: 12.62 MB / 0.8048 GB, free: 118.6 MB / 442.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.002042/1.517, allocations: 0.7569 MB / 0.8055 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.537, allocations: 10.91 MB / 0.8162 GB, free: 106.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008333/1.538, allocations: 235.3 kB / 0.8164 GB, free: 106.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008852/1.539, allocations: 51.98 kB / 0.8164 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.542, allocations: 103.9 kB / 0.8165 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/1.543, allocations: 277.3 kB / 0.8168 GB, free: 106.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005741/1.543, allocations: 223.9 kB / 0.817 GB, free: 106.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002542/1.546, allocations: 1.835 MB / 0.8188 GB, free: 104.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/1.546, allocations: 0 / 0.8188 GB, free: 104.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004195/1.55, allocations: 1.162 MB / 0.8199 GB, free: 103.1 MB / 442.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.0009952/1.551, allocations: 441 kB / 0.8203 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01546/1.566, allocations: 9.636 MB / 0.8298 GB, free: 93.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/1.566, allocations: 2.656 kB / 0.8298 GB, free: 93.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00801/1.574, allocations: 3.228 MB / 0.8329 GB, free: 89.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.578, allocations: 0.5798 MB / 0.8335 GB, free: 89.34 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846: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.8883040610235184]