Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001213/0.001213, 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.001279/0.001279, 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.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1228/0.1228, allocations: 17.46 MB / 277.7 MB, free: 11.42 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.GasSolubility_NIST_") translateModel(Chemical.Examples.GasSolubility_NIST_,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 1.125 kB / 300.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.457e-05, allocations: 3.297 kB / 300.8 MB, free: 1.75 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586: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 master/Interfaces.mo:1586:5-1586: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 master/Interfaces.mo:1842:5-1842: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 master/Interfaces.mo:1842:5-1842: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.03853/0.03856, allocations: 42.21 MB / 343 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3182/0.3567, allocations: 144.6 MB / 487.6 MB, free: 25.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.3591, allocations: 83.2 kB / 487.7 MB, free: 25.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.3622, allocations: 1.252 MB / 488.9 MB, free: 25.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.3667, allocations: 1.594 MB / 490.5 MB, free: 24.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.3707, allocations: 1.885 MB / 492.4 MB, free: 24.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004551/0.3752, allocations: 3.739 MB / 496.1 MB, free: 23.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008452/0.3761, allocations: 0.6296 MB / 496.8 MB, free: 23.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.3784, allocations: 1.904 MB / 498.7 MB, free: 23.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.38, allocations: 1.38 MB / 0.4883 GB, free: 23.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.3805, allocations: 293.6 kB / 0.4886 GB, free: 23.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.3835, allocations: 1.485 MB / 0.4901 GB, free: 22.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.384, allocations: 0.9723 MB / 0.491 GB, free: 22.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.3853, allocations: 1.092 MB / 0.4921 GB, free: 22.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004497/0.3898, allocations: 4.059 MB / 0.496 GB, free: 20.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3898, allocations: 0 / 0.496 GB, free: 20.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3898, allocations: 0 / 0.496 GB, free: 20.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3899, allocations: 0 / 0.496 GB, free: 20.24 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: 932 * Number of variables: 932 Notification: Performance of Generate backend data structure: time 0.003235/0.3932, allocations: 3.762 MB / 0.4997 GB, free: 17.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3932, allocations: 8.25 kB / 0.4997 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004113/0.3973, allocations: 1.367 MB / 0.5011 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.3998, allocations: 1.271 MB / 0.5023 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.4001, allocations: 410.8 kB / 0.5027 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.4004, allocations: 302.6 kB / 0.503 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.4047, allocations: 3.146 MB / 0.5061 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/0.4048, allocations: 192 / 0.5061 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.4049, allocations: 123.7 kB / 0.5062 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000428/0.4054, allocations: 472.1 kB / 0.5066 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.4102, allocations: 4.046 MB / 0.5106 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/0.4285, allocations: 10.21 MB / 0.5205 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.4298, allocations: 0.7323 MB / 0.5213 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.4305, allocations: 386.6 kB / 0.5216 GB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007735/0.4383, allocations: 5.096 MB / 0.5266 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.4383, allocations: 47.55 kB / 0.5266 GB, free: 15.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 2.805e-06/0.4383, allocations: 0 / 0.5266 GB, free: 15.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.03903/0.4773, allocations: 11.33 MB / 0.5377 GB, free: 4.246 MB / 426.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 inlineWhenForInitialization (initialization): time 0.00106/0.4784, allocations: 0.8561 MB / 0.5385 GB, free: 3.355 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.4796, allocations: 1.306 MB / 0.5398 GB, free: 2.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.4798, allocations: 53.7 kB / 0.5399 GB, free: 2.258 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/0.4805, allocations: 1.493 MB / 0.5413 GB, free: 0.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.481, allocations: 0.6054 MB / 0.5419 GB, free: 268 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008391/0.4818, allocations: 0.5334 MB / 0.5424 GB, free: 15.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.4819, allocations: 305.2 kB / 0.5427 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4833, allocations: 0.799 MB / 0.5435 GB, free: 14.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.485, allocations: 1.552 MB / 0.545 GB, free: 12.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.4884, allocations: 2.756 MB / 0.5477 GB, free: 9.773 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.4885, allocations: 8 kB / 0.5477 GB, free: 9.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005862/0.4943, allocations: 2.942 MB / 0.5506 GB, free: 6.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.4943, allocations: 16 kB / 0.5506 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.4944, allocations: 24 kB / 0.5506 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007711/0.5021, allocations: 2.514 MB / 0.5531 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005993/0.5081, allocations: 1.416 MB / 0.5545 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/0.5144, allocations: 6.351 MB / 0.5607 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.5163, allocations: 108 kB / 0.5608 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/0.5167, allocations: 339.8 kB / 0.5611 GB, free: 11.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (CO2_g_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,water_25.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 249 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,16), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001253/0.518, allocations: 263.8 kB / 0.5614 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005872/0.5186, allocations: 203.8 kB / 0.5615 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006656/0.5252, allocations: 3.517 MB / 0.565 GB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.5253, allocations: 16 kB / 0.565 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.5253, allocations: 0 / 0.565 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.5253, allocations: 11.97 kB / 0.565 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00941/0.5347, allocations: 4.747 MB / 0.5696 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5347, allocations: 4 kB / 0.5696 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004436/0.5391, allocations: 1.048 MB / 0.5707 GB, free: 2.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008605/0.5477, allocations: 2.916 MB / 0.5735 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/0.548, allocations: 67.95 kB / 0.5736 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006957/0.555, allocations: 6.997 MB / 0.5804 GB, free: 7.84 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.000944/0.5559, allocations: 0.7368 MB / 0.5811 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/0.5609, allocations: 2.488 MB / 0.5836 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.5613, allocations: 181.3 kB / 0.5837 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.5615, allocations: 47.89 kB / 0.5838 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.5621, allocations: 55.97 kB / 0.5838 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/0.5625, allocations: 168.9 kB / 0.584 GB, free: 4.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/0.5627, allocations: 155.9 kB / 0.5842 GB, free: 3.949 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007108/0.5634, allocations: 0.7063 MB / 0.5848 GB, free: 3.293 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5634, allocations: 0 / 0.5848 GB, free: 3.293 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002375/0.5657, allocations: 0.859 MB / 0.5857 GB, free: 2.434 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 ($STATESET1.x,CO2_dissolutionP.rear.n_flow,CO2_25.logn,water_25.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 130 * 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%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,17), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006656/0.5664, allocations: 439.1 kB / 0.5861 GB, free: 2.059 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004486/0.5709, allocations: 2.485 MB / 0.5885 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-05/0.5709, allocations: 25.81 kB / 0.5885 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.5735, allocations: 1.341 MB / 0.5899 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.5749, allocations: 0.5388 MB / 0.5904 GB, free: 13.7 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791: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.4096175371669233]