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.00121/0.00121, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00139/0.00139, allocations: 173 kB / 23.27 MB, free: 1.223 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.015/1.015, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.08897/0.08897, allocations: 17.38 MB / 277.6 MB, free: 11.46 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.754e-06/1.754e-06, allocations: 0 / 353.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.436e-05, allocations: 2.312 kB / 353.9 MB, free: 9.695 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.03398/0.034, allocations: 35.77 MB / 389.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2781/0.3121, allocations: 140.3 MB / 0.5175 GB, free: 8.641 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.3145, allocations: 35.81 kB / 0.5175 GB, free: 8.605 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.318, allocations: 1.147 MB / 0.5187 GB, free: 7.477 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.3218, allocations: 1.268 MB / 0.5199 GB, free: 6.199 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.3258, allocations: 1.595 MB / 0.5215 GB, free: 4.598 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005964/0.3318, allocations: 3.445 MB / 0.5248 GB, free: 1.145 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.3329, allocations: 0.5972 MB / 0.5254 GB, free: 0.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.3361, allocations: 1.754 MB / 0.5271 GB, free: 14.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.3377, allocations: 1.009 MB / 0.5281 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006007/0.3383, allocations: 303.9 kB / 0.5284 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.3413, allocations: 1.244 MB / 0.5296 GB, free: 12.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009628/0.3423, allocations: 0.9342 MB / 0.5305 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.3437, allocations: 1.056 MB / 0.5316 GB, free: 10.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.3491, allocations: 3.908 MB / 0.5354 GB, free: 6.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3492, allocations: 3.938 kB / 0.5354 GB, free: 6.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3492, allocations: 0 / 0.5354 GB, free: 6.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000124/0.3493, allocations: 0 / 0.5354 GB, free: 6.266 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.005125/0.3544, allocations: 4.05 MB / 0.5393 GB, free: 2.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3544, allocations: 12.03 kB / 0.5393 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.3563, allocations: 1.508 MB / 0.5408 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.3579, allocations: 1.37 MB / 0.5422 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.3582, allocations: 0.5279 MB / 0.5427 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.3585, allocations: 296.3 kB / 0.543 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003529/0.362, allocations: 3.091 MB / 0.546 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.362, allocations: 192 / 0.546 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.3622, allocations: 123.9 kB / 0.5461 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003284/0.3625, allocations: 482.9 kB / 0.5465 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.3665, allocations: 4.317 MB / 0.5508 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2209/0.5874, allocations: 15 MB / 0.5654 GB, free: 28.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.589, allocations: 0.9001 MB / 0.5663 GB, free: 28.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008734/0.5899, allocations: 0.5202 MB / 0.5668 GB, free: 28.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.5909, allocations: 0.7124 MB / 0.5675 GB, free: 28.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.5909, allocations: 55.7 kB / 0.5675 GB, free: 28.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 5.05e-06/0.5909, allocations: 0 / 0.5675 GB, free: 28.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.04908/0.64, allocations: 14.56 MB / 0.5818 GB, free: 27.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008758/0.6488, allocations: 6.459 MB / 0.5881 GB, free: 23.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.6501, allocations: 1.476 MB / 0.5895 GB, free: 23.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008953/0.651, allocations: 58.64 kB / 0.5896 GB, free: 23.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000772/0.6518, allocations: 1.717 MB / 0.5913 GB, free: 23.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/0.6527, allocations: 0.7056 MB / 0.5919 GB, free: 22.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/0.6542, allocations: 0.6803 MB / 0.5926 GB, free: 22.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.6542, allocations: 482.4 kB / 0.5931 GB, free: 22.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.6563, allocations: 1.16 MB / 0.5942 GB, free: 22.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.6585, allocations: 1.646 MB / 0.5958 GB, free: 21.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006613/0.6651, allocations: 4.159 MB / 0.5999 GB, free: 21.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.6651, allocations: 5.75 kB / 0.5999 GB, free: 21.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009104/0.6742, allocations: 4.23 MB / 0.604 GB, free: 20.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.6743, allocations: 15.53 kB / 0.604 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6743, allocations: 8 kB / 0.604 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/0.6854, allocations: 3.912 MB / 0.6078 GB, free: 18.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/0.6923, allocations: 1.489 MB / 0.6093 GB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/0.6998, allocations: 9.938 MB / 0.619 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/0.7026, allocations: 100.7 kB / 0.6191 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006572/0.7033, allocations: 491.8 kB / 0.6196 GB, free: 8.391 MB / 426.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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,3), (6,25), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001987/0.7053, allocations: 271 kB / 0.6198 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009684/0.7063, allocations: 267.9 kB / 0.6201 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008945/0.7152, allocations: 5.3 MB / 0.6253 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006145/0.7213, allocations: 3.093 MB / 0.6283 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.7214, allocations: 4 kB / 0.6283 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.7214, allocations: 11.95 kB / 0.6283 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.736, allocations: 8.219 MB / 0.6363 GB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.736, allocations: 9.203 kB / 0.6363 GB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003543/0.7396, allocations: 0.7768 MB / 0.6371 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01189/0.7515, allocations: 3.366 MB / 0.6404 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004972/0.7519, allocations: 119 kB / 0.6405 GB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009853/0.7618, allocations: 10.64 MB / 0.6509 GB, free: 8.34 MB / 458.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.00125/0.7631, allocations: 0.9381 MB / 0.6518 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007595/0.7706, allocations: 3.684 MB / 0.6554 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.7712, allocations: 222.2 kB / 0.6556 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.7715, allocations: 55.94 kB / 0.6557 GB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.7723, allocations: 55.98 kB / 0.6557 GB, free: 3.266 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005095/0.7728, allocations: 257.4 kB / 0.656 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/0.773, allocations: 215.9 kB / 0.6562 GB, free: 2.812 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009684/0.774, allocations: 0.9861 MB / 0.6571 GB, free: 1.898 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.774, allocations: 0 / 0.6571 GB, free: 1.898 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003118/0.7771, allocations: 1.129 MB / 0.6582 GB, free: 0.7695 MB / 458.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.0008716/0.778, allocations: 451.1 kB / 0.6587 GB, free: 400 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006685/0.7847, allocations: 2.804 MB / 0.6614 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.7847, allocations: 4.125 kB / 0.6614 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.7882, allocations: 1.835 MB / 0.6632 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.7901, allocations: 0.5769 MB / 0.6638 GB, free: 11.27 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.5727823311463]