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.0009915/0.0009915, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.004019/0.004019, allocations: 169 kB / 24.06 MB, free: 456 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 0.9707/0.9707, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.09524/0.09524, allocations: 17.46 MB / 278.5 MB, free: 11.41 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 1.403e-06/1.403e-06, allocations: 0 / 354.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.554e-05, allocations: 2.312 kB / 354.8 MB, free: 10.62 MB / 330.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.03242/0.03244, allocations: 36.35 MB / 391.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.333/0.3654, allocations: 142.3 MB / 0.5209 GB, free: 31.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.367, allocations: 84.31 kB / 0.521 GB, free: 31.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.3692, allocations: 1.214 MB / 0.5222 GB, free: 30.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.3715, allocations: 1.596 MB / 0.5238 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.3743, allocations: 1.882 MB / 0.5256 GB, free: 28.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.3778, allocations: 3.74 MB / 0.5292 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.3784, allocations: 0.6053 MB / 0.5298 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.3802, allocations: 1.908 MB / 0.5317 GB, free: 25.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.3819, allocations: 1.422 MB / 0.5331 GB, free: 25.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.3823, allocations: 295.2 kB / 0.5334 GB, free: 25.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.3847, allocations: 1.466 MB / 0.5348 GB, free: 24.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.3852, allocations: 0.9684 MB / 0.5357 GB, free: 24.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008752/0.386, allocations: 1.1 MB / 0.5368 GB, free: 23.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.3896, allocations: 4.055 MB / 0.5408 GB, free: 21.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3896, allocations: 0 / 0.5408 GB, free: 21.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3896, allocations: 0 / 0.5408 GB, free: 21.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.697e-05/0.3896, allocations: 0 / 0.5408 GB, free: 21.36 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.003991/0.3936, allocations: 4.154 MB / 0.5448 GB, free: 17.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3937, allocations: 8.031 kB / 0.5448 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.3954, allocations: 1.496 MB / 0.5463 GB, free: 16.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.3972, allocations: 1.87 MB / 0.5481 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.3974, allocations: 408.8 kB / 0.5485 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.3976, allocations: 304.3 kB / 0.5488 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.4007, allocations: 2.931 MB / 0.5517 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.4008, allocations: 4.188 kB / 0.5517 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.4009, allocations: 120.4 kB / 0.5518 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000357/0.4013, allocations: 467 kB / 0.5522 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003711/0.405, allocations: 4.237 MB / 0.5564 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.4201, allocations: 12.22 MB / 0.5683 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.4214, allocations: 0.818 MB / 0.5691 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.4222, allocations: 491.9 kB / 0.5696 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009704/0.4319, allocations: 6.101 MB / 0.5755 GB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.432, allocations: 54.33 kB / 0.5756 GB, free: 2.062 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 2.885e-06/0.432, allocations: 0 / 0.5756 GB, free: 2.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.04271/0.4747, allocations: 11.67 MB / 0.587 GB, free: 6.32 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 inlineWhenForInitialization (initialization): time 0.001336/0.476, allocations: 1.06 MB / 0.588 GB, free: 5.215 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.4776, allocations: 1.707 MB / 0.5897 GB, free: 3.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.4779, allocations: 53.7 kB / 0.5897 GB, free: 3.441 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009648/0.4789, allocations: 1.91 MB / 0.5916 GB, free: 1.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/0.4794, allocations: 0.6042 MB / 0.5922 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008961/0.4803, allocations: 0.6658 MB / 0.5928 GB, free: 228 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4804, allocations: 480.8 kB / 0.5933 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.4817, allocations: 0.9062 MB / 0.5942 GB, free: 14.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.4836, allocations: 2.013 MB / 0.5961 GB, free: 12.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.4871, allocations: 3.237 MB / 0.5993 GB, free: 8.641 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4871, allocations: 7.938 kB / 0.5993 GB, free: 8.633 MB / 458.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.006678/0.4938, allocations: 3.751 MB / 0.603 GB, free: 4.855 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4938, allocations: 16.94 kB / 0.603 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.4938, allocations: 24 kB / 0.603 GB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008249/0.502, allocations: 2.469 MB / 0.6054 GB, free: 2.336 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/0.5079, allocations: 1.213 MB / 0.6066 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2422/0.7501, allocations: 8.956 MB / 0.6154 GB, free: 56.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.7524, allocations: 102 kB / 0.6155 GB, free: 56.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/0.753, allocations: 382.5 kB / 0.6158 GB, free: 56.97 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.00129/0.7542, allocations: 311.6 kB / 0.6161 GB, free: 56.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/0.755, allocations: 286.1 kB / 0.6164 GB, free: 56.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00796/0.763, allocations: 4.206 MB / 0.6205 GB, free: 56.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.763, allocations: 16.41 kB / 0.6205 GB, free: 56.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.763, allocations: 3.156 kB / 0.6205 GB, free: 56.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.763, allocations: 10.08 kB / 0.6205 GB, free: 56.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.7747, allocations: 6.58 MB / 0.627 GB, free: 55.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7747, allocations: 4.438 kB / 0.627 GB, free: 55.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004123/0.7788, allocations: 0.8459 MB / 0.6278 GB, free: 55.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009301/0.7881, allocations: 2.756 MB / 0.6305 GB, free: 55.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004183/0.7885, allocations: 102.8 kB / 0.6306 GB, free: 55.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/0.7953, allocations: 9.67 MB / 0.64 GB, free: 47.65 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.0009533/0.7963, allocations: 0.932 MB / 0.6409 GB, free: 46.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006943/0.8032, allocations: 3.11 MB / 0.644 GB, free: 46.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.8037, allocations: 181 kB / 0.6441 GB, free: 46.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/0.804, allocations: 43.3 kB / 0.6442 GB, free: 46.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.8046, allocations: 56.09 kB / 0.6442 GB, free: 46.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/0.8051, allocations: 196.9 kB / 0.6444 GB, free: 46.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003126/0.8054, allocations: 185.8 kB / 0.6446 GB, free: 46.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.8064, allocations: 0.9388 MB / 0.6455 GB, free: 45.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8064, allocations: 0.625 kB / 0.6455 GB, free: 45.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003103/0.8095, allocations: 0.8644 MB / 0.6464 GB, free: 45.97 MB / 458.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.0007864/0.8103, allocations: 457.4 kB / 0.6468 GB, free: 45.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005667/0.816, allocations: 2.95 MB / 0.6497 GB, free: 45.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.816, allocations: 1.125 kB / 0.6497 GB, free: 45.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00292/0.8189, allocations: 1.636 MB / 0.6513 GB, free: 44.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.8206, allocations: 0.5577 MB / 0.6518 GB, free: 44.66 MB / 458.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.595047759823501]