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.001088/0.001088, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001158/0.001158, allocations: 173 kB / 23.36 MB, free: 1.133 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.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.09307/0.09307, allocations: 17.38 MB / 277.6 MB, free: 11.51 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.615e-06/2.615e-06, allocations: 0.6562 kB / 300.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.775e-05, allocations: 2.859 kB / 300.6 MB, free: 1.855 MB / 266.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.03575/0.03577, allocations: 41.57 MB / 342.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3399/0.3757, allocations: 142.6 MB / 484.8 MB, free: 25.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.3773, allocations: 37.28 kB / 484.8 MB, free: 25.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.3796, allocations: 1.186 MB / 486 MB, free: 25.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.3815, allocations: 1.273 MB / 487.3 MB, free: 25.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.3841, allocations: 1.613 MB / 488.9 MB, free: 25.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.3866, allocations: 3.444 MB / 492.3 MB, free: 24.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.3872, allocations: 0.6283 MB / 493 MB, free: 23.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.3883, allocations: 1.752 MB / 494.7 MB, free: 23.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.3891, allocations: 1.018 MB / 495.7 MB, free: 23.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.3893, allocations: 300.8 kB / 496 MB, free: 23.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.391, allocations: 1.241 MB / 497.3 MB, free: 23.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.3914, allocations: 0.9285 MB / 498.2 MB, free: 23.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007249/0.3921, allocations: 1.052 MB / 499.2 MB, free: 23.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.3948, allocations: 3.919 MB / 0.4914 GB, free: 21.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3948, allocations: 0 / 0.4914 GB, free: 21.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3948, allocations: 0 / 0.4914 GB, free: 21.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.719e-05/0.3948, allocations: 0 / 0.4914 GB, free: 21.79 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.002992/0.3978, allocations: 3.66 MB / 0.4949 GB, free: 19.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3979, allocations: 10.72 kB / 0.495 GB, free: 19.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.3994, allocations: 1.366 MB / 0.4963 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.4005, allocations: 1.124 MB / 0.4974 GB, free: 17.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.4008, allocations: 0.525 MB / 0.4979 GB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.401, allocations: 297.7 kB / 0.4982 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.4035, allocations: 3.297 MB / 0.5014 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.4036, allocations: 192 / 0.5014 GB, free: 16.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4037, allocations: 121.8 kB / 0.5015 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003211/0.404, allocations: 491.6 kB / 0.502 GB, free: 16.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.407, allocations: 4.135 MB / 0.506 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.4198, allocations: 12.5 MB / 0.5182 GB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.4211, allocations: 0.7873 MB / 0.519 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.4219, allocations: 418.6 kB / 0.5194 GB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008482/0.4227, allocations: 0.6898 MB / 0.5201 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.4227, allocations: 47.81 kB / 0.5201 GB, free: 4.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=133): time 2.845e-06/0.4227, allocations: 0 / 0.5201 GB, free: 4.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.06174/0.4845, allocations: 14.27 MB / 0.534 GB, free: 6.375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007916/0.4924, allocations: 4.882 MB / 0.5388 GB, free: 1.336 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.4937, allocations: 1.326 MB / 0.5401 GB, free: 216 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006837/0.4944, allocations: 53.7 kB / 0.5402 GB, free: 156 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/0.4951, allocations: 1.326 MB / 0.5415 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00083/0.4959, allocations: 0.6962 MB / 0.5421 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.4972, allocations: 0.5379 MB / 0.5427 GB, free: 13.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.4973, allocations: 301.1 kB / 0.5429 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.4994, allocations: 0.9948 MB / 0.5439 GB, free: 12.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.5017, allocations: 1.343 MB / 0.5452 GB, free: 11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005976/0.5076, allocations: 3.744 MB / 0.5489 GB, free: 7.172 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.5077, allocations: 4 kB / 0.5489 GB, free: 7.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007674/0.5153, allocations: 3.268 MB / 0.5521 GB, free: 3.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5153, allocations: 11.94 kB / 0.5521 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.5154, allocations: 12 kB / 0.5521 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0123/0.5277, allocations: 3.909 MB / 0.5559 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008196/0.5359, allocations: 1.229 MB / 0.5571 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/0.5435, allocations: 6.211 MB / 0.5632 GB, free: 8.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.5462, allocations: 91.94 kB / 0.5633 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009164/0.5472, allocations: 483.7 kB / 0.5637 GB, free: 7.84 MB / 458.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.001909/0.5491, allocations: 222.3 kB / 0.5639 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.5502, allocations: 179.9 kB / 0.5641 GB, free: 7.438 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.5618, allocations: 4.447 MB / 0.5685 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006982/0.5688, allocations: 2.387 MB / 0.5708 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5688, allocations: 0 / 0.5708 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5688, allocations: 11.95 kB / 0.5708 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.5836, allocations: 6.359 MB / 0.577 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.5836, allocations: 8 kB / 0.577 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007084/0.5907, allocations: 0.7225 MB / 0.5777 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01804/0.6087, allocations: 3.467 MB / 0.5811 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007719/0.6095, allocations: 91.92 kB / 0.5812 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009404/0.6189, allocations: 7.728 MB / 0.5887 GB, free: 14 MB / 490.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.0009678/0.6199, allocations: 0.7391 MB / 0.5895 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006557/0.6264, allocations: 3.063 MB / 0.5925 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/0.6269, allocations: 201.4 kB / 0.5927 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.6272, allocations: 59.89 kB / 0.5927 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.6279, allocations: 59.97 kB / 0.5928 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004553/0.6283, allocations: 229.3 kB / 0.593 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/0.6286, allocations: 195.9 kB / 0.5932 GB, free: 9.312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009542/0.6295, allocations: 0.7423 MB / 0.5939 GB, free: 8.641 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6295, allocations: 0 / 0.5939 GB, free: 8.641 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003002/0.6325, allocations: 1.156 MB / 0.595 GB, free: 7.484 MB / 490.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.0009165/0.6334, allocations: 451 kB / 0.5955 GB, free: 7.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005431/0.6389, allocations: 2.574 MB / 0.598 GB, free: 4.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-05/0.6389, allocations: 20.5 kB / 0.598 GB, free: 4.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/0.6422, allocations: 1.54 MB / 0.5995 GB, free: 2.949 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.6442, allocations: 0.5494 MB / 0.6 GB, free: 2.434 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.4602236533537507]