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.001133/0.001133, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.00123/0.00123, allocations: 177 kB / 23.02 MB, free: 1.539 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09598/0.09598, allocations: 17.46 MB / 277.4 MB, free: 11.55 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.754e-06/1.754e-06, allocations: 0 / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.446e-05, allocations: 13.06 kB / 353.5 MB, free: 9.844 MB / 282.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.05768/0.0577, allocations: 36.56 MB / 390.1 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3011/0.3588, allocations: 145 MB / 0.5226 GB, free: 3.727 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.361, allocations: 83.31 kB / 0.5226 GB, free: 3.645 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.3641, allocations: 1.213 MB / 0.5238 GB, free: 2.449 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.3675, allocations: 1.606 MB / 0.5254 GB, free: 0.832 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.3714, allocations: 1.882 MB / 0.5272 GB, free: 14.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004026/0.3754, allocations: 3.747 MB / 0.5309 GB, free: 11.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.3765, allocations: 0.6051 MB / 0.5315 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.3786, allocations: 1.914 MB / 0.5334 GB, free: 8.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.3804, allocations: 1.41 MB / 0.5347 GB, free: 7.199 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.3808, allocations: 295.9 kB / 0.535 GB, free: 6.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.3836, allocations: 1.47 MB / 0.5365 GB, free: 5.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.3842, allocations: 0.9732 MB / 0.5374 GB, free: 4.461 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.3854, allocations: 1.095 MB / 0.5385 GB, free: 3.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.3895, allocations: 4.05 MB / 0.5424 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3895, allocations: 0 / 0.5424 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3895, allocations: 3.938 kB / 0.5424 GB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.264e-05/0.3896, allocations: 0 / 0.5424 GB, free: 15.29 MB / 426.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.004081/0.3937, allocations: 4.11 MB / 0.5464 GB, free: 11.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.3937, allocations: 12.03 kB / 0.5465 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.3955, allocations: 1.493 MB / 0.5479 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.3971, allocations: 1.89 MB / 0.5498 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/0.3974, allocations: 408.8 kB / 0.5502 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.3977, allocations: 307.3 kB / 0.5504 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.4016, allocations: 3.597 MB / 0.554 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.4016, allocations: 4.188 kB / 0.554 GB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.4018, allocations: 124.3 kB / 0.5541 GB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/0.4021, allocations: 463 kB / 0.5545 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2179/0.62, allocations: 5.344 MB / 0.5597 GB, free: 25.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.6356, allocations: 12.89 MB / 0.5723 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6369, allocations: 0.9259 MB / 0.5732 GB, free: 24.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.6377, allocations: 0.5743 MB / 0.5738 GB, free: 24.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008295/0.646, allocations: 6.236 MB / 0.5799 GB, free: 23.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.6461, allocations: 52.77 kB / 0.5799 GB, free: 23.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.096e-06/0.6461, allocations: 0 / 0.5799 GB, free: 23.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.03833/0.6844, allocations: 13.18 MB / 0.5928 GB, free: 22.37 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.001102/0.6855, allocations: 1.062 MB / 0.5938 GB, free: 21.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.6872, allocations: 1.721 MB / 0.5955 GB, free: 21.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.6874, allocations: 55.8 kB / 0.5956 GB, free: 21.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008825/0.6883, allocations: 1.891 MB / 0.5974 GB, free: 20.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.6887, allocations: 0.6054 MB / 0.598 GB, free: 20.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009639/0.6897, allocations: 0.6535 MB / 0.5986 GB, free: 19.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.6898, allocations: 476.8 kB / 0.5991 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.6913, allocations: 1 MB / 0.6001 GB, free: 19.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.6933, allocations: 2.092 MB / 0.6021 GB, free: 17.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/0.6971, allocations: 3.423 MB / 0.6055 GB, free: 15.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.6971, allocations: 7 kB / 0.6055 GB, free: 15.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.006934/0.7041, allocations: 3.98 MB / 0.6094 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.7041, allocations: 17.75 kB / 0.6094 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/0.7042, allocations: 31.09 kB / 0.6094 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008022/0.7122, allocations: 2.567 MB / 0.6119 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005152/0.7173, allocations: 1.236 MB / 0.6131 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/0.7232, allocations: 9.124 MB / 0.622 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.725, allocations: 130.6 kB / 0.6222 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003604/0.7254, allocations: 403 kB / 0.6225 GB, free: 3.176 MB / 426.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 (water_25.substanceDefinitionVar.SelfClustering,water_25.substanceDefinitionVar.data.phase,CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * 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.001318/0.7267, allocations: 304.1 kB / 0.6228 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007142/0.7274, allocations: 287.8 kB / 0.6231 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.7375, allocations: 4.55 MB / 0.6275 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.7375, allocations: 20 kB / 0.6276 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7375, allocations: 4 kB / 0.6276 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.7375, allocations: 11.95 kB / 0.6276 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.7523, allocations: 7.495 MB / 0.6349 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.7523, allocations: 4 kB / 0.6349 GB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005374/0.7577, allocations: 0.849 MB / 0.6357 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01176/0.7694, allocations: 2.86 MB / 0.6385 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/0.7697, allocations: 101 kB / 0.6386 GB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.7798, allocations: 9.874 MB / 0.6483 GB, free: 8.438 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.001263/0.7811, allocations: 0.9311 MB / 0.6492 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008349/0.7894, allocations: 3.458 MB / 0.6526 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.7899, allocations: 182.5 kB / 0.6527 GB, free: 3.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.7902, allocations: 48.98 kB / 0.6528 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008144/0.791, allocations: 63.97 kB / 0.6528 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004692/0.7915, allocations: 192.3 kB / 0.653 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/0.7917, allocations: 191.9 kB / 0.6532 GB, free: 3.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001032/0.7927, allocations: 1.027 MB / 0.6542 GB, free: 2.219 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7927, allocations: 0 / 0.6542 GB, free: 2.219 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002602/0.7953, allocations: 0.8591 MB / 0.655 GB, free: 1.359 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.0008402/0.7961, allocations: 446.7 kB / 0.6555 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007034/0.8032, allocations: 3.159 MB / 0.6586 GB, free: 13.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.8032, allocations: 0 / 0.6586 GB, free: 13.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003444/0.8066, allocations: 1.764 MB / 0.6603 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.8084, allocations: 0.5642 MB / 0.6608 GB, free: 11.56 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.6097758221440017]