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.001038/0.001038, allocations: 93.06 kB / 19.65 MB, free: 276 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.001175/0.001175, allocations: 165 kB / 23.01 MB, free: 1.551 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.06/1.06, allocations: 177.1 MB / 203.4 MB, free: 5.188 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.1026/0.1026, allocations: 17.46 MB / 277.4 MB, free: 11.43 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.734e-06/1.734e-06, allocations: 0 / 353.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.811e-05, allocations: 6.25 kB / 353.5 MB, free: 9.852 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.02779/0.02782, allocations: 36.58 MB / 390.1 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2747/0.3025, allocations: 145 MB / 0.5226 GB, free: 3.719 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.305, allocations: 83.31 kB / 0.5226 GB, free: 3.637 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.3091, allocations: 1.221 MB / 0.5238 GB, free: 2.434 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.3138, allocations: 1.594 MB / 0.5254 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.3175, allocations: 1.89 MB / 0.5272 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004992/0.3225, allocations: 3.736 MB / 0.5309 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009643/0.3234, allocations: 0.605 MB / 0.5315 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.3266, allocations: 1.906 MB / 0.5333 GB, free: 8.617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.3286, allocations: 1.426 MB / 0.5347 GB, free: 7.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.3293, allocations: 296 kB / 0.535 GB, free: 6.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.3328, allocations: 1.466 MB / 0.5365 GB, free: 5.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008109/0.3336, allocations: 0.9771 MB / 0.5374 GB, free: 4.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.3352, allocations: 1.095 MB / 0.5385 GB, free: 3.352 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006051/0.3412, allocations: 4.05 MB / 0.5424 GB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3412, allocations: 4 kB / 0.5424 GB, free: 15.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3412, allocations: 0 / 0.5424 GB, free: 15.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.3414, allocations: 0 / 0.5424 GB, free: 15.28 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.005013/0.3464, allocations: 4.117 MB / 0.5465 GB, free: 11.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3464, allocations: 12.03 kB / 0.5465 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.3481, allocations: 1.5 MB / 0.5479 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.3501, allocations: 1.887 MB / 0.5498 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.3503, allocations: 404.8 kB / 0.5502 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/0.3506, allocations: 308.2 kB / 0.5505 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/0.355, allocations: 3.593 MB / 0.554 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.3551, allocations: 192 / 0.554 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.3552, allocations: 128.3 kB / 0.5541 GB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003194/0.3556, allocations: 471 kB / 0.5545 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2515/0.607, allocations: 5.34 MB / 0.5597 GB, free: 25.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.6216, allocations: 12.88 MB / 0.5723 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.6229, allocations: 0.9318 MB / 0.5732 GB, free: 24.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000763/0.6236, allocations: 0.5698 MB / 0.5738 GB, free: 24.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007751/0.6314, allocations: 6.222 MB / 0.5799 GB, free: 23.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.6314, allocations: 56.3 kB / 0.5799 GB, free: 23.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 3.517e-06/0.6314, allocations: 0.7188 kB / 0.5799 GB, free: 23.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=171): time 0.0462/0.6776, allocations: 13.09 MB / 0.5927 GB, free: 22.38 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.001035/0.6787, allocations: 1.063 MB / 0.5937 GB, free: 21.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.6802, allocations: 1.738 MB / 0.5954 GB, free: 21.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.6803, allocations: 53.45 kB / 0.5955 GB, free: 21.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007351/0.6811, allocations: 1.892 MB / 0.5973 GB, free: 20.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.6815, allocations: 0.605 MB / 0.5979 GB, free: 20.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009027/0.6824, allocations: 0.6573 MB / 0.5986 GB, free: 19.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.6824, allocations: 479 kB / 0.599 GB, free: 19.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.684, allocations: 0.998 MB / 0.6 GB, free: 19.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.6858, allocations: 2.101 MB / 0.6021 GB, free: 17.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.6894, allocations: 3.425 MB / 0.6054 GB, free: 15.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.6894, allocations: 7.781 kB / 0.6054 GB, free: 15.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006626/0.696, allocations: 3.981 MB / 0.6093 GB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.696, allocations: 15.12 kB / 0.6093 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.6961, allocations: 30.41 kB / 0.6093 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007771/0.7038, allocations: 2.549 MB / 0.6118 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005226/0.7091, allocations: 1.237 MB / 0.613 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/0.7149, allocations: 9.124 MB / 0.622 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.7166, allocations: 131.1 kB / 0.6221 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/0.7169, allocations: 397.9 kB / 0.6225 GB, free: 3.188 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (255): * Single equations (assignments): 250 * 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.00111/0.718, allocations: 313.5 kB / 0.6228 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/0.7186, allocations: 286.6 kB / 0.623 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008114/0.7267, allocations: 4.552 MB / 0.6275 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7267, allocations: 16 kB / 0.6275 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.7267, allocations: 4 kB / 0.6275 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.7267, allocations: 7.969 kB / 0.6275 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.7385, allocations: 7.484 MB / 0.6348 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.7385, allocations: 4 kB / 0.6348 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005121/0.7436, allocations: 0.8541 MB / 0.6356 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009203/0.7528, allocations: 2.829 MB / 0.6384 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/0.7531, allocations: 99.94 kB / 0.6385 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008487/0.7616, allocations: 9.874 MB / 0.6481 GB, free: 8.516 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.0009863/0.7625, allocations: 0.9232 MB / 0.649 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/0.7689, allocations: 3.47 MB / 0.6524 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.7692, allocations: 182.6 kB / 0.6526 GB, free: 3.824 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.7694, allocations: 39.95 kB / 0.6526 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.77, allocations: 55.97 kB / 0.6527 GB, free: 3.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.7703, allocations: 198.5 kB / 0.6529 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/0.7705, allocations: 203.9 kB / 0.6531 GB, free: 3.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001061/0.7716, allocations: 1.023 MB / 0.6541 GB, free: 2.297 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7716, allocations: 1.094 kB / 0.6541 GB, free: 2.297 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002686/0.7743, allocations: 0.859 MB / 0.6549 GB, free: 1.438 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.0006342/0.7749, allocations: 441.7 kB / 0.6553 GB, free: 1.074 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005176/0.7801, allocations: 3.159 MB / 0.6584 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7801, allocations: 0 / 0.6584 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.7832, allocations: 1.767 MB / 0.6602 GB, free: 12.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7846, allocations: 0.5673 MB / 0.6607 GB, free: 11.64 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695: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.6255210847593844]