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.00104/0.00104, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001748/0.001748, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.105/1.105, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.09706/0.09706, allocations: 17.38 MB / 278.4 MB, free: 11.5 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 2.144e-06/2.144e-06, allocations: 0 / 354.6 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.811e-05, allocations: 5.125 kB / 354.6 MB, free: 9.715 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.03794/0.03796, allocations: 35.76 MB / 390.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3018/0.3398, allocations: 140.3 MB / 0.5183 GB, free: 8.648 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.3417, allocations: 39.81 kB / 0.5183 GB, free: 8.609 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.3445, allocations: 1.143 MB / 0.5194 GB, free: 7.488 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.3481, allocations: 1.272 MB / 0.5207 GB, free: 6.207 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.3513, allocations: 1.598 MB / 0.5222 GB, free: 4.605 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004256/0.3556, allocations: 3.439 MB / 0.5256 GB, free: 1.156 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007984/0.3564, allocations: 0.5972 MB / 0.5262 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.3582, allocations: 1.758 MB / 0.5279 GB, free: 14.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3594, allocations: 1.009 MB / 0.5289 GB, free: 13.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.3598, allocations: 300 kB / 0.5291 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.3626, allocations: 1.244 MB / 0.5304 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005752/0.3632, allocations: 0.9382 MB / 0.5313 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.3643, allocations: 1.056 MB / 0.5323 GB, free: 10.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004789/0.3691, allocations: 3.908 MB / 0.5361 GB, free: 6.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3691, allocations: 0 / 0.5361 GB, free: 6.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3691, allocations: 4 kB / 0.5361 GB, free: 6.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.54e-05/0.3692, allocations: 0 / 0.5361 GB, free: 6.273 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.005172/0.3743, allocations: 4.046 MB / 0.5401 GB, free: 2.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3744, allocations: 8.031 kB / 0.5401 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.3768, allocations: 1.512 MB / 0.5416 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.3787, allocations: 1.365 MB / 0.5429 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.3792, allocations: 0.5357 MB / 0.5434 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/0.3795, allocations: 296.3 kB / 0.5437 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/0.3835, allocations: 3.076 MB / 0.5467 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.3835, allocations: 4.188 kB / 0.5467 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.3837, allocations: 120.3 kB / 0.5468 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004593/0.3842, allocations: 490.8 kB / 0.5473 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/0.389, allocations: 4.324 MB / 0.5515 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2366/0.6257, allocations: 14.99 MB / 0.5662 GB, free: 28.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.6276, allocations: 0.9033 MB / 0.567 GB, free: 28.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/0.6286, allocations: 0.5226 MB / 0.5675 GB, free: 28.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.6296, allocations: 0.6876 MB / 0.5682 GB, free: 28.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6296, allocations: 50.02 kB / 0.5683 GB, free: 28.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=133): time 3.617e-06/0.6296, allocations: 0 / 0.5683 GB, free: 28.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.05388/0.6835, allocations: 14.55 MB / 0.5825 GB, free: 27.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009161/0.6927, allocations: 6.469 MB / 0.5888 GB, free: 23.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.6941, allocations: 1.468 MB / 0.5902 GB, free: 23.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001041/0.6951, allocations: 61.59 kB / 0.5903 GB, free: 23.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000788/0.6959, allocations: 1.713 MB / 0.592 GB, free: 23.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.697, allocations: 0.7092 MB / 0.5926 GB, free: 22.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.6985, allocations: 0.6793 MB / 0.5933 GB, free: 22.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.6985, allocations: 476.8 kB / 0.5938 GB, free: 22.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.7005, allocations: 1.165 MB / 0.5949 GB, free: 22.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.703, allocations: 1.65 MB / 0.5965 GB, free: 21.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/0.7104, allocations: 4.157 MB / 0.6006 GB, free: 21.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.7104, allocations: 1.891 kB / 0.6006 GB, free: 21.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.0108/0.7212, allocations: 4.228 MB / 0.6047 GB, free: 20.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.7213, allocations: 8.688 kB / 0.6047 GB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.7213, allocations: 8 kB / 0.6047 GB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/0.7339, allocations: 3.917 MB / 0.6085 GB, free: 18.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007914/0.7418, allocations: 1.487 MB / 0.61 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007961/0.7498, allocations: 8.777 MB / 0.6186 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.7531, allocations: 96.44 kB / 0.6187 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006954/0.7538, allocations: 498.4 kB / 0.6191 GB, free: 9.492 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): 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.002156/0.756, allocations: 268.3 kB / 0.6194 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/0.757, allocations: 275.8 kB / 0.6197 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.7671, allocations: 5.289 MB / 0.6248 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007109/0.7743, allocations: 3.098 MB / 0.6278 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.7743, allocations: 0 / 0.6278 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.7743, allocations: 12.97 kB / 0.6279 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.7903, allocations: 8.215 MB / 0.6359 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.7903, allocations: 8 kB / 0.6359 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003996/0.7943, allocations: 0.7799 MB / 0.6367 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/0.8075, allocations: 3.372 MB / 0.6399 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006776/0.8082, allocations: 115.9 kB / 0.6401 GB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.8191, allocations: 10.64 MB / 0.6504 GB, free: 9.531 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.00121/0.8203, allocations: 0.9378 MB / 0.6514 GB, free: 8.578 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0081/0.8284, allocations: 3.682 MB / 0.655 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/0.829, allocations: 213.6 kB / 0.6552 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/0.8294, allocations: 55.94 kB / 0.6552 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.8301, allocations: 55.98 kB / 0.6553 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005576/0.8307, allocations: 255.8 kB / 0.6555 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/0.831, allocations: 219.9 kB / 0.6557 GB, free: 4.012 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.832, allocations: 0.9913 MB / 0.6567 GB, free: 3.098 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.832, allocations: 0 / 0.6567 GB, free: 3.098 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003727/0.8357, allocations: 1.161 MB / 0.6578 GB, free: 1.938 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.0009504/0.8367, allocations: 451.2 kB / 0.6583 GB, free: 1.555 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007213/0.8439, allocations: 3.003 MB / 0.6612 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.8439, allocations: 4 kB / 0.6612 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/0.8477, allocations: 1.831 MB / 0.663 GB, free: 12.78 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.8498, allocations: 0.5841 MB / 0.6635 GB, free: 12.22 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.7683239011093974]